Given an array of integers nums, return a new array with the same values in reverse order.
Reverse an Array (Set 1) — the data. This set runs 4 cases: nums holds arrays of 5–11 items, with values from -40 to 39. The hidden cases are the largest of the set.