Practice · 5 of 5
Debug the boundary
CHALLENGE
Difficulty: beginner+25 XP
total crashes with ArrayIndexOutOfBoundsException on every call. Fix the loop bound — the smallest possible repair.
Press Submit to check your solution.
Back to lesson: Practice: Array reps