码迷,mamicode.com
首页 >  
搜索关键字:determine    ( 2744个结果
HUD 1501 Zipper(记忆化 or DP)
Problem DescriptionGiven three strings, you are to determine whether the third string can be formed by combining the characters in the first two strin...
分类:其他好文   时间:2014-08-18 17:46:52    阅读次数:244
UVA - 10780 Again Prime? No Time. (质因子分解)
Description Again Prime? No time. Input: standard input Output: standard output Time Limit: 1 second The problem statement is very easy. Given a number n you have to determine the largest p...
分类:其他好文   时间:2014-08-18 14:34:52    阅读次数:193
Validate Binary Search Tree
Given a binary tree, determine if it is a valid binary search tree (BST).Assume a BST is defined as follows:The left subtree of a node contains only n...
分类:其他好文   时间:2014-08-18 13:02:02    阅读次数:209
zoj 2027 Travelling Fee
Description Samball is going to travel in the coming vacation. Now it's time to make a plan. After choosing the destination city, the next step is to determine the travel route. As this poor guy has ...
分类:其他好文   时间:2014-08-18 10:50:54    阅读次数:334
Validate Binary Search Tree
Given a binary tree, determine if it is a valid binary search tree (BST).Assume a BST is defined as follows:The left subtree of a node contains only n...
分类:其他好文   时间:2014-08-17 21:11:02    阅读次数:213
HUD 1501 Zipper(记忆化 or DP)
Problem Description Given three strings, you are to determine whether the third string can be formed by combining the characters in the first two strings. The first two strings can be mixed arbitra...
分类:其他好文   时间:2014-08-17 13:04:42    阅读次数:205
Balanced Binary Tree
Given a binary tree, determine if it is height-balanced.For this problem, a height-balanced binary tree is defined as a binary tree in which the depth...
分类:其他好文   时间:2014-08-16 23:42:41    阅读次数:165
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...
分类:其他好文   时间:2014-08-16 22:21:41    阅读次数:235
HDU 1158 Employment Planning (DP)
Problem Description A project manager wants to determine the number of the workers needed in every month. He does know the minimal number of the workers needed in each month. When he hires or fires...
分类:其他好文   时间:2014-08-14 01:36:07    阅读次数:332
leetcode -- Valid Parentheses
不要因为走的太远而忘记我们为什么出发[问题描述]Given a string containing just the characters'(',')','{','}','['and']', determine if the input string is valid.The brackets mu...
分类:其他好文   时间:2014-08-14 01:00:57    阅读次数:160
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!