Question: What must be true about the data structure for binary search to work?
Options:
Correct Answer: The data must be sorted.
Solution:
For binary search to work, the data must be sorted. This allows the algorithm to effectively eliminate half of the search space with each comparison.