Merge Sort giving segmentation fault
i cant figure out what is wrong in my code
@anubhavb11 in your llmid function, you are not checking if slow is NULL or not and also if fast->next is NULL or not before accessing them.
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.
i have added if statement now it is giving segmentation fault.
code- https://ide.codingblocks.com/s/239255