Flowcharts: Bubble SortFlowchart INDEX
The bubble sort is a really slow sort unless the list is already sorted, then
it can finish fast. It compares 0 and 1 and swaps if out of order, then 1
and 2, etc.
Notice that swap uses pass by reference.
Click next to step through the algorithm one step at a
Like us on Facebook: