题目:Given a strings, return all the palindromic permutations (without duplicates) of it. Return an empty list if no palindromic permutation could be fo...
分类:
其他好文 时间:
2015-12-06 01:49:57
阅读次数:
200
Given a stringS, find the longest palindromic substring inS. You may assume that the maximum length ofSis 1000, and there exists one unique longest pa...
分类:
其他好文 时间:
2015-12-03 21:24:33
阅读次数:
220
问题:Given a string S, find the longest palindromic substring in S. You may assume that the maximum length of S is 1000, and there exists one unique lon...
分类:
其他好文 时间:
2015-11-27 17:11:12
阅读次数:
131
1. TitleLongest Palindromic Substring2. Http addresshttps://leetcode.com/problems/longest-palindromic-substring/3. The questionGiven a stringS, find t...
分类:
其他好文 时间:
2015-11-16 22:22:59
阅读次数:
240
#include<stdio.h>
intis_palindromic(intnum)
{
char_old=num;
char_new=0;
while(num)
{
_new=_new*10+(num%10);
num=num/10;
}
if(_new==_old)
{
return1;
}
else
{
return0;
}
}
intmain()
{
intnum=0;
scanf("%d",&num);
intret=is_palindromic(num);
if(ret==1..
分类:
其他好文 时间:
2015-11-13 23:45:15
阅读次数:
315
class Solution(object): def longestPalindrome(self, s): """ :type s: str :rtype: str """ lenStr = len(s) ...
分类:
编程语言 时间:
2015-11-08 22:04:23
阅读次数:
299
原文地址:http://www.cnblogs.com/zhxshseu/p/4947609.html%20转载请注明出处:http://www.cnblogs.com/zhxshseu/p/4947609.html问题描述:Given a string S, find the longest pa...
分类:
其他好文 时间:
2015-11-08 17:47:32
阅读次数:
244
Palindromic SubstringTime Limit: 10000msMemory Limit: 65536KBThis problem will be judged onHDU. Original ID:442664-bit integer IO format:%I64d Java cl...
分类:
其他好文 时间:
2015-11-07 20:31:14
阅读次数:
333
题目链接:https://leetcode.com/problems/longest-palindromic-substring/题目:Given a stringS, find the longest palindromic substring inS. You may assume that t...
分类:
其他好文 时间:
2015-11-05 21:57:51
阅读次数:
219
QuestionGiven a stringS, find the longest palindromic substring inS. You may assume that the maximum length ofSis 1000, and there exists one unique lo...
分类:
其他好文 时间:
2015-11-04 01:56:54
阅读次数:
182