题目链接: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
Givennnon-negative integers representing an elevation map where the width of each bar is 1, compute how much water it is able to trap after raining.Fo...
分类:
移动开发 时间:
2015-04-15 16:50:03
阅读次数:
117
Rain in ACStarTime Limit: 1 SecMemory Limit: 256 MB题目连接http://acm.hust.edu.cn/problem/show/1385DescriptionMaybe you have heard of Super Cow AC who is ...
分类:
其他好文 时间:
2015-04-15 00:51:58
阅读次数:
191
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-04-13 19:05:29
阅读次数:
138
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-04-13 00:04:14
阅读次数:
229
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 assu...
分类:
其他好文 时间:
2015-04-12 09:22:41
阅读次数:
175
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-04-11 23:50:33
阅读次数:
167
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...
分类:
其他好文 时间:
2015-04-11 06:35:48
阅读次数:
145
题目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 assum...
分类:
其他好文 时间:
2015-04-10 22:08:54
阅读次数:
153
感觉和Container With Most Water很像,这里有个问题,如果让球最大的坑,怎么做呢?还有candy那道题,好像都是这种双扫系列的refhttp://fisherlei.blogspot.com/2013/01/leetcode-trapping-rain-water.html双扫...
分类:
移动开发 时间:
2015-04-10 13:00:09
阅读次数:
153