名称 | 力扣地址 | 难度 | 标签 |
---|---|---|---|
844. 比较含退格的字符串(简单) | https://leetcode.cn/problems/backspace-string-compare/ | ☆☆☆ | 字符串、双指针 |
567. 字符串的排列(中等)(LCR 014) | https://leetcode.cn/problems/permutation-in-string/ | ☆☆☆ | 哈希表、滑动窗口 |
438. 找到字符串中所有字母异位词(中等)(LCR 015) | https://leetcode.cn/problems/find-all-anagrams-in-a-string/ | ☆☆☆ | 哈希表、滑动窗口 |
3. 无重复字符的最长子串(中等)(LCR 016) | https://leetcode.cn/problems/longest-substring-without-repeating-characters/ | ☆☆☆ | 哈希表、滑动窗口 |
76. 最小覆盖子串(困难)(LCR 017) | https://leetcode.cn/problems/minimum-window-substring/ | ☆☆☆☆ | 哈希表、滑动窗口 |
125. 验证回文串(简单)(LCR 018) | https://leetcode.cn/problems/valid-palindrome/ | ☆ | 筛选+判断;双指针 |
680. 验证回文串 II(简单)(LCR 019) | https://leetcode.cn/problems/valid-palindrome-ii/ | ☆☆ | 双指针、贪心 |
647. 回文子串(中等)(LCR 020) | https://leetcode.cn/problems/palindromic-substrings/ | ☆☆☆ | 双指针 |
151. 反转字符串中的单词(中等) | https://leetcode.cn/problems/reverse-words-in-a-string/ | ☆ | 使用语言特性 |
557. 反转字符串中的单词 III(简单) | https://leetcode.cn/problems/reverse-words-in-a-string-iii/ | ☆☆ | 使用额外空间 |
28. 找出字符串中第一个匹配项的下标(简单) | https://leetcode.cn/problems/find-the-index-of-the-first-occurrence-in-a-string/ | ☆ | 遍历 |
541. 反转字符串 II(简单) | https://leetcode.cn/problems/reverse-string-ii/ | ☆☆ | 模拟 |
LCR 122. 路径加密(简单) | https://leetcode.cn/problems/ti-huan-kong-ge-lcof/ | ☆☆ | 遍历 |
5. 最长回文子串(中等) | https://leetcode.cn/problems/longest-palindromic-substring/ | ☆☆ | 1:双指针、中心扩展;2:暴力搜索 |
LCR 182. 动态口令(简单) | https://leetcode.cn/problems/zuo-xuan-zhuan-zi-fu-chuan-lcof | ☆ | 字符串 |
9. 回文数(简单) | https://leetcode.cn/problems/palindrome-number | ☆ | 字符串 |
8. 字符串转换整数 (atoi)(中等) | https://leetcode.cn/problems/string-to-integer-atoi/ | ☆☆☆ | 字符串+正则 |
6. N 字形变换(中等) | https://leetcode.cn/problems/zigzag-conversion/ | ☆☆☆ | 字符串 |
648. 单词替换(中等) | https://leetcode.cn/problems/replace-words/ | ☆ | 遍历 |
7. 整数反转(中等) | https://leetcode.cn/problems/reverse-integer/ | ☆ | 数学、字符串 |
409. 最长回文串(简单) | https://leetcode.cn/problems/longest-palindrome/ | ☆☆☆ | 字符串 |
318. 最大单词长度乘积(中等) | https://leetcode.cn/problems/maximum-product-of-word-lengths/ | ☆☆ | 数组、字符串 |
字符串刷题目录
于 2023-12-10 08:24:46 首次发布