It is showing run time error .When i submit the code
Doubt in "Merge sort"
When i increase the size of temp array it show timelimit
When i take the length of temp and input array equal , It works fine when the length of array was less than 5 but when i give the length 5 and greater to the 5 it shows garbage value.!
Capture|690x311
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.