diff --git a/sorts/shell_sort.py b/sorts/shell_sort.py index 10ae9ba40..b65609c97 100644 --- a/sorts/shell_sort.py +++ b/sorts/shell_sort.py @@ -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