码迷,mamicode.com
首页 >  
搜索关键字:palindromic substrin    ( 620个结果
leetcode - Longest Palindromic Substring
题目: 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 longest...
分类:其他好文   时间:2015-06-20 17:07:53    阅读次数:126
[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 longest palindromic substring. 解题思路 网上有一种思路是说先得到输入字符...
分类:其他好文   时间:2015-06-19 21:39:30    阅读次数:112
[Java]LeetCode5 Longest Palindromic Substring
[Java]LeetCode5 Longest Palindromic Substring...
分类:编程语言   时间:2015-06-19 11:56:24    阅读次数:145
[LeetCode]Longest Palindromic Substring
题意:最长回文子串。原题来自:https://leetcode.com/problems/longest-palindromic-substring/分析:有2种解法,字符串解析(KMP算法,我忘了),还有一种,直接用动态规划搞定。不晓得动态规划方法的朋友,自己百度学下这方法,该方法用处很多。至于K...
分类:其他好文   时间:2015-06-17 21:16:07    阅读次数:121
[leetcode] 5.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-06-17 15:16:35    阅读次数:140
Manacher's algorithm: 最长回文子串算法
Manacher 算法是时间、空间复杂度都为 O(n) 的解决 Longest palindromic substring(最长回文子串)的算法。回文串是中心对称的串,比如 'abcba'、'abccba'。那么最长回文子串顾名思义,就是求一个序列中的子串中,最长的回文串。本文最后用 Python ...
分类:编程语言   时间:2015-06-16 20:49:30    阅读次数:354
LeetCode:Longest Palindromic Substring
problem: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 uniqu...
分类:其他好文   时间:2015-06-16 18:32:29    阅读次数:113
Longest Palindromic Substring
1. Question求最长回文子串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...
分类:其他好文   时间:2015-06-12 23:49:08    阅读次数:228
LeetCode 5: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-06-12 00:33:10    阅读次数:122
最长回文子串-LeetCode 5 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 longes...
分类:其他好文   时间:2015-06-11 12:36:10    阅读次数:110
620条   上一页 1 ... 42 43 44 45 46 ... 62 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!