0
点赞
收藏
分享

微信扫一扫

字符串数组常见练习题

1. 字符串

1、字符串基础问题
https://leetcode-cn.com/problems/to-lower-case/
https://leetcode-cn.com/problems/length-of-last-word/
https://leetcode-cn.com/problems/jewels-and-stones/
https://leetcode-cn.com/problems/first-unique-character-in-a-string/
https://leetcode-cn.com/problems/string-to-integer-atoi/

2、字符串操作问题
https://leetcode-cn.com/problems/longest-common-prefix/description/
https://leetcode-cn.com/problems/reverse-string
https://leetcode-cn.com/problems/reverse-string-ii/
https://leetcode-cn.com/problems/reverse-words-in-a-string/
https://leetcode-cn.com/problems/reverse-words-in-a-string-iii/
https://leetcode-cn.com/problems/reverse-only-letters/

3、异位词问题
https://leetcode-cn.com/problems/valid-anagram/
https://leetcode-cn.com/problems/group-anagrams/
https://leetcode-cn.com/problems/find-all-anagrams-in-a-string/

4、回文串问题
https://leetcode-cn.com/problems/valid-palindrome/
https://leetcode-cn.com/problems/valid-palindrome-ii/
https://leetcode-cn.com/problems/longest-palindromic-substring/

5、最长子串、子序列问题
https://leetcode-cn.com/problems/longest-common-subsequence/
https://leetcode-cn.com/problems/edit-distance/
https://leetcode-cn.com/problems/longest-palindromic-substring/

6、字符串 +DP 问题
https://leetcode-cn.com/problems/regular-expression-matching/
https://leetcode-cn.com/problems/regular-expression-matching/solution/ji-yu-guan-fang-ti-jie-gen-xiang-xi-de-jiang-jie-b/
https://leetcode-cn.com/problems/wildcard-matching/
https://leetcode-cn.com/problems/distinct-subsequences/

7、其他

https://leetcode-cn.com/problems/first-unique-character-in-a-string/
https://leetcode-cn.com/problems/string-to-integer-atoi/
https://leetcode-cn.com/problems/reverse-string-ii/
https://leetcode-cn.com/problems/reverse-words-in-a-string/
https://leetcode-cn.com/problems/reverse-words-in-a-string-iii/
https://leetcode-cn.com/problems/reverse-only-letters/
https://leetcode-cn.com/problems/find-all-anagrams-in-a-string/
https://leetcode-cn.com/problems/longest-palindromic-substring/
https://leetcode-cn.com/problems/isomorphic-strings/
https://leetcode-cn.com/problems/valid-palindrome-ii/
https://leetcode-cn.com/problems/wildcard-matching
https://leetcode-cn.com/problems/longest-valid-parentheses
https://leetcode-cn.com/problems/distinct-subsequences/

2. 数组

1、ArrayList 题目
https://leetcode-cn.com/problems/container-with-most-water/
https://leetcode-cn.com/problems/move-zeroes/
https://leetcode.com/problems/climbing-stairs/
https://leetcode-cn.com/problems/3sum/ 

2、Linked List 实战题目
https://leetcode.com/problems/reverse-linked-list/
https://leetcode.com/problems/swap-nodes-in-pairs
https://leetcode.com/problems/linked-list-cycle
https://leetcode.com/problems/linked-list-cycle-ii
https://leetcode.com/problems/reverse-nodes-in-k-group/

3、其他
https://leetcode-cn.com/problems/remove-duplicates-from-sorted-array/
https://leetcode-cn.com/problems/rotate-array/
https://leetcode-cn.com/problems/merge-two-sorted-lists/
https://leetcode-cn.com/problems/merge-sorted-array/
https://leetcode-cn.com/problems/two-sum/
https://leetcode-cn.com/problems/move-zeroes/
https://leetcode-cn.com/problems/plus-one/

举报

相关推荐

0 条评论