Merge 2 sorted LL error?
@kunalarora123 hey kunal your code is not working for such test case like
4
1 2 3 4
0
your output is 1 2 3 4 followed by some garbage value but
expected output is 1 2 3 4
Hey Kunal,
As you are not responding to this thread, I am marking your doubt as Resolved for now. Re-open it if required.
Please mark your doubts as resolved in your course’s “ Ask Doubt ” section, when your doubt is resolved.