mirror of
https://hub.njuu.cf/TheAlgorithms/Python.git
synced 2023-10-11 13:06:12 +08:00
parent
28f1e68f00
commit
a7133eca13
@ -3,7 +3,7 @@ https://en.wikipedia.org/wiki/Shellsort#Pseudocode
|
|||||||
"""
|
"""
|
||||||
|
|
||||||
|
|
||||||
def shell_sort(collection):
|
def shell_sort(collection: list[int]) -> list[int]:
|
||||||
"""Pure implementation of shell sort algorithm in Python
|
"""Pure implementation of shell sort algorithm in Python
|
||||||
:param collection: Some mutable ordered collection with heterogeneous
|
:param collection: Some mutable ordered collection with heterogeneous
|
||||||
comparable items inside
|
comparable items inside
|
||||||
|
Loading…
Reference in New Issue
Block a user