- Selection sort takes O(n2) time.
- It actually takes n*(n+1)/2 time (n2+n / 2), however since we don't care about constants, it is n2
- Selection sort is a neat algorithm, but it's not very fast. Quicksort is a faster sorting algorithm that only takes O(n logn) time.