LeetCode 0189  Rotate Array
Contents
Rotate Array
Desicription
Given an array, rotate the array to the right by k steps, where k is nonnegative.
Example 1:


Example 2:


Note:
 Try to come up as many solutions as you can, there are at least 3 different ways to solve this problem.
 Could you do it inplace with O(1) extra space?
Solution

