We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d955a84 commit 0e7addbCopy full SHA for 0e7addb
Sorting-Algo/shellsort.py
@@ -10,6 +10,8 @@
10
Hibbard's increments: 1, 3, 7, 15, 31, 63, 127, 255, 511…
11
Papernov & Stasevich increment: 1, 3, 5, 9, 17, 33, 65,...
12
Pratt: 1, 2, 3, 4, 6, 9, 8, 12, 18, 27, 16, 24, 36, 54, 81....
13
+
14
+Time Complexity: O(n**3/2)
15
'''
16
def shellSort(list, n):
17
0 commit comments