Selection Sort


It sorts an array by repeatedly finding the minimum element from the unsorted part of the array and puts it at the beginning.