We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 3426259 + f2c59c4 commit 8f14fbbCopy full SHA for 8f14fbb
pygorithm/sorting/shell_sort.py
@@ -20,7 +20,7 @@ def sort(List):
20
21
# time complexities
22
def time_complexities():
23
- return '''Best Case: O(nlogn), Average Case: O(depends on gap sequence), Worst Case: O(n)'''
+ return '''Best Case: O(nlogn), Average Case: O(depends on gap sequence), Worst Case: O(n ^ 2)'''
24
25
# easily retrieve the source code of the sort function
26
def get_code():
0 commit comments