SIR, IN THE QUESTION IT IS GIVEN THAT THE LIST IS SORTED . IN THE EXPLAINATION OF MY DOUBT 15 MIN AGO BY @SAURABH JOSHI YOU HAVE GIVEN AN UNSORTED LIST WHICH IS IN MY SENSE NOT MATCHING THE CRITERA IN THE QUESTION
REGARDING THE DOUBT ONE EXPLAINATION
Yes the example he took was not sorted but the approach he explained is correct. Follow his approach.
CAN YOU PLEASE CLEAR MY DOUBT… MY CODE IS SHOWING “MLE” ERROR BUT IS WORKING FINE WITH ALL THE INPUTS I HAVE APPLIED
You are getting MLE because you are forming 3 seperate Linked Lists. You have to solve this problem just by using the 2 linked lists given in the input.
There must also be a video lecture on this. You must watch that if you are facing difficulty in understanding.
For that follow this approach
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.