Output is correct but given due to given range it gives tle

https://ide.codingblocks.com/s/241590 please add the necessary change in this code

Hey
Try doing this-
Make f array(which you’re using to store merged array) of size n, it would work then.

https://ide.codingblocks.com/s/241590 still it gives tle , when i pass size as a parameter then it gives garbage value

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.