—
Number of Islands
Tutor me on https://mlprep.iwase.dev/item/leetcode-200-number-of-islands/. This is a practice item. If window.mlPrepAgent is available, read attempts for item leetcode-200-number-of-islands before tutoring. Inspect my attempt, keep the item ID, and do not reveal the full answer first. After a real attempt, append its record with recorded_by agent, include agent_session_id when available, and read it back.Uses recursive or iterative flood fill to test traversal state, base cases, and component counting with judge feedback.
Previous attempts
Loading attempts saved in this browser…