Rotate Array
Given an integer array `nums` and a non-negative integer `k`, rotate the array to the right by `k` steps, in place. Implementations modify `nums` directly and return it; the returned value is the result.
Given an integer array `nums` and a non-negative integer `k`, rotate the array to the right by `k` steps, in place. Implementations modify `nums` directly and return it; the returned value is the result.