码迷,mamicode.com
首页 >  
搜索关键字:determine    ( 2744个结果
leetcode 【 Linked List Cycle 】 python 实现
题目:Given a linked list, determine if it has a cycle in it.Follow up:Can you solve it without using extra space?代码:oj在线测试通过Runtime:416 ms 1 # Definitio...
分类:编程语言   时间:2014-12-26 16:37:09    阅读次数:220
[LeetCode]Word Break
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. For example, given s = "leetcode", dict = ["leet"...
分类:其他好文   时间:2014-12-25 22:07:37    阅读次数:330
[C++]LeetCode: 55 Decode Ways
题目: A message containing letters from A-Z is being encoded to numbers using the following mapping: 'A' -> 1 'B' -> 2 ... 'Z' -> 26 Given an encoded message containing digits, determine the tot...
分类:编程语言   时间:2014-12-25 20:35:04    阅读次数:197
Valid Parentheses -- leetcode
Given a string containing just the characters '(', ')', '{', '}', '[' and ']', determine if the input string is valid. The brackets must close in the correct order, "()" and "()[]{}" are all valid b...
分类:其他好文   时间:2014-12-25 16:25:57    阅读次数:123
LintCode-Word Segmentation
Given a stringsand a dictionary of wordsdict, determine ifscan be segmented into a space-separated sequence of one or more dictionary words.ExampleGiv...
分类:其他好文   时间:2014-12-25 01:25:31    阅读次数:368
LeetCode Problem 9:Palindrome Number回文数
描述:Determine whether an integer is a palindrome. Do this without extra space.Some hints:Could negative integers be palindromes? (ie, -1)If you are thi...
分类:其他好文   时间:2014-12-24 19:57:39    阅读次数:127
[LeetCode]110.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 of the two subtrees of every node n...
分类:其他好文   时间:2014-12-24 16:23:25    阅读次数:200
TWebBrowser: Determine when a page with Frames is completed
TWebBrowser: Determine when a page with Frames is completed6comments. Current rating:(3 votes). Leave comments and/ or rate it.Question:If I load a we...
分类:Web程序   时间:2014-12-24 13:06:55    阅读次数:139
Interview-Increasing Sequence with Length 3.
Given an array, determine whether there are three elements A[i],A[j],A[k], such that A[i]A[twoLen]) return true; 9 if (twoLen!=-1 && A[i]>...
分类:其他好文   时间:2014-12-24 06:25:20    阅读次数:202
NYOJ130 同样的雪花 【Hash】
同样的雪花时间限制:1000ms | 内存限制:65535KB难度:4描写叙述You may have heard that no two snowflakes are alike. Your task is to write a program to determine whether this ...
分类:其他好文   时间:2014-12-23 18:59:22    阅读次数:155
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!