Guided lesson

Quick Sort

Sorting

See the input

Intermediate

Input for Quick Sort: Partition values around a pivot, then recursively sort both sides.

Value 32
0
Value 67
1
Value 46
2
Value 86
3
Value 55
4
Value 74
5
Value 41
6
Step 1 Average O(n log n), worst O(n^2) time - O(log n) space
Guided progression
6% lesson
Step 1 / 2Learner goal
Speech settings Speed 1.0 · Volume 90%

Keyboard: Space play/pause · Arrow keys step · Page Up/Down change sections · R restart