I used the same code in java, i tried the solution on leetcode its showing runtime error, kindly look into my code
Circular ArrayLoop
It is still showing runtime error
yeah Now it works, Thankyou so much…And we have to do this in every question which have circular array or linkedlist?
in modulo related problem where elements can be negative