码迷,mamicode.com
首页 >  
搜索关键字:palindromic    ( 595个结果
267. Palindrome Permutation II
题目: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
[Leetcode] Longest Palindromic Substring
问题: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
Longest Palindromic Substring
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
leetcode Longest Palindromic Substring python
class Solution(object): def longestPalindrome(self, s): """ :type s: str :rtype: str """ lenStr = len(s) ...
分类:编程语言   时间:2015-11-08 22:04:23    阅读次数:299
【翻译】Longest Palindromic Substring 最长回文子串
原文地址: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
HDU 4426 Palindromic Substring
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
【LeetCode OJ】Longest Palindromic Substring
题目链接: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
Longest Palindromic Substring 解答
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
595条   上一页 1 ... 33 34 35 36 37 ... 60 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!