Mental Model
We find groups of connected land cells by exploring neighbors until no new land is found. Each group is one island.
Analogy: Imagine walking on a map of islands and water. When you step on land, you explore all connected land around you before moving on to find another island.
Grid example: 1 1 0 0 0 1 1 0 0 1 0 0 0 1 1 0 0 0 0 0 1 0 1 0 1 1 = land, 0 = water
