Hello sir
I followed up video on merge sort but not getting correct output
please have a look on my code having title “Merge Sort”
please help
thank yo
Merge Sort Code Not Working
hello @icare.pdubey
a) this is not the right way to declare the array
int should be
cin>>n;
int arr[n];
b) also do check the maximum value of n possible and increase ur temp array size accordingly.
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.