Given an integer array nums, rotate the array to the right by k steps, where k is non-negative.
Three Reverses
Rotating right by k = reverse all, then reverse first k, then reverse rest.