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 without registration, duration hours minute second in high quality. This video was added by user Dev Material 11 July 2017, don't forget to share it with your friends and acquaintances, it has been viewed on our site 920 once and liked it 7 people.