Question DSA-SRCH-0076
HardHow does binary search behave on an array with duplicates when you want any match?
- A.
It fails
- B.
It finds some matching index, but not necessarily the first or last
- C.
Sign up free to see the answer and a step-by-step explanation.