Given a binary tree containing digits from 0-9 only,
each root-to-leaf path could represent a number.
An example is the root-to-leaf path 1->2->3 which
represents the number 123.
Find the total ...
分类:
编程语言 时间:
2015-01-07 16:59:46
阅读次数:
149
题目描述:
Given an array of non-negative integers, you are initially positioned at the first index of the array.
Each element in the array represents your maximum jump length at that position.
...
分类:
其他好文 时间:
2015-01-05 11:13:23
阅读次数:
174
Xiangqi is one of the most popular two-player board games in China. The game represents a battle between two armies with the goal of capturing the ene...
分类:
其他好文 时间:
2015-01-03 17:19:23
阅读次数:
440
Container With Most WaterGivennnon-negative integersa1,a2, ...,an, where each represents a point at coordinate (i,ai).nvertical lines are drawn such t...
分类:
其他好文 时间:
2015-01-03 15:52:26
阅读次数:
129
【题目】
Given a binary tree containing digits from 0-9 only, each root-to-leaf path could represent
a number.
An example is the root-to-leaf path 1->2->3 which represents the number 123.
Fin...
分类:
其他好文 时间:
2015-01-01 22:33:42
阅读次数:
208
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 (i,
0). Fin...
分类:
其他好文 时间:
2014-12-31 20:13:44
阅读次数:
165
问题描述:
Given a binary tree containing digits from 0-9 only, each root-to-leaf path could represent a number.
An example is the root-to-leaf path 1->2->3 which represents the number
123.
Find the ...
分类:
其他好文 时间:
2014-12-30 23:40:44
阅读次数:
173
题目描述:
Given a binary tree containing digits from 0-9 only, each root-to-leaf path could represent
a number.
An example is the root-to-leaf path 1->2->3 which represents the number 123.
Fi...
分类:
其他好文 时间:
2014-12-26 18:46:42
阅读次数:
178
Jump GameGiven an array of non-negative integers, you are initially positioned at the first index of the array.Each element in the array represents yo...
分类:
其他好文 时间:
2014-12-25 14:17:40
阅读次数:
155
题目描述:
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 (i...
分类:
其他好文 时间:
2014-12-25 11:24:50
阅读次数:
163