Merge Sort Implementation in data structure
I’m currently working on implementing the merge sort algorithm in my project, but I’m encountering some difficulties.I’ve written the code for the merge sort algorithm, but it doesn’t seem to be sorting the array as expected. The array remains unsorted after running the function, and I’m not sure where the issue lies.