Reverse `nums` **in-place** and return the mutated array. Variant **#45**.
Example 1
Input: nums = [45,46,47]
Output: [47,46,45]
Constraints
Acceptance: 73% · Topics: array, two-pointers
← All practice problems