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

File selection_sort.py

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

Source from the content-addressed store, hash-verified

1def selection_sort(nums):
2 # This value of i corresponds to how many values were sorted
3 for i in range(len(nums)):
4 # We assume that the first item of the unsorted segment is the smallest

Callers

nothing calls this directly

Calls 1

selection_sortFunction · 0.70

Tested by

no test coverage detected