About Sorting Algorithm Visualizer
This tool visualizes sorting execution with algorithm switching, size/speed controls, step-by-step playback, and operation metrics.
Key Features
- Algorithm Switching: Compare multiple sorting strategies visually.
- Data Controls: Size and initial pattern selection.
- Execution Controls: Start, pause, step, reset.
- State Highlighting: Compare/swap/overwrite/pivot/sorted states.
- Metrics Panel: Comparisons, swaps, writes, and progress.
Steps
- Choose algorithm and data pattern.
- Set data size and speed.
- Generate and start visualization.
- Compare metrics across algorithms.
Use Cases
- Algorithm teaching and interview explanation.
- Visual comparison of strategy behavior.
- Learning complexity through operation counts.
FAQ
Why does runtime feel different each run?
Input pattern, browser load, and rendering overhead can vary perceived runtime.
What is step mode best for?
It helps inspect critical comparison/swap paths in detail.