Bubble Sort Algorithm: How to Develop Your Computational Thinking

Written by Kitpao | Published 2020/06/01
Tech Story Tags: computational-thinking | algorithms | bubble-sort | thinking-strategies | coding | bubble-sort-algorithm | complicated-is-simple | hackernoon-top-story

TLDR 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.via the TL;DR App

no story

Written by Kitpao | I'm an engineer with a great interest in programming!
Published by HackerNoon on 2020/06/01