Run-error in 3 test cases

Sir/Mam

  1. What it means when k > n ?
  2. How many elements will be displayed when lets say n = 7 & k = 10 ?
    for eg: LL : 1 , 2, 3, 4 , 5, 6 , 7

Hi @Ekram,
N is the total number of elements. K is the number of times the LL is rotated by 1.
Say N = 4 and K = 5. Elements are 1 2 3 4.

1 2 3 4 // after 0 rotations
4 1 2 3 // after 1 rotation
3 4 1 2 // after 2 rotations
2 3 4 1 // after 3 rotations
1 2 3 4 // after 4 rotations
4 1 2 3 // after 5 rotations