Interactive practice

Guided binary search — pick the probes

Each step asks for the middle index of the current range [low, high]. Wrong taps explain the rule; reveals show how comparisons shrink the range.

Want the full engine, scaling slider, and code panels? Open the binary search playground.

Step 1 of 1