Count the Islands
Talk it through with a coach who asks guiding questions and gives hints until you reach the answer. Pass to mark the challenge as completed.
The problem
- medium
- Pro
A map is a grid of land and water squares. An island is a group of land squares connected up, down, left or right. Count the islands. Explain your approach and its cost.
Talk this problem through with an AI coach
This is a Pro challenge. Sign in with Google, then upgrade to start a voice session.