Arrays: Left Rotation

  • [deleted]
    + 0 comments

    Why would you loop for every element when in essence the rotation operation is nothing but just a rearrangement of the array elements in a specified fashion?