code is working fine for custom input,but getting tle while submitting it
code : https://ide.codingblocks.com/s/126355
TLE Iin mergesort
@shakul your code is just fine, there were very small things that were causing the TLE. I have made a few minor changes in your code. The changes that I have made are on line numbers 6,29 and 41. Here’s the link : https://ide.codingblocks.com/s/126383
Compare your code with it. You will easily understand the changes.
Hope this helps.