top of page


LeetCode - Number of Islands BFS Solution
Given a m x n 2D binary array grid which represents of map of '1's (land) and '0's (water), return the number of islands in this grid.
Code Recipe
Dec 27, 20244 min read
94 views
1 comment
bottom of page