Practice · 1 of 3
Capstone: the shelf
CHALLENGE
Difficulty: beginner+25 XP
Implement shelfPages(ArrayList<Book> shelf, int limit): total pages across books with pages <= limit. Uses selection + accumulation over an object collection.
Press Submit to check your solution.
Back to lesson: Practice: Readiness reps