AlgoViz

Binary search

easy 16 min

Binary search finds a value, a boundary or an insertion point in sorted data by checking the middle and discarding the half that cannot hold the answer.

Practice

3 problems with hidden tests. Python runs in your browser.

Loading problem…
Loading problem…
Loading problem…