码迷,mamicode.com
首页 >  
搜索关键字:determine    ( 2744个结果
LeetCode 20 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...
分类:其他好文   时间:2015-05-05 10:35:05    阅读次数:144
leetcode_202题——Happy Number(哈希)
Happy NumberTotal Accepted:7315Total Submissions:22724My SubmissionsQuestionSolutionWrite an algorithm to determine if a number is "happy".A happy num...
分类:移动开发   时间:2015-05-05 10:16:08    阅读次数:130
Path Sum
https://leetcode.com/problems/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...
分类:其他好文   时间:2015-05-05 01:15:10    阅读次数:184
Palindrome Number
https://leetcode.com/problems/palindrome-number/Determine whether an integer is a palindrome. Do this without extra space.click to show spoilers.Some ...
分类:其他好文   时间:2015-05-04 21:35:51    阅读次数:127
LeetCode笔记--202Happy Number
1 题目描述Write an algorithm to determine if a number is "happy".A happy number is a number defined by the following process: Starting with any positive i...
分类:移动开发   时间:2015-05-04 17:29:12    阅读次数:145
[LeetCode] Path Sum
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 bina...
分类:其他好文   时间:2015-05-04 15:30:49    阅读次数:113
Happy Number
https://leetcode.com/problems/happy-number/Write an algorithm to determine if a number is "happy".A happy number is a number defined by the following ...
分类:移动开发   时间:2015-05-04 15:12:32    阅读次数:123
Isomorphic Strings
https://leetcode.com/problems/isomorphic-strings/Given two stringssandt, determine if they are isomorphic.Two strings are isomorphic if the characters...
分类:其他好文   时间:2015-05-04 13:30:33    阅读次数:118
leetcode-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...
分类:其他好文   时间:2015-05-04 12:06:20    阅读次数:96
leetcode || 141、Linked List Cycle
problem: Given a linked list, determine if it has a cycle in it. Follow up: Can you solve it without using extra space? Hide Tags  Linked List Two Pointers ...
分类:其他好文   时间:2015-05-04 12:05:09    阅读次数:148
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!