# Number of Islands

> ML preparation item.

- Stable ID: `leetcode-200-number-of-islands`
- Area: Programming
- Topic: Data Structures
- Origin: external
- Expected time: 25 minutes
- Skills: dfs, bfs, queue, recursive-implementation
- Item JSON: https://mlprep.iwase.dev/data/items/leetcode-200-number-of-islands.json

This site does not reproduce the third-party problem.

- Source: LeetCode Problem Set
- Document: LeetCode Problem Set
- Locator: Problem 200: Number of Islands
- Original problem: https://leetcode.com/problems/number-of-islands/
- Official feedback: https://leetcode.com/problems/number-of-islands/
- Answer status: official-interactive-feedback


## Tutoring contract

Ask for the learner's attempt, begin with the smallest useful hint, preserve item ID `leetcode-200-number-of-islands`, and record a real attempt with `recorded_by: "agent"` and `agent_session_id` when available using https://mlprep.iwase.dev/schema/attempt-record.json.
