where my code is lagging can you please let me know ? It is passing some of the test cases .
Kth append problem
@rahul.aggarwal000005 your code is correct for k<=n but for k>n you have to do k=k%n.
dont forget to mark the doubt resolved and hit like if cleared 
but why we do k = k%n . it is not mentioned that if the value of k is greater than n then do this operation .
yes it was not mentioned ( sorry about that) but you have to do it. they should have mentioned what to do if k>n