Skip to content

Commit 513ed29

Browse files
authored
Update adaptive_merge_sort.py
1 parent b17141a commit 513ed29

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

sorts/adaptive_merge_sort.py

-2
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,6 @@ def adaptive_merge_sort(sequence: list) -> list:
2222
print(f"Sorted sequence: {sequence}")
2323
return sequence
2424

25-
2625
def adaptive_merge_sort_helper(array: list, aux: list, low: int, high: int) -> None:
2726
"""
2827
Helper function for Adaptive Merge Sort algorithm.
@@ -48,7 +47,6 @@ def adaptive_merge_sort_helper(array: list, aux: list, low: int, high: int) -> N
4847
return
4948
merge(array, aux, low, mid, high)
5049

51-
5250
def merge(array: list, aux: list, low: int, mid: int, high: int) -> None:
5351
"""
5452
Merges two sorted subarrays of the main array.

0 commit comments

Comments
 (0)