Insertion Sort vs. Selection Sort
Selection Sort: Given a list, take the current element and exchange it with the smallest element on the right hand side of the current element. Insertion Sort: Given a list, take the current element and insert it at the appropriate position of the list, adjusting the list every time you insert. It is similar to … Read more