Distributing
Sorting bucket
Collected

Controls

Avg: O(n+k) | Worst: O(n²) | Space: O(n+k)

Steps

0 steps

Press Run to trace the algorithm one step at a time.