Not getting the desired output
Merge two sorted linked list
@udatta i know the problem name i asked for link.
anyway knowing the problem you should use insert at Tail while taking input else your elements will not store in sorted order hence may give you wrong answer.
here is the link of the solution that I have done
in the first message you have sent the same link.i asked for problem link but forget that.
try doing the things i have told in previous reply.
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.