![](https://img-blog.csdnimg.cn/20190918140053667.png?x-oss-process=image/resize,m_fixed,h_224,w_224)
UnionFind
weixin_39145266
这个作者很懒,什么都没留下…
展开
-
1102 Path With Maximum Minimum Value
1 题目 Given amatrix of integersAwithRrows andCcolumns, findthemaximumscoreof a path starting at[0,0]and ending at[R-1,C-1]. Thescoreof a path is theminimumvalue in that path. For e...原创 2019-12-20 14:06:51 · 167 阅读 · 0 评论 -
130 Surrounded Regions
1 题目 Given a 2D board containing 'X' and 'O' (the letter O), capture all regions surrounded by 'X'. A region is captured by flipping all 'O's into 'X's in that surrounded region. Example: X X X X...原创 2019-04-12 16:47:17 · 118 阅读 · 0 评论