码迷,mamicode.com
首页 >  
搜索关键字:palindrome    ( 1561个结果
【Leetcode】Valid Palindrome
题目链接:https://leetcode.com/problems/valid-palindrome/ 题目: Given a string, determine if it is a palindrome, considering only alphanumeric characters and ignoring cases. For example, "A man, ...
分类:其他好文   时间:2016-06-06 01:09:37    阅读次数:198
LeetCode:Valid Palindrome
Valid Palindrome Total Accepted: 103983 Total Submissions: 432738 Difficulty: Easy Given a string, determine if it is a palindrome, considering only alphanumeric characters a...
分类:其他好文   时间:2016-06-05 12:39:09    阅读次数:151
HDOJ/HDU 2163 Palindromes(判断回文串~)
Problem Description Write a program to determine whether a word is a palindrome. A palindrome is a sequence of characters that is identical to the string when the characters are placed in reverse orde...
分类:其他好文   时间:2016-06-05 01:11:00    阅读次数:167
Permutation
(M) Permutations (M) Permutations II (M) Permutation Sequence (M) Palindrome Permutation II (M) Permutations (M) Permutations II (M) Permutation Seque ...
分类:其他好文   时间:2016-06-02 06:11:52    阅读次数:149
1513-Palindrome(LCS)
http://acm.hdu.edu.cn/showproblem.php?pid=1513 1 #include <iostream> 2 #include <stdio.h> 3 #include <string.h> 4 #include <algorithm> 5 using namespa ...
分类:其他好文   时间:2016-05-30 21:42:58    阅读次数:223
9. Palindrome Number
Determine whether an integer is a palindrome. Do this without extra space. Some hints: Could negative integers be palindromes? (ie, -1) ...
分类:其他好文   时间:2016-05-30 10:01:28    阅读次数:192
lightoj-1044 - Palindrome Partitioning(区间dp)
1044 - Palindrome Partitioning PDF (English) Statistics ForumTime Limit: 1 second(s) Memory Limit: 32 MBA palindrome partition is the partitioning of ...
分类:其他好文   时间:2016-05-30 00:45:41    阅读次数:172
HDU 1513 && POJ 1159 Palindrome (DP+LCS+滚动数组)
题意:给定一个字符串,让你把它变成回文串,求添加最少的字符数。 析:动态规划是很明显的,就是没有了现思路,还是问的别人才知道,哦,原来要么写,既然是回文串, 那么最后正反都得是一样的,所以我们就正反求LCS,这样公共的就求出来了,那么再用总数减掉这个LCS, 那么剩下的肯定就是没有配对的了,就得必须 ...
分类:编程语言   时间:2016-05-29 19:52:15    阅读次数:148
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 ...
分类:其他好文   时间:2016-05-25 22:03:03    阅读次数:122
LeetCode-Palindrome Linked List
...
分类:其他好文   时间:2016-05-25 07:05:23    阅读次数:138
1561条   上一页 1 ... 65 66 67 68 69 ... 157 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!