Merge Sort Recursion exercise

code: https://ide.codingblocks.com/s/77180
I am getting TLE in the merge sort. How can I optimize it