UGC NET CS 2022Data Structures and Algorithms › Design TechniquesVerified
UGC NET CS 2022 PYQ: Which of the following algorithm design approach is used in Quick sort algorithm?
Which of the following algorithm design approach is used in Quick sort algorithm?
- ADynamic programming
- BBack Tracking
- CDivide and conquerCorrect answer
- DGreedy approach
Answer
(C) Divide and conquer
Approach
Recall the paradigm behind quicksort's partition-and-recurse structure.
Reviewed by UGC IQ Editorial Team.