Give run time error and passes 2 test cases

  k%=n;
      if( k == 0 ){
print(head);
return 0;
      }

add these line of code after line 68
since Note that K can be greater than N. has been given in the problem stmt
so we need to reduce k to the length of the linked list