码迷,mamicode.com
首页 >  
搜索关键字:determine    ( 2744个结果
Linked list cycle
Given a linked list, determine if it has a cycle in it. (Without using eatra space)//Solution: define two pointers, one moves one step each time while...
分类:其他好文   时间:2014-11-20 13:31:10    阅读次数:181
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.Ja...
分类:其他好文   时间:2014-11-20 13:30:27    阅读次数:120
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...
分类:其他好文   时间:2014-11-20 01:16:54    阅读次数:172
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-11-19 20:16:31    阅读次数:152
【Leetcode】经典的Jump Game in JAVA
Given an array of non-negative integers, you are initially positioned at the first index of the array. Each element in the array represents your maximum jump length at that position. Determine i...
分类:编程语言   时间:2014-11-19 18:51:35    阅读次数:226
解决Gradle运行命令时报Could not determine the dependencies of task ':compileReleaseJava'.
Could not determine the dependencies of task ':compileReleaseJava'. > failed to find target android-19 这个问题需要的在工程的根目录添加两个文件local.properties和settings.gradle这 两个文件 local.properties的内容是:你的SD...
分类:编程语言   时间:2014-11-19 18:44:13    阅读次数:179
LeetCode——Jump Game
Given an array of non-negative integers, you are initially positioned at the first index of the array. Each element in the array represents your maximum jump length at that position. Determine i...
分类:其他好文   时间:2014-11-19 12:35:24    阅读次数:130
Q1:Valid Parentheses
Question:Given a string containing just the characters '(', ')', '{', '}', '[' and ']', determine if the input string is valid.The brackets must close...
分类:其他好文   时间:2014-11-19 10:33:46    阅读次数:142
[Leetcode][JAVA] 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: Pana...
分类:编程语言   时间:2014-11-19 07:08:44    阅读次数:197
leetcode --- Linked List Cycle [Floyd's cycle-finding algorithm]
Linked List CycleGiven a linked list, determine if it has a cycle in it.Follow up:Can you solve it without using extra space?Linked ListTwo Pointers''...
分类:其他好文   时间:2014-11-18 23:25:09    阅读次数:170
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!