Interactive DSA and system design

Learn complex engineering ideas by watching them move.

64stepsO(n log n)averageO(log n)space

Sorting lab

Quick Sort Partition Flow

Step 1 / 64
64
0
28
1
88
2
12
3
52
4
96
5
36
6
72
7
44
8
8
9
Comparing Pivot / Mid Swapping Sorted / Found Active Range
Space play / pause stepR reset