Reverse `nums` **in-place** and return the mutated array. Variant **#32**.
Example 1
Input: nums = [32,33,34,35,36]
Output: [36,35,34,33,32]
Constraints
Acceptance: 77% · Topics: array, two-pointers
← All practice problems