pravocodes / Hacktoberfest2024

26 stars 250 forks source link

Merge Sort Algorithm Implementation #45

Closed KUNALCHOURE closed 1 month ago

KUNALCHOURE commented 1 month ago

Implemented the Merge Sort algorithm to efficiently sort an array by dividing the input array into two halves, sorting them recursively, and then merging the sorted halves. This algorithm follows the divide-and-conquer approach, ensuring a time complexity of O(n log n).This addition enhances the repository by providing a widely-used and fundamental sorting technique.