14 May 2021 - Hadron DaVinci
Sort the given array with Merge Sort:
A = [5, 2, 4, 6, 1, 3] merge_sort(A) assert(A) == [1, 2, 3, 4, 5, 6]
Given if array has more than one item
Time Complexity: N log(N) Space Complexity: N Stable
method1.py method2.py