Skip to main content

Practice · 1 of 5

Diagnose and implement

CHALLENGE
Difficulty: intermediate+25 XP

No topic label. Implement int distinctPositive(int[][] grid) from its contract comment. Diagnose first: which machines compose here? Write your diagnosis in a comment above the code (ungraded, but the habit is the point).

Back to lesson: Practice: Mixed clinic