
填色
文章平均质量分 82
jmspan
这个作者很懒,什么都没留下…
展开
-
LeetCode 302. Smallest Rectangle Enclosing Black Pixels(最小面积矩形)
原题网址:https://leetcode.com/problems/smallest-rectangle-enclosing-black-pixels/An image is represented by a binary matrix with 0 as a white pixel and 1 as a black pixel. The black pixels are con原创 2016-04-19 07:06:47 · 1694 阅读 · 0 评论 -
LeetCode 130. Surrounded Regions(包围区域)
原题网址:https://leetcode.com/problems/surrounded-regions/Given a 2D board containing 'X' and 'O', capture all regions surrounded by 'X'.A region is captured by flipping all 'O's into 'X's i原创 2016-05-27 00:25:49 · 535 阅读 · 0 评论