My issue
Rearrange the following code
MERGE-SORT(A, left, middle)
if left < right
middle = (left + right) / 2
MERGE-SORT(A, left, right)
MERGE-SORT(A, middle + 1, right)
MERGE(A, left, middle, right)
In the above MERGE-SORT(A, left, right) should be MERGE-SORT(A, left, middle) and the quiz will always result in wrong answer
Learning course: Searching and Sorting Algorithms
Problem Link: Merge Sort in Searching and Sorting Algorithms