What algorithmic design paradigm is employed by MergeSort and QuickSort?

Answer and explanation

Correct answer: C. Divide and conquer

  1. Step 1: Examine how MergeSort and QuickSort solve sorting: break problems into smaller subproblems, solve recursively, and combine answers.
  2. Step 2: This classic three-step sequence (Divide, Conquer, Combine) defines the divide-and-conquer paradigm.
Answer
Divide and conquer.
Why not the others: Greedy methods make locally optimal choices; dynamic programming solves overlapping subproblems via memoization; branch and bound is for optimization search trees.

Practise more Algorithms and Python Programming.

Free questions with an explanation for every one, and full timed EmSAT Achieve (UAE) mock tests.