码迷,mamicode.com
首页 >  
搜索关键字:determine    ( 2744个结果
Valid Palindrome--LeetCode
题目: 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 c...
分类:其他好文   时间:2015-04-01 13:28:54    阅读次数:112
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" is not a ...
分类:其他好文   时间:2015-03-31 12:54:59    阅读次数:114
[LeetCode 36&37] Valid Sudoku & Sudoku Solver (数独问题)
题目链接:valid-sudoku import java.util.Arrays; /** * Determine if a Sudoku is valid, according to: Sudoku Puzzles - The Rules. The Sudoku board could be partially filled, where empty cells ...
分类:其他好文   时间:2015-03-31 12:52:27    阅读次数:208
Codeforces Round #117 (Div. 2)---D. Common Divisors
Vasya has recently learned at school what a number’s divisor is and decided to determine a string’s divisor. Here is what he came up with.String a is the divisor of string b if and only if there exists...
分类:其他好文   时间:2015-03-30 18:51:43    阅读次数:134
Balanced Binary Tree(LeetCode)
题目: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 never differ by more than 1....
分类:其他好文   时间:2015-03-30 16:24:02    阅读次数:129
Path Sum(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....
分类:其他好文   时间:2015-03-30 13:24:31    阅读次数: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. For example: Given the below binary tree and sum ...
分类:其他好文   时间:2015-03-30 13:20:37    阅读次数:84
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 e...
分类:其他好文   时间:2015-03-30 12:46:51    阅读次数:155
Sicily 1426. Phone List
1426. Phone List Constraints Time Limit: 1 secs, Memory Limit: 64 MB Description Given a list of phone numbers, determine if it is consistent in the sense that no number is the pre?x...
分类:其他好文   时间:2015-03-30 09:21:57    阅读次数:182
LeetCode Valid Palindrome Python
Valid PalindromeGiven a string, determine if it is a palindrome, considering only alphanumeric characters and ignoring cases.For example,"A man, a pla...
分类:编程语言   时间:2015-03-28 20:22:57    阅读次数:132
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!