码迷,mamicode.com
首页 >  
搜索关键字:determine    ( 2744个结果
【LeetCode从零单排】No20.ValidParentheses
题目            Given a string containing just the characters '(', ')', '{', '}', '[' and ']', determine if the input string is valid.     The brackets must close in the correct order, "()" and "()[]{}"...
分类:其他好文   时间:2015-02-09 12:54:42    阅读次数:123
LeetCode Valid Parentheses
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 va...
分类:其他好文   时间:2015-02-08 12:55:47    阅读次数:153
LeetCode 020 Valid Parentheses
题目描述:Valid ParenthesesGiven a string containing just the characters'(',')','{','}','['and']', determine if the input string is valid.The brackets must...
分类:其他好文   时间:2015-02-07 17:19:20    阅读次数:217
【LeetCode从零单排】No.9 Palindrome Number
题目      这道题是迄今为止最快通过的一道题,改了两次就过了,runtime一般(中等偏下,这点不太满意)。Palindrome就是判断一个整数是否对称。Determine whether an integer is a palindrome. Do this without extra space.click to show spoilers.Some hints:Could negativ...
分类:其他好文   时间:2015-02-07 13:16:36    阅读次数:141
[leetcode] Interleaving String
Given three strings: s1, s2, s3, determine whether s3 is formed by the interleaving of s1 and s2. Example For s1 = "aabcc" s2 = "dbbca"     - When s3 = "aadbbcbcac", return true.     - When s3...
分类:其他好文   时间:2015-02-06 16:55:45    阅读次数:98
LeetCode --- 36. Valid Sudoku
题目链接:Valid Sudoku Determine if a Sudoku is valid, according to: Sudoku Puzzles - The Rules. The Sudoku board could be partially filled, where empty cells are filled with the character '.'. Note: A...
分类:其他好文   时间:2015-02-06 00:50:56    阅读次数:189
leetcode 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.Fo...
分类:其他好文   时间:2015-02-05 23:15:41    阅读次数:191
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"...
分类:其他好文   时间:2015-02-05 20:30:26    阅读次数:273
LeetCode110——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 never diffe...
分类:其他好文   时间:2015-02-05 16:29:09    阅读次数:135
Lintcode: Compare Strings
Compare two strings A and B, determine whether A contains all of the characters in B.The characters in string A and B are all Upper Case letters.Examp...
分类:其他好文   时间:2015-02-05 07:03:49    阅读次数:311
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!