25. Reverse an Array In-Place

Loading...

Loading...

Input

5 1 2 3 4 5

Expected Output

5 4 3 2 1