Programming Algorithms For Beginners - Selection Sort
The Bubble Sort algorithm is one of the simplest and noob friendly sorting algorithms out of the bunch. The algorithm is used to sort a sequence of numbers and it works by starting at the right end of the sequence with essentially a scale and compares numbers on the left and right sides of the scale. If the number on the right is smaller than the one on the left, the numbers get swapped. The scale moves one index to the left and repeats the same steps. When the scale reaches the left end of the array, it will move back to the right end and repeat the whole process again until the sequence of numbers is considered sorted.
***
Check out my blog post where I explain the bubble sort in detail and provide a code example with Javascript!
http://www.devmaterial.co/2017/06/13/...
Watch my CodeFights playlist where I solve and explain Javascript algorithms.
• CodeFights Intro Algorithms - Century...
***
Follow me on Twitter! / devmaterial
Take a look at my Github! https://github.com/DevMaterial
Watch video Programming Algorithms for Beginners - Bubble Sort online, duration hours minute second in high quality that is uploaded to the channel Dev Material 11 July 2017. Share the link to the video on social media so that your subscribers and friends will also watch this video. This video clip has been viewed 920 times and liked it 7 visitors.