MMYSIMULATOR / 2D LAB← All simulations
Interactive science · Algorithms

Sorting Algorithm Race Track

Compare bubble sort, insertion sort and selection sort as they reorder a random array of bars.

INDEPENDENT SIMULATION
LIVE EXPERIMENT● RUNNING
Drag or tap the canvas where supportedReal-time model · HTML5 Canvas

What is happening?

Each bar represents a value. The selected algorithm compares values and moves them into ascending order. The highlighted bars are the current comparison or insertion position; the speed slider changes how many operations are executed per animation frame.

Made with 🤖 ChatGPT