码迷,mamicode.com
首页 >  
搜索关键字:palindromic    ( 595个结果
CF 835D Palindromic characteristics(DP)
题目链接:http://codeforces.com/problemset/problem/835/D 题目: Palindromic characteristics of string s with length |s| is a sequence of |s| integers, where k ...
分类:其他好文   时间:2018-01-10 21:35:18    阅读次数:182
LN : leetcode 730 Count Different Palindromic Subsequences
lc 730 Count Different Palindromic Subsequences [730 Count Different Palindromic Subsequences][1] Given a string S, find the number of different non e ...
分类:其他好文   时间:2018-01-09 23:19:52    阅读次数:753
LeeCode(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: 暂时还没写出来 ...
分类:其他好文   时间:2018-01-07 20:04:09    阅读次数:99
5. Longest Palindromic Substring最大回文子串
最大回文子序列在:http://www.cnblogs.com/stAr-1/p/7444994.html ...
分类:其他好文   时间:2018-01-01 18:19:26    阅读次数:116
leetcode 算法整理
一 字符串中的最大回文串(第5题) Given a string s, find the longest palindromic substring in s. You may assume that the maximum length of sis 1000. Example: Example: ...
分类:编程语言   时间:2017-12-28 19:45:13    阅读次数:249
回文串最大长度
1)lettcode题目: Given a string s, find the longest palindromic substring in s. You may assume that the maximum length of s is 1000. Example: ...
分类:其他好文   时间:2017-12-20 03:40:57    阅读次数:216
Leetcode: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: Example: 题意:找到一个字符串的最长回文子 ...
分类:其他好文   时间:2017-12-18 19:10:59    阅读次数:144
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 ...
分类:其他好文   时间:2017-12-15 13:29:21    阅读次数:126
LeetCode:9. Palindromic Number(Medium)
原题链接:https://leetcode.com/problems/palindrome-number/description/ 1. 题目要求:判断一个int类型整数是否是回文,空间复杂度O(1) 2. 注意:负数不是回文!!因为前面有负号!注意整数溢出问题。 3. 思路:依然采用取余取整的方法 ...
分类:其他好文   时间:2017-12-14 10:29:44    阅读次数:153
LeetCode: Longest Palindromic Substring(Medium)
1. 题目要求:找出字符串中的最大回文子串 2. 注意:要考虑回文子串中的字符个数是奇数还是偶数!!! 例如,“aabaa”是一个奇数个字符的回文字符串,他的中心只有一个字符“b”。 “aabbaa”是一个偶数个字符的回文字符串,他的中心却有两个相同字符“bb” 3. 思路:暴力解决,以每个字符为中 ...
分类:其他好文   时间:2017-12-14 00:05:59    阅读次数:207
595条   上一页 1 ... 16 17 18 19 20 ... 60 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!