mirror of
https://github.com/TheAlgorithms/Python.git
synced 2024-11-23 21:11:08 +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
|
||||
:param collection: Some mutable ordered collection with heterogeneous
|
||||
comparable items inside
|
||||
|
|
Loading…
Reference in New Issue
Block a user