![](https://img-blog.csdnimg.cn/20201014180756927.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
string
cainiao_23333
这个作者很懒,什么都没留下…
展开
-
5. Longest Palindromic Substring
https://leetcode.com/problems/longest-palindromic-substring/Given a strings, find the longest palindromic substring ins. You may assume that the maximum length ofsis 1000.Example 1:Input: "...原创 2019-09-08 03:44:29 · 81 阅读 · 0 评论 -
386. 最多有k个不同字符的最长子字符串
https://www.lintcode.com/problem/longest-substring-with-at-most-k-distinct-characters/descriptionleetcode 340给定字符串S,找到最多有k个不同字符的最长子串T。样例样例 1:输入: S = "eceba" 并且 k = 3输出: 4解释: T = "ece...原创 2019-09-27 10:11:22 · 170 阅读 · 0 评论