![](https://img-blog.csdnimg.cn/20201014180756918.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
DFS
cainiao_23333
这个作者很懒,什么都没留下…
展开
-
827. Making A Large Island
https://leetcode.com/problems/making-a-large-island/In a 2D grid of0s and1s, we change at most one0to a1.After, what is the size of the largest island?(An island is a 4-directionally connect...原创 2019-12-07 13:28:17 · 115 阅读 · 0 评论 -
924. Minimize Malware Spread
https://leetcode.com/problems/minimize-malware-spread/In a network of nodes, each nodeiis directly connected to another nodejif and only ifgraph[i][j] = 1.Some nodesinitialare initially inf...原创 2019-12-05 13:58:07 · 153 阅读 · 0 评论