Bubble Sort โ Step by Step Animation
Sorting by repeatedly comparing adjacent values and swapping whenever the left value is larger.
current comparison
swap happens
sorted suffix
0
pass
0
i
0
j
1
j + 1
Press Play to start the sort.