Search Algorithms Visualizer

Explore Linear Search, Binary Search (Iterative) and Binary Search (Recursive).

Choose Visualization

Linear search works on any array. Binary search requires the array to be sorted (we auto-sort it for you).

Try Your Own Data

For Binary Search modes we sort the array internally: [4,1,9,7,3,11] → [1,3,4,7,9,11].

Structure

Step log will appear here…

Code (highlighted)

Speed: 0.9s
Step 0 / 0