D1: Bubble Sorts
- Created by: liam grazier
- Created on: 27-03-13 19:16
Fullscreen
Compare the first and second number, if they are in the wrong order, switch them, then copy the second line with switched number, and note the comparison and swap.
Compare second and third, and swap if they are in the wrong order, then note an additional comparison and swap.
compare third and forth and swap if they are in the wrong order, then note an additional comparison and swap.
compare…
Comments
No comments have yet been made