码迷,mamicode.com
首页 >  
搜索关键字:up    ( 7825个结果)
回车键确认功能
$("#sign-up-btn").click(function(){ var isSubmit = true; var inputs = document.getElementsByTagName("input"); v...
分类:其他好文   时间:2015-07-24 10:42:15    阅读次数:103
Path Sum
题目描述: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
poj 3264 线段树 求区间最大最小值
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
(LeetCode)旋转数组
原体描述如下: 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
[LeetCode][JavaScript]Unique Paths II
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
HDU 1010 Temper of the bone(深搜+剪枝)
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
[leedcode 117] Populating Next Right Pointers in Each Node II
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
[leedcode 112] Path Sum
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
(LeetCode)二叉树中和为某一值的路径
原体如下: 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
Project Euler:Problem 84 Monopoly odds
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
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!