โ† Verizon Media questions

Count the number of islands

Filed under Verizon Media

The question

Given a 2D grid of 1s (land) and 0s (water), count the number of islands.

No write-up yet. Related questions below have one.

Related Verizon Media questions

Collected from public candidate posts and coding forums. Updated Nov 2026.