Question 5
Back to Exercise
What must be true of a list before you can binary-search it?
- A It must have an even length
- B It must contain unique numbers only
- C It must be sorted Correct
- D It must be a tuple
Correct Answer: Option C
Each step discards half the range based on the ordering.
Discussion & Comments 0
Share your method, a shortcut, or ask about a step you didn't follow.
No comments yet. Be the first to share your solution!