← Back

Selection Sort

Select minimum and place at front repeatedly.

sortingselection-sortUpdated 2025-09-01

Complexity

  • Time O(n^2)
  • Space O(1)

Note

  • Not stable by default