Intro to Algorithms
Selection sort is a simple comparison-based sorting algorithm that divides the input list into a sorted and an unsorted section, repeatedly selecting the smallest (or largest) element from the unsorted section and moving it to the end of the sorted section. This process continues until the entire list is sorted. It's known for its straightforward approach but can be inefficient on large lists due to its quadratic time complexity.
congrats on reading the definition of Selection Sort. now let's actually learn it.