Which of the following search algorithm uses divide and conquer technique?
Which of the following search algorithm uses divide and conquer technique?
Solution
✅ Correct Option: 2
Binary search divides the sorted list in half at each step by comparing the key with the middle element. It then discards one half and repeats the search on the other. Splitting the problem into smaller subproblems like this is the divide and conquer technique, and it gives a time complexity of .
Option 1: linear search checks elements one by one, with no division of the problem.
Option 3: hashing computes the position of a key directly from a hash function, so it does not split the data.
Related questions:
2026: 11 May Shift 2
2026: 18 May Shift 2
2026: 23 May Shift 1
2026: 29 May Shift 2
2026: 18 May Shift 2