Merge Sort Algorithm
Merge Sort algorithm is a Divide and Conquer algorithm. It divides the input array into two halves, calls itself for the two halves, and then merges the two sorted halves. Merge Sort algorithm is one of the most respected sorting algorithms, with a worst-case time complexity of O(nlogn). Merge sort works by dividing the array repeatedly to ...