Binary search requires the list to be:

  1. short
  2. sorted
  3. made of strings only
  4. unsorted
Answer

B) sorted

Binary search halves a sorted range; on unsorted data it gives wrong answers. SLO CS-11-B-02

Computer Science MCQ · More Unit 2: Computational Thinking and Algorithms MCQs · Practise