Question: Which of the following is a requirement for binary search to work?
Options:
Correct Answer: The array must be sorted
Solution:
The primary requirement for binary search is that the array must be sorted, regardless of whether it contains unique elements or its length.