array · target · pointers
Search Algorithm Visualizer
Step through linear, binary, jump, interpolation, exponential, and ternary search — watch the pointers move and see exactly why each index is kept or ruled out.
Pick an algorithm and press Play, or step through manually.
step 0 / 0
comparisons 0
n = 16
Pseudocode
Reading the bars
in range
comparing
pivot / mid
found
ruled out
About this algorithm