Skip to content

Commit 5192147

Browse files
committed
Done
1 parent 31ebe35 commit 5192147

File tree

5 files changed

+6
-6
lines changed

5 files changed

+6
-6
lines changed

BubbleSort.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@
77
88
Average Time Complexity [Big-theta]: O(n^2)
99
10-
Space Complexity: O(1)
11-
'''
10+
Space Complexity: O(1)
11+
'''
1212

1313
# Based off of Geeks for Geeks Bubble sort example: https://www.geeksforgeeks.org/bubble-sort/
1414
# Another source: https://www.studytonight.com/data-structures/bubble-sort

InsertionSort.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
88
Average Time Complexity [Big-theta]: O(n^2)
99
10-
Space Complexity: O(1)
10+
Space Complexity: O(1)
1111
'''
1212

1313
# Based off of Geeks for Geeks Insertion sort example: https://www.geeksforgeeks.org/insertion-sort/

MergeSort.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
66
Best Case Time Complexity [Big-omega]: O(n*log n)
77
8-
Average Time Complexity [Big-theta]: O(n*log n)
8+
Average Time Complexity [Big-theta]: O(n*log n)
99
1010
Space Complexity: O(n)
1111
'''

QuickSort.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
88
Average Time Complexity [Big-theta]: O(n*log n)
99
10-
Space Complexity: O(n*log n)
10+
Space Complexity: O(n*log n)
1111
'''
1212

1313
# Based off of Geeks for Geeks Bubble sort example: https://www.geeksforgeeks.org/quick-sort/

sortingAlgorithmVisualizer.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ def GenerateNewArray():
6666
def StartSortingAlgorithm():
6767
global data
6868

69-
# If data is empty then return out of it
69+
# If data is empty then return out of it
7070
if not data:
7171
return
7272

0 commit comments

Comments
 (0)