Number of IslandsGiven 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 con...
分类:
其他好文 时间:
2015-05-06 10:51:49
阅读次数:
132
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 region...
分类:
其他好文 时间:
2015-05-03 21:53:42
阅读次数:
205
题目: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 reg...
分类:
其他好文 时间:
2015-05-03 01:58:32
阅读次数:
119
Shaping RegionsTime Limit:1 SecMemory Limit:128 MBSubmit:124Solved:39[Submit][Status][Web Board]DescriptionN opaque rectangles (1 #include #include #i...
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 lands horizontally or vertically. You may assume...
分类:
其他好文 时间:
2015-05-01 20:00:47
阅读次数:
136
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-04-29 11:30:48
阅读次数:
132
problem:
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 region.
For example,
...
分类:
其他好文 时间:
2015-04-28 18:36:50
阅读次数:
140
题目: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 adjace...
分类:
其他好文 时间:
2015-04-19 06:27:46
阅读次数:
146
Number of Islands2015.4.17 06:16Given a 2d grid map of'1's (land) and'0's (water), count the number of islands. An island is surrounded by water and i...
分类:
其他好文 时间:
2015-04-17 07:08:59
阅读次数:
294
题目链接:number-of-islands
/**
*
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 land...
分类:
其他好文 时间:
2015-04-15 19:40:44
阅读次数:
179