Selection Sort
- Find the smallest value in the unsorted portion
- Swap the value to the index after the end of the sorted portion
- Repeat until the unsorted portion is empty
Worst case:
- Each pass of the array is
- Up to
passes required to sort the list
Worst case: