
最长子串
文章平均质量分 71
jmspan
这个作者很懒,什么都没留下…
展开
-
LeetCode 3. Longest Substring Without Repeating Characters(最长不重复子串)
原题网址:https://leetcode.com/problems/longest-substring-without-repeating-characters/ Given a string, find the length of the longest substring without repeating characters. Examples: Given "ab原创 2016-05-01 07:12:41 · 480 阅读 · 0 评论 -
LeetCode 5. Longest Palindromic Substring(最长回文子串)
原题网址:https://leetcode.com/problems/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 e原创 2016-05-19 03:25:31 · 512 阅读 · 0 评论 -
LeetCode 340. Longest Substring with At Most K Distinct Characters(最长字串)
原题网址:https://leetcode.com/problems/longest-substring-with-at-most-k-distinct-characters/ Given a string, find the length of the longest substring T that contains at most k distinct characters.原创 2016-04-30 09:10:31 · 1327 阅读 · 0 评论