Y
YeetCode
Dashboard
/
Graphs
/
Number of Islands
Medium
#200
Grid DFS/BFS
Number of Islands
Count the number of islands in a 2D grid.
Solve on LeetCode
↗
Full Explanation
Next
Clone Graph →