Binary Search

Algorithm Visualizer
First -
Mid -
Last -
Instructions
Step 1: Enter comma-separated numbers and click Load Array. A sorted copy is created automatically.
Step 2: Enter the Key Value you want to search for.
Step 3: Use Step Forward or Auto Play to trace the algorithm.
Controls
Array Input
Key Value
Visual Console
Original Input Array
No array loaded yet
↓ SORTED FOR BINARY SEARCH ↓
Active Search Array
Load an array to begin
Visualization will appear here
System ready. Please load an array.
Algorithm Steps