Practice · 2 of 6
Diagnose 2: the backwards accumulator
CHALLENGE
Difficulty: intermediate+25 XP
Classify the error, then repair total so it returns the sum of the array (empty → 0).
Press Submit to check your solution.
Back to lesson: Practice: Diagnosis gauntlet