Find the condition that holds FALSE for binary search:
Find the condition that holds FALSE for binary search:
Solution
✅ Correct Option: 2
Binary search works only on a sorted list. It compares the key with the middle element and discards half of the list each time, which is valid only if the order of elements is known. Requiring an unordered list is therefore false.
Options 1, 3 and 4: all are true steps of binary search (sorted list, find the middle value, compare the middle element with the key).
Binary search takes time, while linear search works on unsorted lists but takes time.
Related questions:
2026: 23 May Shift 2
2026: 29 May Shift 1
2025: 22 May Shift 1