Bubble sort inspects each element in a sequence X times, moving the largest values to the right on each pass.
Conceptually, it divides an array set in sorted (right) and unsorted sections (left), where the sorted section
grows on each pass.
Time Complexity: O(N²).