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).
Press Submit to check your solution.
Back to lesson: Practice: Mixed clinic