11.01 · Problem
Number of Islands
This problem is part of solulu Pro
Given a grid of '1' (land) and '0' (water), return the number of islands. An island is a group of land cells connected horizontally or vertically; everything outside the grid is water.
Lifetime ₹1,999 ₹999 · Launch offer
Item 80 of 150 · updated 2026-10-12