MYSIMULATOR
20 INTERACTIVE LABS← Explore gallery
Algorithms / Computer Science

Sorting Race: Operations Unfolded

Compare bubble, insertion and selection sorting on the same shuffled data.

LIVE SIMULATION
0.0 s
Metric
—
Metric
—
Metric
—
The science beneath it

How this simulation works

All algorithms sort identical input arrays using comparisons and swaps or shifts. The running counters reflect real algorithmic operations rather than a simulated progress bar.

Ideas to explore

Key concepts

Same array across three algorithms
Operation-by-operation execution
Compare time complexity
Made with 🤖 ChatGPT