Рет қаралды 1,840
Sorting is a really essential concept when it comes to computer programming. Selection sort is one of the 3 beginner sorting algorithms which can be used to arrange a set of elements in a certain pre-defined manner. As the name suggests, at every iteration, you “SELECT” an element and place it at its right position. But how do you select it? And where do you place it? Watch this video to see a visual explanation of what happens behind the scenes of Selection Sort with a live demo and a dry-run of the code.
00:00 - Intro
00:58 - Different sorting methods
02:02 - Live demo of Selection Sort
07:40 - Actual code dry-run
11:58 - Final thoughts
📚 Links I talk about in the video:
Insertion Sort: • Insertion Sort visuali...
Bubble Sort: • Bubble Sort Algorithm ...
📘 A text based explanation is available at: studyalgorithms.com/array/sel...
🔗 To see more videos like this, you can show your support on: www.buymeacoffee.com/studyalg...
💻 Get Social 💻
Follow on Facebook at: / studyalgos
Follow on Twitter at: / studyalgorithms
Follow on Tumblr at: / studyalgos
Subscribe to RSS feeds: studyalgorithms.com/feed/
#algorithms #sorting #tutorial