Sorting
- How do the following sorts work?
- What are their names?
- How fast are they?
- Sort 1 is selection sort, runs in quadratic time, N2
- Sort 2 is insertion sort, runs in quadratic time, N2
- Sort 3 is shellsort, in general faster than N2, about N(3/2) time.
Comments?