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