VISUALGO
//
Problems
Playground
Learn
/
Playground
Sorting
Quick Sort
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
SPEED — 20
RUN
ELEMENTS
SET
NEW SHUFFLE
READOUT
step
0 / 23
comparisons
14
swaps
8
status
IDLE