diff --git a/sorts/merge_sort.py b/sorts/merge_sort.py index 0628b848b..2da660049 100644 --- a/sorts/merge_sort.py +++ b/sorts/merge_sort.py @@ -18,6 +18,7 @@ def merge_sort(collection: list) -> list: :return: The same collection ordered in ascending order. Time Complexity: O(n log n) + Space Complexity: O(n) due to the temporary arrays created during the merging process. Examples: >>> merge_sort([0, 5, 3, 2, 2])