Sorting
How do the following sorts work?
Selection Sort, runs in quadratic time, N
2
sort1
Insertion Sort, runs in quadratic time, N
2
sort2