Coding tools
Learn & compete
Community
Practice
O(log n) target lookup.
Constraints
Example
>>> binary_search([1,2,3,4,5], 3) 2
Recent Submissions
No submissions yet — hit Run Tests to try!
Hints