Question:

Which of the following is an example of divide and conquer strategy?

Show Hint

In divide and conquer algorithms, the problem is divided into smaller parts, solved independently, and then recombined.
Updated On: May 3, 2025
  • Hashing
  • Quick sort
  • Dynamic programming
  • Primality testing
Hide Solution
collegedunia
Verified By Collegedunia

The Correct Option is B

Solution and Explanation

The divide and conquer strategy involves dividing a problem into smaller subproblems, solving each subproblem, and combining the results. Quick sort is a classic example of the divide and conquer approach as it divides the array into smaller parts and recursively sorts them.
Thus, the correct answer is \( \text{Quick sort} \).
Was this answer helpful?
0
0