Correct answer: A. The collection must already be sorted
Explanation
Binary search requires the input to already be sorted, since it relies on repeatedly halving the search range based on comparisons.
Practise 3 questions on this topic
Take Sorting & Searching — Timed Test (3 questions) — scored instantly, explanation for every question, no login.