All test case are not getting passed

All test case are not getting passed

Hey @EkanshJain2323 you haven’t considered 2 side cases. What if K>N then what will you do is make K=K%N
Second , after printing your result, and new line(endl) for output format :blush:

Thankyou so much it worked😊

If your doubt is resolved do give it a like and mark it as resolved :grinning: