Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Selection Sort is a simple, comparison-based sorting algorithm. It works by dividing the input list into two parts: a sorted and an unsorted section. The algorithm repeatedly selects the smallest (or largest, depending on the order) element from the unsorted section and swaps it with the first unsorted element, effectively growing the sorted section one element at a time.
- Loading branch information