which cases are failing?
Linked List-K Append 2/4 correct
@mddanish
You have not worked for the testcases when K is greather than N.
Input :
7
1 2 2 1 8 5 6
10
Expected Output :
8 5 6 1 2 2 1
Your Output :
1 2 2 1 8 5 6
Consider taking the modulo of k with n.