Skip to content

Commit 0531b5d

Browse files
committed
Added Shell Sort
1 parent 55477ca commit 0531b5d

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

ShellSort.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
def shellSort(inpList):
22

33
gap = len(inpList) // 2
4+
45
while gap > 0:
56

67
for i in range(gap, len(inpList)):

0 commit comments

Comments
 (0)