Arrays: Left Rotation

  • + 0 comments

    you could also do just (i + shiftAmount) % lengthOfArray