码迷,mamicode.com
首页 >  
搜索关键字:determine    ( 2744个结果
Problem Valid Palindrome
Problem Description:Given a string, determine if it is a palindrome, considering only alphanumeric characters and ignoring cases.For example,"A man, a...
分类:其他好文   时间:2014-07-07 16:03:32    阅读次数:168
Problem Word Break
Problem Description:Given a stringsand a dictionary of wordsdict, determine ifscan be segmented into a space-separated sequence of one or more diction...
分类:其他好文   时间:2014-07-07 16:02:11    阅读次数:219
Problem Balanced Binary Tree
Problem Description:Given a binary tree, determine if it is height-balanced.For this problem, a height-balanced binary tree is defined as a binary tre...
分类:其他好文   时间:2014-07-07 13:27:35    阅读次数:207
(待解决)leecode 分词利用词典分词 word break
不戚戚于贫贱,不汲汲于富贵 ---五柳先生Given a stringsand a dictionary of wordsdict, determine ifscan be segmented into a space-separated sequence of one or more dict.....
分类:其他好文   时间:2014-07-03 20:21:27    阅读次数:225
Leetcode 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-07-02 22:34:44    阅读次数:318
[leetcode] Decode Ways
Given an encoded message containing digits, determine the total number of ways to decode it.
分类:其他好文   时间:2014-07-02 14:47:02    阅读次数:217
【LeetCode】Valid Palindrome
题目 Given a string, determine if it is a palindrome, considering only alphanumeric characters and ignoring cases. For example, "A man, a plan, a canal: Panama" is a palindrome. "race a car" i...
分类:其他好文   时间:2014-07-02 09:49:04    阅读次数:271
Word Break/Word Segment
Given a stringsand a dictionary of wordsdict, determine ifscan be segmented into a space-separated sequence of one or more dictionary words.For exampl...
分类:其他好文   时间:2014-07-01 23:43:03    阅读次数:293
Leetcode: Valid Parentheses 有效的括号匹配
Valid Parentheses:Given a string containing just the characters '(', ')', '{', '}', '[' and ']', determine if the input string is valid.The brackets m...
分类:其他好文   时间:2014-07-01 21:24:05    阅读次数:180
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? 方法 /** * Definition for singly-linked list. * class ListNode { ...
分类:其他好文   时间:2014-07-01 11:31:40    阅读次数:178
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!