码迷,mamicode.com
首页 >  
搜索关键字:palindrome    ( 1561个结果
UVa 401 Palindromes 回文词
A regular palindrome is a string of numbers or letters that is the same forward as backward. For example, the string"ABCDEDCBA"is a palindrome because...
分类:其他好文   时间:2014-11-17 15:45:48    阅读次数:161
Determine whether an integer is a palindrome. Do this without extra space.
看到这个题目的时候,首先不认识 Determine这个单词,英文不好没办法,查了下是确认的意思,然后不懂 palindrome这个单词, 查了下是回文的意思。 问题是 回文是个什么东西,官方解释: A palindrome is a word, phrase, number, or other sequence of characters which reads the same b...
分类:其他好文   时间:2014-11-17 01:45:30    阅读次数:220
POJ 1159-Palindrome(DP/LCS变形)
Palindrome Time Limit: 3000MS   Memory Limit: 65536K Total Submissions: 53770   Accepted: 18570 Description A palindrome is a symmetrical string, that is, a string read i...
分类:其他好文   时间:2014-11-16 20:11:38    阅读次数:256
【LeetCode】Palindrome Partitioning II 解题报告
【题目】 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...
分类:其他好文   时间:2014-11-16 17:23:33    阅读次数:158
【LeetCode】Palindrome Partitioning 解题报告
【题目】 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 [ ...
分类:其他好文   时间:2014-11-16 17:22:42    阅读次数:176
nyoj 741
Splits the string时间限制:1000ms | 内存限制:65535KB难度:3描述Hrdv is interested in a string,especially the palindrome string.So he wants some palindrome string.A ...
分类:其他好文   时间:2014-11-15 20:08:28    阅读次数:202
Palindrome Number
Determine whether an integer is a palindrome. Do this without extra space.Some hints:Could negative integers be palindromes? (ie, -1)If you are thinki...
分类:其他好文   时间:2014-11-15 09:58:31    阅读次数:222
[Leetcode] Palindrome Partitioning
Given a strings, partitionssuch that every substring of the partition is a palindrome.Return all possible palindrome partitioning ofs.For example, giv...
分类:其他好文   时间:2014-11-14 13:58:41    阅读次数:202
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-13 18:06:38    阅读次数:209
Uva 10617 Again Palindrome (DP+回文串)
Uva 10617 Again Palindrome (DP+回文串) —— black的专栏 —— waShaXiu...
分类:其他好文   时间:2014-11-13 16:40:17    阅读次数:205
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!