Reverse `nums` **in-place** and return the mutated array. Variant **#31**.
Example 1
Input: nums = [31,32,33,34]
Output: [34,33,32,31]
Constraints
Acceptance: 76% · Topics: array, two-pointers
← All practice problems