Sorting Lab

Algorithm visualizer

Quick Sort

Partitions values around a pivot, then recursively sorts each side.

Complexity

Run

Step through the array

After partitioning, every value left of the pivot is smaller and every value right is larger.

setup
9
4
7
2
8
1
6
3
5

Step 1 / 38: Partition around a pivot, then recursively sort the left and right partitions.

0%