Selection Sort

This is the continuation of the last article on bubble sort. If you didn’t read it you can read it clicking here. Another algorithm that is usually better than bubble sort is called selection sort. The idea is also very simple. You conceptually separate the list in two parts, the sorted one and the unsorted… Continue reading Selection Sort