Reverse `nums` **in-place** and return the mutated array. Variant **#16**.
Example 1
Input: nums = [16,17,18,19]
Output: [19,18,17,16]
Constraints
Acceptance: 78% · Topics: array, two-pointers
← All practice problems