Practice · 4 of 4
In-Place Reverse
CHALLENGE
Difficulty: beginner+25 XP
Implement void reverse(int* a, int n) reversing the first n elements IN PLACE (no second array).
Press Submit to check your solution.
Back to lesson: Practice: Array Workbench
Practice · 4 of 4
Implement void reverse(int* a, int n) reversing the first n elements IN PLACE (no second array).
Back to lesson: Practice: Array Workbench