shikaruki / Hactoberfest2021

Hacktoberfest2021
43 stars 372 forks source link

Added the code of Merge Sort #413

Open KunjMaheshwari opened 2 weeks ago

KunjMaheshwari commented 2 weeks ago

Resolved Issue #401

MergeSort Algorithm - Merge sort is a sorting algorithm that follows the divide-and-conquer approach. It works by recursively dividing the input array into smaller subarrays and sorting those subarrays then merging them back together to obtain the sorted array. Time complexity - O(nlogn)

KunjMaheshwari commented 2 weeks ago

I’ve resolved issue #401 in my pull request, and this is my first contribution to open source. I would greatly appreciate your review and consideration for merging it. Thank you!