O(n^2)
Bubble Sort
Repeatedly compares adjacent values and moves larger values toward the end.
StableIn-placeO(1)
Algorithms
One visual model for adjacent swaps, selected minimums, insertion shifts, merge writes, pivot partitions, and heap extraction.
Visualizer set
Repeatedly compares adjacent values and moves larger values toward the end.
Selects the smallest remaining value and places it at the front.
Builds a sorted prefix by inserting each new value where it belongs.
Splits the array, sorts each half, then merges sorted halves.
Partitions values around a pivot, then recursively sorts each side.
Builds a max heap, then repeatedly extracts the largest value.
Growth
Browser timing can be noisy, so this lab starts with theoretical operation counts. The shape is the concept.