Practice · 5 of 5
Widen a minimal case
CHALLENGE
Difficulty: intermediate+25 XP
Implement int[] reversed(int[] arr) returning a **new** array with the elements in reverse order; arr itself must be unchanged, and an empty input yields an empty output.
Press Submit to check your solution.
Back to lesson: Practice: Bootcamp drills