码迷,mamicode.com
首页 >  
搜索关键字:palindromic substrin    ( 620个结果
LeetCode 5 Longest Palindromic Substring(最大回文子字符串)
翻译给定一个字符串S,找出它的最大回文子字符串。 你可以假定S的最大长度为1000, 并且这里存在唯一一个最大回文子字符串。原文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 on...
分类:其他好文   时间:2015-09-20 14:48:24    阅读次数:154
convertdate
sample date2015-09-10 00:00:002015-09-09 00:00:00.000expect iso date, add time zone2015-09-10T00:00:00+0800function convertDate(x){ return x.substrin....
分类:其他好文   时间:2015-09-20 10:21:24    阅读次数:145
leetcode [005] : 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 longes...
分类:其他好文   时间:2015-09-15 12:23:54    阅读次数:165
Longest Palindromic Substring - 字符串中最长的回文字段
需求:Given a stringS, find the longest palindromic substring inS. You may assume that the maximum length ofSis 1000, and there exists one unique longest...
分类:其他好文   时间:2015-09-14 22:27:06    阅读次数:156
[LeetCode#267] Palindrome Permutation II
Problem:Given a strings, return all the palindromic permutations (without duplicates) of it. Return an empty list if no palindromic permutation could ...
分类:其他好文   时间:2015-09-14 06:58:58    阅读次数:198
Longest Palindromic Substring
1 class Solution { 2 public: 3 string longestPalindrome(string s) { 4 int min_len=0,max_len=1; 5 int i,j,k; 6 if(s.enpty)return ""...
分类:其他好文   时间:2015-09-11 10:44:30    阅读次数:163
[LeetCode]题解(python):005-Longest Palindromic Substring
题目来源:https://leetcode.com/problems/longest-palindromic-substring/题意分析: 这道题目是输入一段不超过1000的字符串,输出最长的回文子字符串,输入的字符串有一个唯一的最长回文子字符串(个人觉得这个没什么用,还限制了一些输入,比如长度为...
分类:编程语言   时间:2015-09-08 12:20:13    阅读次数:195
Longest Palindromic Substring
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-09-07 22:51:12    阅读次数:227
LeetCode(5) : Longest Palindromic Substring
【题目】LeetCode(5): Longest Palindromic SubstringURL: https://leetcode.com/problems/longest-palindromic-substring/【描述】Given a stringS, find the longest p...
分类:其他好文   时间:2015-09-07 07:02:02    阅读次数:339
Longest Palindromic Substring
Description:Given a stringS, find the longest palindromic substring inS. You may assume that the maximum length ofSis 1000, and there exists one uniqu...
分类:其他好文   时间:2015-09-02 15:57:57    阅读次数:218
620条   上一页 1 ... 37 38 39 40 41 ... 62 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!