Compare two neighbours and swap them if they are in the wrong order. Big ones "bubble" to the right.
steps 0 · compares 0 · moves 0
Amber = being compared. Keyboard: space run/pause, N one step.
Compare two neighbours and swap them if they are in the wrong order. Big ones "bubble" to the right.
steps 0 · compares 0 · moves 0
Amber = being compared. Keyboard: space run/pause, N one step.