Divide & Conquer


Your answer
Answer & solution
Answer: C (no official key was published)
Quicksort chooses a pivot, partitions the input into regions ordered relative to it, and recursively sorts those smaller regions. The resulting subproblem solutions combine to give the sorted whole, so the design is divide and conquer. It does not cache overlapping subproblems as dynamic programming does, and it does not search and undo candidate solutions as backtracking does. Good or bad pivot choices affect the balance and complexity, not this classification.