Merge sort algo

sir pls tell mee what is wrong with this code iam getting run time error link to code is https://ide.codingblocks.com/s/80130

size of the temp array needs to be changed according to the constraints provided

how much size it should be ,can u tell, but i think size is according to question’s requirements

pls can u optimise it???

hey mam,in this question if size of temp arr is assigned to [h-l+1],even then it’s giving tle,I think there’s something wrong with this problem

you can refer the above code. according to the contraints provided i have declared the size of temp array