What is wrong with my code?
Hey
Here’s your code, just a little error in merge function.
can u please explain…why u did that?
@mayank10
In the current merge function, we’re merging the array from index s to e, so we have to put the merged aarray we have in vector, in the right position of the array, which is s to e.
I hope I’ve cleared your doubt. I ask you to please rate your experience here
Your feedback is very important. It helps us improve our platform and hence provide you
the learning experience you deserve.
On the off chance, you still have some questions or not find the answers satisfactory, you may reopen
the doubt.