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