Count the number of islands in a grid.
Unlock detailed company stats for this questionUpgrade
Number of Islands: given an m x n 2D grid of '1's (land) and '0's (water), return the number of islands.
Community answers
No answers contributed by the community yet.
Related questions
Count the number of distinct islands in a grid.Count the number of islands in 2D, extended to a 3D version.Number of Islands.Related courses

Course

Course
Course


