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.
1 parent 3426259 commit f2c59c4Copy full SHA for f2c59c4
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