Sorting Algorithms
// Watch arrays get sorted — one comparison at a time
Size
50
Speed
5
Ready to sort
Default
Comparing
Swapping
Sorted
Pivot
Best Case:
O(n)
Average Case:
O(n²)
Worst Case:
O(n²)
Space:
O(1)
Stable:
Yes