What’s wrong with my code??
Merge Linked List
I am trying to submit but it passes for only one case and fails for other
Okay I’ll debug it and let you know, till then you can do your next question.
Make your if else statements like this 
It still doesn’t work
It was working for this sample case earlier also but when I try to submit the code it fails. I am attaching a screenshot for your reference.

Please attach screenshot so that I can see what issue you are facing

