有一个二维的面板,上面由”X”或者”O”填充。现在要求将被”X”包围的”O”都改成”X”。...
分类:
其他好文 时间:
2016-04-22 20:30:06
阅读次数:
118
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 in that surround ...
分类:
其他好文 时间:
2016-04-07 08:20:05
阅读次数:
133
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 in that surrounded
分类:
其他好文 时间:
2016-02-27 00:57:08
阅读次数:
230
Given a 2d grid map of '1's (land) and '0's (water), count the number of islands. An island is surrounded by water and is formed by connecting adjacen
分类:
其他好文 时间:
2016-02-23 11:17:07
阅读次数:
211
You are in this GAME. A critical mission, and you are surrounded by the beauties, ready to shed their slik gowns on your beck. On onside your feelings
分类:
其他好文 时间:
2016-02-01 23:54:54
阅读次数:
196
将内部的O点变成XinputX X X XX O O X X X O XX O X XoutputX X X XX X X XX X X XX O X XDFS图所有边上的点,将边上的O以及其联通域变为T,然后将内部的O变为X,外部的T变为O,本质是种子填充算法。此题对于is_in这个函数要注意, ...
分类:
其他好文 时间:
2016-01-15 12:40:11
阅读次数:
146
Total Accepted:43584Total Submissions:284350Difficulty:MediumGiven a 2D board containing'X'and'O', capture all regions surrounded by'X'.A region is ca...
分类:
其他好文 时间:
2015-12-18 00:06:14
阅读次数:
270
Given a 2d grid map of'1's (land) and'0's (water), count the number of islands. An island is surrounded by water and is formed by connecting adjacent ...
分类:
其他好文 时间:
2015-12-13 14:02:57
阅读次数:
169
Given a 2d grid map of'1's (land) and'0's (water), count the number of islands. An island is surrounded by water and is formed by connecting adjacent ...
分类:
其他好文 时间:
2015-12-08 22:01:31
阅读次数:
160
LeetCode -- Surrounded Regions...
分类:
其他好文 时间:
2015-11-17 13:03:29
阅读次数:
173