VISUALGO//SORT
bubble sort · sorting trace console · O(n²)
● COMPARING   ● SWAPPED   ● SORTED
Goal:Rearrange all elements in ascending order using bubble sort.
1
6
7
4
2
3
8
5
ELEMENTS
READOUT
step0 / 38
pass1
comparisons22
swaps11
statusIDLE