Practice · 2 of 6
Remove failing scores, count them
CHALLENGE
Difficulty: intermediate+25 XP
Remove every score **below 60** from the list, returning **how many** were removed. Order of survivors must be preserved. Implement process(java.util.ArrayList<Integer> list).
Example: [70,50,80,40] → returns 2, list becomes [70, 80].
Press Submit to check your solution.
Back to lesson: Practice: Array lab: two passes, write indices, safe removal