Runtime error on some test cases


code showing run time error for some cases

image

why k%n
is the input value of k greater than n?

yes read the question stmt
it says k can be greater than
n

1 Like