MCPcopy Create free account
hub / github.com/TheAlgorithms/Python / selection_sort.py

File selection_sort.py

sorts/selection_sort.py:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1def selection_sort(collection: list[int]) -> list[int]:
2 """
3 Sorts a list in ascending order using the selection sort algorithm.
4

Callers

nothing calls this directly

Calls 2

selection_sortFunction · 0.85
splitMethod · 0.80

Tested by

no test coverage detected