mirror of
https://github.com/TheAlgorithms/Python.git
synced 2024-10-06 05:39:30 +00: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