码迷,mamicode.com
首页 >  
搜索关键字:palindrome    ( 1561个结果
Palindrome Partitioning II -- leetcode
Given a string s, partition s such that every substring of the partition is a palindrome. Return the minimum cuts needed for a palindrome partitioning of s. For example, given s = "aab", Return...
分类:其他好文   时间:2015-05-27 17:29:29    阅读次数:130
Java for LeetCode 125 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: Pan...
分类:编程语言   时间:2015-05-26 20:30:35    阅读次数:172
leetcode_9题——Palindrome Number (数学问题)
Palindrome NumberTotal Accepted:57795Total Submissions:194286My SubmissionsQuestionSolutionDetermine whether an integer is a palindrome. Do this witho...
分类:其他好文   时间:2015-05-26 18:26:29    阅读次数:149
【Palindrome Partitioning】cpp
题目:Given a strings, partitionssuch that every substring of the partition is a palindrome.Return all possible palindrome partitioning ofs.For example, ...
分类:其他好文   时间:2015-05-26 18:03:37    阅读次数:129
Palindrome Partitioning -- leetcode
Given a string s, partition s such that every substring of the partition is a palindrome. Return all possible palindrome partitioning of s. For example, given s = "aab", Return [ ["aa","...
分类:其他好文   时间:2015-05-25 22:36:35    阅读次数:123
[LeetCode][JavaScript]Shortest Palindrome
Shortest PalindromeGiven a string S, you are allowed to convert it to a palindrome by adding characters in front of it. Find and return the shortest p...
分类:编程语言   时间:2015-05-24 00:06:34    阅读次数:375
【leetcode】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...
分类:其他好文   时间:2015-05-22 10:59:39    阅读次数:84
UVA11584---Partitioning by Palindromes(dp)
We say a sequence of characters is a palindrome if it is the same written forwards and backwards. For exam- ple, ‘ racecar ’ is a palindrome, but ‘ fastcar ’ is not. A partition of a sequenc...
分类:其他好文   时间:2015-05-21 22:45:42    阅读次数:229
Leetcode第九题_Palindrome Number
Palindrome Number Some hints:Could negative integers be palindromes? (ie, -1)If you are thinking of converting the integer to string, note the restriction of using extra space.You could also try revers...
分类:其他好文   时间:2015-05-19 10:43:23    阅读次数:122
[LeetCode][JavaScript]Valid Palindrome
https://leetcode.com/problems/valid-palindrome/Valid PalindromeGiven a string, determine if it is a palindrome, considering only alphanumeric characte...
分类:编程语言   时间:2015-05-18 18:46:26    阅读次数:304
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!