Reverse `nums` **in-place** and return the mutated array. Variant **#19**.
Example 1
Input: nums = [19,20,21,22,23,24,25]
Output: [25,24,23,22,21,20,19]
Constraints
Acceptance: 64% · Topics: array, two-pointers
← All practice problems