Practice · 5 of 5
Q2 with a helper
CHALLENGE
Difficulty: intermediate+25 XP
Complete GridSummary: the constructor stores grid and dimensions; colSum(c) is the private helper; maxColSum() composes it. The helper pattern is the point — part (b) consuming part (a).
Press Submit to check your solution.
Back to lesson: Practice: FRQ class design lab