Number of Islands Variations
Filed under AmazeWoW
The question
Given a 2D matrix of 0s and 1s representing water and land, find the number of islands, the size of the largest island, and the number of islands nearest to a given coordinate.
No write-up yet. Related questions below have one.
Related AmazeWoW questions
Collected from public candidate posts and coding forums. Updated Nov 2026.