Reverse `nums` **in-place** and return the mutated array. Variant **#37**.
Example 1
Input: nums = [37,38,39,40,41,42,43,44,45,46]
Output: [46,45,44,43,42,41,40,39,38,37]
Constraints
Acceptance: 65% · Topics: array, two-pointers
← All practice problems