Arrays: Left Rotation

  • + 1 comment

    How to think like this ? Once the code is there I know its easy to understand.I want to know how did you know to use modulous and how did you come up thinking that logic ?

    thanks in advance.