Binary search requires the list to be:
Correct answer
B. Sorted
12 views
B. Sorted
12 views
Binary search repeatedly divides a sorted list in half. If the list is not sorted, the logic fails. This is why sorting is often done first.
Asked in: Matric,FBISE
Not sure why the answer is B? Ask here and get an explanation.