Reverse `nums` **in-place** and return the mutated array. Variant **#24**.
Example 1
Input: nums = [24,25,26,27,28,29,30,31,32,33,34,35]
Output: [35,34,33,32,31,30,29,28,27,26,25,24]
Constraints
Acceptance: 69% · Topics: array, two-pointers
← All practice problems