Binary Search — Step by Step Animnation
Finding target 26 in a sorted list. Watch how the search space shrinks in half every step — that's what makes binary search fast!
low
mid
high
discarded
found!
26
target
-
low
-
high
-
mid
Press Start to begin the search.