Skip to main content

Practice · 4 of 5

Q3: helper + consumer

CHALLENGE
Difficulty: intermediate+25 XP

Implement both parts: maxGap (adjacency accumulator with the size<2 guard) and unstable (one comparison reusing it). Part (b) consuming part (a) is the graded shape.

Back to lesson: Practice: FRQ ArrayList lab