Partially Accepted

What is the mistake in code ??

I tried the code in solution also, it is not accepting it too.

@saiyamgoyal1903 if k==n print link list as it is and if k>n k=k%n its not mentioned but you have to do this.
dont forget to mark the doubt resolved and hit like if cleared :smiley:

Can u check my latest code ?

@saiyamgoyal1903 there are lots of code and in one you received 100 cant figure which code needs checking , so please send your code here through ide link

https://ide.geeksforgeeks.org/G75QL7eCS7

@saiyamgoyal1903 it is not mentioned what to do if k>=n but acc to testcases k can be greater than equal n so do the following two things
if k>n k=k%n and for k==n just print linklist as it is.
dont forget to hit like and mark the doubt as resolved if cleared :smiley: