skip to content

sorting visualizer / Divide and conquer

projects

Quick Sort

Picks a pivot (median of three), partitions around it, then recurses into each side.

best
O(n log n)
average
O(n log n)
worst
O(n²)
space
O(log n)
stable
no
comparisons
0
writes
0
progress
0%
values
320
colours
Accent
Bubble Sort
Cocktail Shaker Sort
Odd-Even Sort
Comb Sort
Gnome Sort
Exchange Sort
Selection Sort
Double Selection Sort
Heap Sort
Cycle Sort
Pancake Sort
Insertion Sort
Binary Insertion Sort
Shell Sort
Quick Sort
Quick Sort (Lomuto)
Quick Sort (3-way)
Merge Sort
Merge Sort (bottom-up)
Intro Sort
Tim Sort (simplified)
Bitonic Sort
Odd-Even Merge Sort
Radix Sort (LSD)
Radix Sort (MSD)
Counting Sort