$("#sign-up-btn").click(function(){ var isSubmit = true; var inputs = document.getElementsByTagName("input"); v...
分类:
其他好文 时间:
2015-07-24 10:42:15
阅读次数:
103
题目描述:Given a binary tree and a sum, determine if the tree has a root-to-leaf path such that adding up all the values along the path equals the given s...
分类:
其他好文 时间:
2015-07-23 23:36:50
阅读次数:
123
DescriptionFor the daily milking, Farmer John's N cows (1 ≤ N ≤ 50,000) always line up in the same order. One day Farmer John decides to organize a ga...
分类:
其他好文 时间:
2015-07-23 21:30:56
阅读次数:
113
原体描述如下:
Rotate an array of n elements to the right by k steps.
For example, with n = 7 and k = 3, the array [1,2,3,4,5,6,7] is
rotated to [5,6,7,1,2,3,4].
Note:
Try to come up as many so...
分类:
编程语言 时间:
2015-07-23 17:43:27
阅读次数:
124
Unique Paths IIFollow up for "Unique Paths":Now consider if some obstacles are added to the grids. How many unique paths would there be?An obstacle an...
分类:
编程语言 时间:
2015-07-23 00:33:01
阅读次数:
277
Tempter of the BoneProblem DescriptionThe doggie found a bone in an ancient maze, which fascinated him a lot. However, when he picked it up, the maze ...
分类:
其他好文 时间:
2015-07-22 22:20:06
阅读次数:
110
Follow up for problem "Populating Next Right Pointers in Each Node".What if the given tree could be any binary tree? Would your previous solution stil...
分类:
其他好文 时间:
2015-07-22 22:11:30
阅读次数:
101
Given a binary tree and a sum, determine if the tree has a root-to-leaf path such that adding up all the values along the path equals the given sum.Fo...
分类:
其他好文 时间:
2015-07-22 20:20:26
阅读次数:
129
原体如下:
Given a binary tree and a sum, determine if the tree has a root-to-leaf path such that adding up all the values along the path equals the given sum.
For example:
Given the below binary tr...
分类:
其他好文 时间:
2015-07-22 18:45:58
阅读次数:
87
In the game, Monopoly, the standard board is set up in the following way:
GO
A1
CC1
A2
T1
R1
B1
CH1
B2
B3
JAIL
H2
C1
T2
U1
H1
C2
CH3
C3
R4
...
分类:
其他好文 时间:
2015-07-22 16:29:45
阅读次数:
94