uccser/cs-field-guide

View on GitHub
csfieldguide/chapters/content/en/glossary/selection-sort.md

Summary

Maintainability
Test Coverage
# Selection sort

A sorting algorithm; Select the smallest item, then the second smallest, and so on.
This is not a very fast algorithm, but it’s not as bad as bubble sort, and provides a good contrast with quicksort.