Some testcase failed

Why three testcsae failed ?? Any hint?

hello @1997gautam.shah
pls save ur code here ->https://ide.codingblocks.com/
and share the link with me

https://ide.codingblocks.com/s/282370 Here is the link of the code

image

add this line in ur code. ( value of k can exceed length so to make it in range of length we r taking modulo)

Thanks! Got the point. Marked Resolved. :slight_smile: