码迷,mamicode.com
首页 >  
搜索关键字:palindromic    ( 595个结果
5. Longest Palindromic Substring(最长回文子串 manacher 算法)
Given a string s, find the longest palindromic substring in s. You may assume that the maximum length of s is 1000. Example: Input: "babad" Output: "b ...
分类:编程语言   时间:2018-02-18 15:39:23    阅读次数:197
LPS(最长回文子序列)
Given a string s, find the longest palindromic substring in s. You may assume that the maximum length of s is 1000. Example: Example: 这也是《算法导论》中的一个练习题 ...
分类:其他好文   时间:2018-02-18 10:33:38    阅读次数:175
5. 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.Example:Input: "babad" Output: "bab... ...
分类:其他好文   时间:2018-02-12 23:41:59    阅读次数:341
LeetCode 647. Palindromic Substrings
Given a string, your task is to count how many palindromic substrings in this string. The substrings with different start indexes or end indexes are c ...
分类:其他好文   时间:2018-02-10 17:02:42    阅读次数:119
Leetcode 647: Palindromic Substrings
Given a string, your task is to count how many palindromic substrings in this string. The substrings with different start indexes or end indexes are c ...
分类:其他好文   时间:2018-01-30 16:21:58    阅读次数:175
LeetCode #5 Longest Palindrome
Description Given a string s, find the longest palindromic substring in s. You may assume that the maximum length of s is 1000. Sample 思路 回文串是正着读、反着读都 ...
分类:其他好文   时间:2018-01-29 16:22:31    阅读次数:186
[Leetcode]Longest Palindromic Substring
Longest Palindromic Substring 题解 原创文章,拒绝转载 题目来源:https://leetcode.com/problems/longest palindromic substring/description/ Description Given a string s, ...
分类:其他好文   时间:2018-01-20 20:30:23    阅读次数:151
[LeetCode] Palindromic Substrings
Given a string, your task is to count how many palindromic substrings in this string. The substrings with different start indexes or end indexes are c ...
分类:其他好文   时间:2018-01-20 16:25:02    阅读次数:157
PAT 1024. Palindromic Number
A number that will be the same when it is written forwards or backwards is known as a Palindromic Number (回文数字). For example, 1234321 is a palindromic ...
分类:其他好文   时间:2018-01-15 18:44:57    阅读次数:213
Palindromic Tree 回文自动机-回文树 例题+讲解
恢复内容开始 回文树,也叫回文自动机,是2014年被西伯利亚民族发明的,其功能如下: 1、求前缀字符串中的本质不同的回文串种类 2、求每个本质不同回文串的个数 3、以下标i为结尾的回文串个数/种类 4、每个本质不同回文串包含的本质不同回文串种类 (本文参考自Palindromic Tree——回文树 ...
分类:其他好文   时间:2018-01-10 22:45:57    阅读次数:95
595条   上一页 1 ... 15 16 17 18 19 ... 60 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!