Skip to content

Commit 6b60215

Browse files
authored
Update merge_sort.py
1 parent 6c58be4 commit 6b60215

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sorts/merge_sort.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ def merge_sort(collection: list) -> list:
1818
:return: The same collection ordered in ascending order.
1919
2020
Time Complexity: O(n log n)
21-
Space Complexity: O(n) due to the temporary arrays created during the merging process.
21+
Space Complexity: O(n)
2222
2323
Examples:
2424
>>> merge_sort([0, 5, 3, 2, 2])

0 commit comments

Comments
 (0)