码迷,mamicode.com
首页 >  
搜索关键字:determine    ( 2744个结果
Validate Palindrome 验证回文字符串
Given a string, determine if it is a palindrome, considering only alphanumeric characters and ignoring cases.For example, "race a car"isnota palindro....
分类:其他好文   时间:2014-10-17 06:26:33    阅读次数:239
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-10-16 14:55:02    阅读次数:297
java 检查是否是数组 检查是否是空数组 检查数组是否包含某个元素
/** * Determine whether the given object is an array: * either an Object array or a primitive array. * @param obj the object to check ...
分类:编程语言   时间:2014-10-16 07:03:22    阅读次数:301
leetcode Palindrome Number Python
题目:Determine whether an integer is a palindrome. Do this without extra space. 刚开始看到题目的时候想着用栈来处理,每进来一个数与栈顶元素比较相同则栈顶元素处栈,不同则元素入栈,最后栈为空或剩一个数为真,我是以“12343....
分类:编程语言   时间:2014-10-15 19:45:31    阅读次数:249
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?解题方案:使用快慢指针,如果有环,快指针肯定会追上慢指针。下面是该题的代码...
分类:其他好文   时间:2014-10-15 00:03:19    阅读次数:183
Valid Palindrome
Valid Palindrome  Total Accepted: 22728 Total Submissions: 99271My Submissions Question  Solution  Given a string, determine if it is a palindrome, considering only alphanumeric char...
分类:其他好文   时间:2014-10-14 18:21:29    阅读次数:218
Palindrome Number
[leetcode]Determine whether an integer is a palindrome. Do this without extra space....
分类:其他好文   时间:2014-10-14 12:32:38    阅读次数:137
Error:Cannot determine Java VM executable in selected JDK
http://devnet.jetbrains.com/message/5521484#5521484Configure -> Project defaults -> Project structure and added the jdk如果无法回到开始界面,在help->show logFIles...
分类:编程语言   时间:2014-10-14 09:31:57    阅读次数:345
[Leetcode][JAVA] Word Break
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-10-14 02:20:48    阅读次数:203
leetcode第九题--Palindrome Number
Problem:Determine whether an integer is a palindrome. Do this without extra space.click to show spoilers.Some hints:Could negative integers be palindr...
分类:其他好文   时间:2014-10-13 12:18:49    阅读次数:100
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!