Please check the code below
Passing only 1 test case
Linked List-K Append - WA
ur code will not work for
if k is greater than n
also if k is less than n
take case of these two case
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.