you are here->home->Class 12->Merge Sort
Merge Sort
1)What is the purpose of the mergeSort function?

2)What is the purpose of the merge function?

3)What is the time complexity of the mergeSort function?

4)What does the line m = l+(r-l)//2 do?

5)What is the value of n at the end of the program?

6)What is the purpose of the L and R arrays?

7)What does the line arr[k] = L[i] do?

8)What is the purpose of the i and j variables?

9)What type of sorting algorithm is Merge Sort?

10)What is the main advantage of Merge Sort compared to other sorting algorithms?