Selection Sort repeatedly selects the minimum element from the unsorted portion and places it at the beginning.
Search the unsorted part of the array to find the minimum element.