Eric
Created page with "== Bubble sort == '''What is bubble sort?''' Bubble sort is another way of sorting. Its code is easier than selection sort, and its speed is also faster. What we want to do in bubble sort is that we compare the first two elements, and see if we need to swap it. Then we compare the second and third, then the third and fourth, and so on and so on until we compared the whole list. If we didn't need to swap at all, then the list is sorted and we can return it. If not, go..."