VISUALGO//SORT
quick sort · sorting trace console · O(n log n)
● PIVOT   ● COMPARING   ● SWAPPED   ● SORTED
Goal:Rearrange all elements in ascending order using quick sort.
7
3
6
4
1
8
2
5
ELEMENTS
READOUT
step0 / 23
comparisons14
swaps8
statusIDLE