sohamm20 / Hacktoberfest_2022_MMCOE

The purpose of this repository is to help and motivate students to contribute in open source, Also encourage them to complete the hacktoberfest 2022
1 stars 22 forks source link

MergeSort #36

Closed Deven1902 closed 2 years ago

Deven1902 commented 2 years ago

Merge sort works by splitting the input list into two halves, repeating the process on those halves, and finally merging the two sorted halves together.

Time complexity: O(nlogn).