码迷,mamicode.com
首页 >  
搜索关键字:determine    ( 2744个结果
Balanced Binary Tree leetcode java
题目: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 d....
分类:编程语言   时间:2014-07-31 05:21:35    阅读次数:221
Path Sum leetcode java
题目: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 su....
分类:编程语言   时间:2014-07-31 05:21:25    阅读次数:214
让CodeIgniter 直接支持RestFull 的修改方法
修改文件 /system/core/Router.php 的方法 _parse_route() /** * Parse Routes * * This function matches any routes that may exist in * the config/routes.php file against the URI to * determine if th...
分类:其他好文   时间:2014-07-29 18:05:12    阅读次数:211
Word Break leetcode java
题目:Given a string s and a dictionary of words dict, determine if s can be segmented into a space-separated sequence of one or more dictionary words.F....
分类:编程语言   时间:2014-07-29 12:33:16    阅读次数:323
HDU1158: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-07-28 15:44:23    阅读次数:284
URAL - 1057 Amount of Degrees
Description Create a code to determine the amount of integers, lying in the set [ X; Y] and being a sum of exactly K different integer degrees of B. Example. Let X=15, Y=20, K=2, B=2. By...
分类:其他好文   时间:2014-07-28 00:09:39    阅读次数:347
Valid Parentheses leetcode java
题目:Given a string containing just the characters '(', ')', '{', '}', '[' and ']', determine if the input string is valid.The brackets must close in t....
分类:编程语言   时间:2014-07-26 09:53:27    阅读次数:254
Phone List
Time Limit:1000MSMemory Limit:65536KB64bit IO Format:%I64d & %I64uSubmitStatusDescriptionGiven a list of phone numbers, determine if it is consistent ...
分类:其他好文   时间:2014-07-26 00:00:26    阅读次数:480
[leetcode]Valid Palindrome
Valid PalindromeGiven a string, determine if it is a palindrome, considering only alphanumeric characters and ignoring cases.For example,"A man, a pla...
分类:其他好文   时间:2014-07-25 23:52:10    阅读次数:202
【LeetCode】【Python】Linked List Cycle
Given a linked list, determine if it has a cycle in it. Follow up: Can you solve it without using extra space? 思路:笨办法是每个节点再开辟一个属性存放是否访问过,这样遍历一遍即可知道是否有环。但为了不增加额外的空间,可以设置两个指针,一个一次走一步,另一个一次走两步...
分类:编程语言   时间:2014-07-25 11:09:21    阅读次数:206
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!