Step-by-Step Mode
Execute sorting one step at a time with pseudocode highlighting
Step: 0 / 0
Generate an array and start stepping.
Comp: 0
Swaps: 0
Comparing
Swapping
Sorted
Pseudocode
Algorithm Race
Race algorithms against each other on identical data
2 racers ready
Benchmark
Run performance tests at full speed for objective comparisons
Select Algorithms
Average:
Full
Report:
Custom Algorithm Sandbox
Write your own sorting algorithm in JavaScript
API:
arr await compare(i,j) await swap(i,j)
await sleep(ms) stats.comp stats.swap
Comp: 0
Swaps: 0
Analytics & Encyclopedia
Complexity charts, session statistics, and algorithm reference
Complexity Comparison
Time complexity of all algorithms (log scale)
Best
Average
Worst
Session Statistics
Your activity this session
Total Sorts
0
Comparisons
0
Swaps
0
Most Used
—
Algorithm Encyclopedia
Quick reference for any algorithm
Best Time—
Average Time—
Worst Time—
Space—
Stable—
In-Place—
Select an algorithm to see details.
Data Export
Export your session data
Includes all sorts, benchmarks, and race data from this session.