Problem in the code(not passing test cases
@jindaldivish you need to handle the cases where k > n as well. To do that, do k = k % n, to make k smaller than n.
can you please correct my code given in the link
@jindaldivish you need to handle the cases where k > n as well. To do that, do k = k % n, to make k smaller than n.
can you please correct my code given in the link