Sir/Ma’am please check the code I’ve tried it for different values and it’s working but on submission all test cases are failing.
Merge Sort Run Error
Thanks sir it has worked but why does changing the size of the temp array help here? My code was running fine for many custom inputs that I gave
…
in test cases , input size is large , so 100 size array is not sufficient to handel that hence i changed the size.
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.