mirror of
https://github.com/TheAlgorithms/Python.git
synced 2025-12-19 02:07:27 +08:00
committed by
GitHub
parent
a7133eca13
commit
8c23cc5117
@@ -11,7 +11,7 @@ python selection_sort.py
|
||||
"""
|
||||
|
||||
|
||||
def selection_sort(collection):
|
||||
def selection_sort(collection: list[int]) -> list[int]:
|
||||
"""Pure implementation of the selection sort algorithm in Python
|
||||
:param collection: some mutable ordered collection with heterogeneous
|
||||
comparable items inside
|
||||
|
||||
Reference in New Issue
Block a user