Arrays: Left Rotation

  • + 0 comments

    Interesting take on the problem!

    I'm just mentionning this for completeness' sake but not actually solving the problem as asked, which is to write a separate function :)

    Also, a follow-up question might be "improve your function so that it rotates the array in-place"