码迷,mamicode.com
首页 >  
搜索关键字:palindromic substrin    ( 620个结果
Codeforces Round #463
A - Palindromic Supersequence B - Recursive Queries C - Permutation Cycle D - Tree E - Team Work F - Escape Through Leaf G - Palindrome Partition ...
分类:其他好文   时间:2018-02-24 14:57:45    阅读次数:202
Manacher’s Algorithm
最长的回文字符串第二部分 原文为英文页面,地址:https://articles.leetcode.com/longest-palindromic-substring-part-ii/ 给定一个字符串S,找到S中最长的回文子字符串。 注意:这是文章的第二部分:最长回文子串。在这里,我们描述了一个算法 ...
分类:其他好文   时间:2018-02-23 20:43:57    阅读次数:217
【ICM Technex 2018 and Codeforces Round #463 (Div. 1 + Div. 2, combined) A】 Palindromic Supersequence
【链接】 "我是链接,点我呀:)" 【题意】 在这里输入题意 【题解】 字符串倒着加到原串右边就好 【代码】 cpp include using namespace std; int main(){ ifdef LOCAL_DEFINE freopen("rush_in.txt", "r", std ...
分类:其他好文   时间:2018-02-18 20:41:19    阅读次数:188
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
620条   上一页 1 ... 15 16 17 18 19 ... 62 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!