Watch the sorting animation play out, then pick which algorithm you think it is. 5 rounds — can you spot the difference between Bubble, Insertion, Merge and Quick Sort?
Watch the animation — which sorting algorithm is this?
Bubble Sort 🫧
Watch the right side of the array fill up first — the largest elements "bubble" to their final position after each full pass through the array.
Insertion Sort 📌
Watch the left side grow as a sorted section. New elements are inserted into the correct position by shifting others right.
Merge Sort 🔀
Lots of activity across the whole array as sub-arrays are merged together. Movement doesn't follow a simple left-to-right pattern.
Quick Sort ⚡
Look for a "pivot" element — elements jump across the array to either side of it. The pivot's position gets fixed, then the process repeats on each half.