Reverse `nums` **in-place** and return the mutated array. Variant **#14**.
Example 1
Input: nums = [14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30]
Output: [30,29,28,27,26,25,24,23,22,21,20,19,18,17,16,15,14]
Constraints
Acceptance: 76% · Topics: array, two-pointers