注册一亩三分地论坛,查看更多干货!
您需要 登录 才可以下载或查看附件。没有帐号?注册账号 
x
本帖最后由 _GQXQ_ 于 2022-6-2 16:01 编辑
中文面试,一个小时,直接力扣
"""
In a given 2D binary array grid, there are two islands.
An island is a 4-directionally c [1, 0, 1, 0, 1],
[1, 0, 0, 0, 1],
[1, 1, 1, 1, 1]]
Output: 1
"""
|