LIVE SIMULATIONElapsed 0 s · Live physics engine
Change sliders to run new experiments
Switch among Bubble, Insertion and Quick to compare operation counts.
Compare algorithmic sorting strategies as bars are reorganised in real time.
Each frame executes actual comparisons and swaps made by the chosen algorithm.
Bubble: O(n²) • Insertion: O(n²) • Quick: O(n log n) avg
Select quicksort, randomise an array and watch partitions evolve.