Segmention fault for 2 test cases

Hey @akshitmehta while taking input linked list you are decrementing the n and m and then before calling adjust head you are comparing them, So, take input using a for loop.

Hey @akshitmehta I hope I have cleared your doubt, if so please mark the doubt as resolved.