Linked-List-kappend

why my code only passes two test cases,for rest of the testcases,it gives run time error

Please check on the corner cases because it is not guranteed that k will be less than n.

k = k % n try to make it this way so as to make k smaller than n.

yeah, now it passes all the test cases except one(https://ide.codingblocks.com/s/261992)

Cool. Please mark it resolved if u r happy with our service.