No discussion yet
Be the first to start the discussion.
Select Answer
Binary search has a bug — it should always find existing elements
Binary search only works for arrays with power-of-two sizes
The array is not sorted — binary search requires a sorted array to work correctly
The key 15 is at an odd index, which binary search skips