Selection Sort
Selection sort is a simple sorting algorithm that repeatedly finds the minimum element from the unsorted portion of a list and places it at the beginning. The algorithm divides the array into two parts, sorted and unsorted. It iterates through the unsorted part, selecting the smallest element and swapping it with the first element of the unsorted section.
7 connections Built by Tim Jones