Skip to content

Commit 22770e5

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent cc84768 commit 22770e5

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

sorts/shell_sort.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
https://en.wikipedia.org/wiki/Shellsort#Pseudocode
33
"""
44

5+
56
def shell_sort(collection: list[int]) -> list[int]:
67
"""
78
Sort a list of integers using the Shell Sort algorithm.
@@ -27,4 +28,4 @@ def shell_sort(collection: list[int]) -> list[int]:
2728
j -= gap
2829
collection[j] = insert_value
2930

30-
return collection
31+
return collection

0 commit comments

Comments
 (0)