阅读背景:

[LeetCode] 200. Number of Islands_ Medium tag: BFS

来源:互联网 

Given a 2d grid map of '1's (land) and '0's (water), count the number of islands. An island is surrounded by water and is formed by connecting adjacent lands horizontally or vertically. You may assume all four edges of the grid are all surrounded by water.s (wa




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: