Bubble Sort
A bubble sort is one of the simplest sorts to write. The idea behind a bubble sort is to start at the beginning of the array and swap adjacent elements that are not in order. Repeat this n-1 times where n is the size of the array and the array will be sorted.
Bubble sort animation: http://cathyatseneca.github.io/DSAnim/web/bubble.html
Last updated