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

File exchange_sort.py

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

Source from the content-addressed store, hash-verified

1def exchange_sort(numbers: list[int]) -> list[int]:
2 """
3 Uses exchange sort to sort a list of numbers.
4 Source: https://en.wikipedia.org/wiki/Sorting_algorithm#Exchange_sort

Callers

nothing calls this directly

Calls 2

exchange_sortFunction · 0.85
splitMethod · 0.80

Tested by

no test coverage detected