its not passing all test cases
please help
Linked list k append
@gulatigarvita08 ans exists for k>=n also
if k=n then you have to print linklist as it is
if k>n you have to do k=k%n then solve normally as k is now less than n
hope its cleared if yes donβt forget to mark the doubt resolved and hit like 
1 Like
But where its given that we have to do k%n when k>n. Like how would we get to know about the same