题目
Given n non-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.
For example,
Given [0,1,0,2,1,0,...
分类:
移动开发 时间:
2014-06-27 23:20:39
阅读次数:
349
Given a m x n grid filled with non-negative numbers, find a path from top left to bottom right which minimizes the sum of all numbers along its path.
分类:
其他好文 时间:
2014-06-27 23:02:33
阅读次数:
258
Given n non-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.
分类:
移动开发 时间:
2014-06-27 12:51:24
阅读次数:
258
You are given two linked lists representing two non-negative numbers. The digits are stored in reverse order and each of their nodes contain a single ...
分类:
其他好文 时间:
2014-06-27 12:21:24
阅读次数:
215
Given n non-negative integers a1, a2, ..., an, where each represents a point at coordinate (i, ai). n vertical lines are drawn such that the two endpo...
分类:
其他好文 时间:
2014-06-27 12:20:47
阅读次数:
245
Given an array of non-negative integers, you are initially positioned at the first index of the array.
分类:
其他好文 时间:
2014-06-27 11:51:49
阅读次数:
213
Given an array of non-negative integers, you are initially positioned at the first index of the array.
分类:
其他好文 时间:
2014-06-27 11:42:04
阅读次数:
146
Given a list, rotate the list to the right by k places, where k is non-negative.
分类:
其他好文 时间:
2014-06-27 11:39:33
阅读次数:
289
题目:You are given two linked lists representing two non-negative numbers. The digits are stored in reverse order and each of their nodes contain a sing...
分类:
其他好文 时间:
2014-06-27 11:38:12
阅读次数:
207
题目
Given n non-negative integers a1, a2,
..., an, where each represents a point at coordinate (i, ai). n vertical
lines are drawn such that the two endpoints of line i is at (i, ai) and (...
分类:
其他好文 时间:
2014-06-24 16:00:49
阅读次数:
220