
字符串
文章平均质量分 60
htdwade
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
LeetCode题解 —— 3. 无重复字符的最长子串
Given a string, find the length of the longest substring without repeating characters.exampleGiven “abcabcbb”, the answer is “abc”, which the length is 3.Given “bbbbb”, the answer is “b”, with the leng原创 2018-05-22 22:55:53 · 349 阅读 · 0 评论 -
LeetCode题解 —— 5. 最长回文子串
题目描述 Given a string s, find the longest palindromic substring in s. You may assume that the maximum length of s is 1000. Example 1: Input: "babad" Output: "bab" Note: &quo原创 2018-05-23 21:59:02 · 225 阅读 · 0 评论 -
LeetCode题解 —— 6. Z 字形变换
题目描述 The string "PAYPALISHIRING" is written in a zigzag pattern on a given number of rows like this: (you may want to display this pattern in a fixed font for better legibility) P A H N A P ...原创 2018-05-24 10:37:20 · 278 阅读 · 0 评论