Unsorted
Comparing
Swapping
Sorted

Controls

Time: O(n²) | Space: O(1)

Stats

0 steps

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