We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 75e9485 commit 1fcf2f0Copy full SHA for 1fcf2f0
1 file changed
Data Structures and Algorithms/Sorting Algorithms/shell_sort.py
@@ -1,6 +1,6 @@
1
def shell_sort(arr):
2
n = len(arr)
3
- gap = n // 2 # gap size
+ gap = n // 2 # gap size
4
5
while gap > 0:
6
for i in range(gap, n):
0 commit comments