In binary search after every pass of the algorithm, the search area:
In binary search after every pass of the algorithm, the search area:
Solution
✅ Correct Option: 2
Binary search compares the target with the middle element of a sorted list. Depending on the result, it discards one half and continues in the other half. So after every pass the search area is reduced by half.
This is why its time complexity is .
Option 4: the one third reduction belongs to ternary search, which splits the range into three parts.
Related questions:
2026: 24 May Shift 1
2025: 27 May Shift 2
2026: 18 May Shift 2
2026: 31 May Shift 1