Don't like this style? Click here to change it! blue.css
Implement selection sort, both on an array and on a linked list.
https://en.wikipedia.org/wiki/Selection_sort
The idea is to find the smallest element and move it to the first spot. Then find the remaining smallest element and move it to the next spot. Repeat until the list is full.