Pls help in identifying the error in my code
Error in test cases
Hey @kunal81198 in order to tell your error, I would request you to share your code using ide.codingblocks.com
Hey @kunal81198, your code works perfectly fine , but you forgot to add a side case that what if K>N, in that case just update your K = K%N and start your append function. Hope this will help you 
Still 1 case not passing
I hope I’ve cleared your doubt. I ask you to please rate your experience here
Your feedback is very important. It helps us improve our platform and hence provide you
the learning experience you deserve.
On the off chance, you still have some questions or not find the answers satisfactory, you may reopen
the doubt.
