Rotate Array, See the intuition, example, and code implementation of this medium array problem.