Sorting Algorithms Visualization

CS 10C — Data Structures & Algorithms

Selection Sort

2x

Insertion Sort

2x

Heapsort (Max-Heap)

2x

Merge Sort

2x
Recursive call tree above — each row is one recursion depth. Yellow = active, Cyan = merging, Green = done. Aux array below.

Quicksort

2x
Partition tree — each row shows one recursive call. Yellow = active range being partitioned, Pink = pivot, Green = in final sorted position.

Bucket Sort

2x

Radix Sort

2x
Radix sort distributes items into buckets by digit, starting from the least significant digit.