🎯 Sorting Algorithm Visualizer

50
5
0
Comparisons
0
Swaps
0ms
Time
Bubble Sort

Bubble sort repeatedly steps through the list, compares adjacent elements and swaps them if they are in the wrong order.

Best Case: O(n)
Average Case: O(n²)
Worst Case: O(n²)
Space: O(1)