Merge sort recursion

getting TLE in two case

hey @sam15jain, as constraints are high, increase the size the of temp array. Also in line 9 make it >= instead of >.
Here is your updated code with changes mentioned as comments.

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.

still its showing run error

This answer is accepted.