Bubble Sort
The bubble sort is one of the simplest sorts you can write, from a developer’s perspective. Unfortunately, it is one of the slowest to run from the computer’s perspective. A Bubble Sort works on the following idea. Given a list of values, start at the top value, and look at the next value. If the…