Sorting Algorithm Comparison

Bubble O(n²), Merge O(n log n), Quicksort O(n log n) avg, Heapsort O(n log n) — all racing on the same shuffled array. Watch comparisons and swaps in real time.

Speed: 20ms delay
Bubble
0 cmps
Merge
0 cmps
Quick
0 cmps
Heap
0 cmps