Algo Visualizer
Size:30
1x
Sorting Visualizer

Quick Sort

Step 1 of 5

Quick Sort selects a "pivot" element, partitions the array so elements smaller than the pivot come before it and larger after it, then recursively sorts each partition.

Choose Pivot

Select an element from the array to act as the pivot (commonly the last element).

Pivot ↑