Getting wrong answer for some test cases

Hi @Jun18APP0112,
in ur code try to add
if(k>n){
k=k%n;
}
eg. if n=4, array={1,2,3,4} and k=5, output needs to be 4,1,2,3 but ur present code will give 1,2,3,4 as output. try to add dis change. ur code will run.
Hope dis resolves ur doubt.
if u still face any problem, feel free to post it here.

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.