Sorting Algorithm Visualizer
An interactive environment built to demonstrate how complex sorting algorithms process data in real-time. Adjust the array size and timing speed, then execute a sort to watch it run.
The Algorithms Explained
Instructions & Color Legend
How to use:
- Use the sliders above to adjust the array size and the animation speed.
- Click New Array to scramble the bars.
- Click Reset Array to reorganize the bars to an unsorted state.
- Select any algorithm to watch it execute in real-time.
What the colors mean:
Unsorted: The default state of a bar.
Comparing: The algorithm is checking these values.
Swapping: The bars are changing places.
Sorted: The bar is in its final, correct position.