selection sort

How selection sort works – A detailed explanation

Introduction Probably the most crude sorting technique, and also the most in-efficient one. But it's important, because until we know the worst we can't understand the importance of the good and the better. So let us try to find out, how selection sort works. Purpose of the article We will try to understand here, how selection sort works and how is the nature of input affecting the running time of this algorithm. Why this is a crude way of sorting and its advantages and dis-advantages. Idea behind Selection Sort As the name suggests, there is definitely something to select. Lets assume we...
Read More