Running for sample tc still not passing

prob: https://hack.codingblocks.com/app/contests/2022/544/problem

sol: https://ide.codingblocks.com/s/392183

Hey @raghav007
See the size of the array in question
and then see the one u are allocating
also

If u increase the size to that much everywhere like for b and c also
then it will give u MLE
so only declare the amount of space u actually need by dynamic allocation

See this https://ide.codingblocks.com/s/329173?_ga=2.83249694.944474749.1608534691-1795954092.1597348154
Its ideal implementation of Merge sort

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.