mirror of
https://github.com/youngyangyang04/leetcode-master.git
synced 2025-07-06 23:28:29 +08:00
Update 0200.岛屿数量.广搜版.md
This commit is contained in:
@ -196,11 +196,8 @@ class Solution {
|
||||
}
|
||||
}
|
||||
```
|
||||
<p align="center">
|
||||
<a href="https://programmercarl.com/other/kstar.html" target="_blank">
|
||||
<img src="../pics/网站星球宣传海报.jpg" width="1000"/>
|
||||
</a>
|
||||
```
|
||||
|
||||
## 其他语言版本
|
||||
### Python
|
||||
BFS solution
|
||||
```python
|
||||
@ -241,3 +238,9 @@ class Solution:
|
||||
q.append((next_i, next_j))
|
||||
visited[next_i][next_j] = True
|
||||
```
|
||||
|
||||
<p align="center">
|
||||
<a href="https://programmercarl.com/other/kstar.html" target="_blank">
|
||||
<img src="../pics/网站星球宣传海报.jpg" width="1000"/>
|
||||
</a>
|
||||
```
|
||||
|
Reference in New Issue
Block a user