String 字符串

题号 题目链接 说明
基础
28 Implement strStr()
14 Longest Common Prefix
58 Length of Last Word
387 First Unique Character in a String
383 Ransom Note
344 Reverse String
151 Reverse Words in a String
186 Reverse Words in a String II
345 Reverse Vowels of a String
205 Isomorphic Strings
293 Flip Game
294 Flip Game II
290 Word Pattern
242 Valid Anagram
49 Group Anagrams
249 Group Shifted Strings
87 Scramble String
179 Largest Number 很少考
6 ZigZag Conversion 很少考
161 One Edit Distance
38 Count and Say
358 Rearrange String k Distance Apart
316 Remove Duplicate Letters
271 Encode and Decode Strings
168 Excel Sheet Column Title
171 Excel Sheet Column Number
13 Roman to Integer
12 Integer to Roman
273 Integer to English Words
246 Strobogrammatic Number
247 Strobogrammatic Number II
248 Strobogrammatic Number III 很少考
提高
157 Read N Characters Given Read4
158 Read N Characters Given Read4 II - Call multiple times
68 Text Justification
65 Valid Number
Substring
76 Minimum Window Substring Sliding Window
30 Substring with Concatenation of All Words Sliding Window
3 Longest Substring Without Repeating Characters Sliding Window
340 Longest Substring with At Most K Distinct Characters Sliding Window
395 Longest Substring with At Least K Repeating Characters Sliding Window
159 Longest Substring with At Most Two Distinct Characters Sliding Window
Palindrome
125 Valid Palindrome
266 Palindrome Permutation
5 Longest Palindromic Substring
9 Palindrome Number
214 Shortest Palindrome
336 Palindrome Pairs
131 Palindrome Partitioning
132 Palindrome Partitioning II
267 Palindrome Permutation II
Parentheses
20 Valid Parentheses
22 Generate Parentheses
32 Longest Valid Parentheses
241 Different Ways to Add Parentheses
301 Remove Invalid Parentheses
Subsequence
392 Is Subsequence
115 Distinct Subsequences
187 Repeated DNA Sequences 很少考

String 字符串

上一篇:习题8-8 判断回文字符串


下一篇:动态规划-Minimum Insertion Steps to Make a String Palindrome