Bubble Sort Algorithm: How to Develop Your Computational Thinking
Too Long; Didn't Read
The Bubble Sort Algorithm: How to Develop Your Computational Thinking. The algorithm is based on a simple sorting algorithm 'the bubble sort' It is called bubble sort because the biggest numbers are the first to move to the correct place, and they go up like bubbles in the water. We will use a simple algorithm to sort an array of numbers from smallest to largest. We repeat the smallest step 'comparisons' as many times as needed, so that should be inside a loop that repeats until we finish one pass.