This is my attempt at the merge sort problem :
it follows the lecture exactly, although the problem consraints say 10^9 for A[i]… and somehow the code keeps crashing for all values large.
i have tried using long long type to store all values.
Please tell me how i can make this more efficient and accomodate large values.
Thanks!