链表,数组
- https://leetcode-cn.com/problems/reverse-linked-list/
- https://leetcode-cn.com/problems/linked-list-cycle
- https://leetcode-cn.com/problems/swap-nodes-in-pairs
- https://leetcode-cn.com/problems/linked-list-cycle-ii
- https://leetcode-cn.com/problems/reverse-nodes-in-k-group/
stack & queue
- https://leetcode-cn.com/problems/implement-queue-using-stacks/solution/
- https://leetcode-cn.com/problems/implement-stack-using-queues/description/
优先队列
- 1. https://leetcode-cn.com/problems/kth-largest-element-in-a-
- 2. https://leetcode-cn.com/problems/sliding-window-maximum/
hash table
- 1. https://leetcode-cn.com/problems/valid-anagram/description/
- 2. https://leetcode-cn.com/problems/two-sum/description/
- 3. https://leetcode-cn.com/problems/3sum/description/ 2021-11-14 22:21:40
- 4. https://leetcode-cn.com/problems/4sum/ 2021-11-15 21:46:38
- 5. https://leetcode-cn.com/problems/group-anagrams/description/ 2021-11-16 17:42:58
树
- 1. https://leetcode-cn.com/problems/validate-binary-search-tree 2021-11-17 18:42:58
- 2. https://leetcode-cn.com/problems/lowest-common-ancestor-of-a-binary-search-tree/ 2021-11-18 21:51:22
- https://leetcode-cn.com/problems/lowest-common-ancestor-
of-a-binary-tree/
递归,分治
- https://leetcode-cn.com/problems/powx-n/description/
- https://leetcode-cn.com/problems/majority-element/description/
- https://leetcode-cn.com/problems/maximum-subarray/description/
- https://leetcode-cn.com/problems/valid-anagram/#/description
- https://leetcode-cn.com/problems/find-all-anagrams-in-a-string/#/description
- https://leetcode-cn.com/problems/anagrams/#/description
贪心
- https://leetcode-cn.com/problems/best-time-to-buy-and-sell-stock-ii/description/
- https://leetcode-cn.com/problems/lemonade-change/description/
- https://leetcode-cn.com/problems/assign-cookies/description/
- https://leetcode-cn.com/problems/walking-robot-simulation/description/
dfs, bfs
- https://leetcode-cn.com/problems/binary-tree-level-order-traversal/
- https://leetcode-cn.com/problems/maximum-depth-of-binary-tree/
- https://leetcode-cn.com/problems/minimum-depth-of-binary-tree/description/
- https://leetcode-cn.com/problems/generate-parentheses/
剪枝
- https://leetcode-cn.com/problems/n-queens/
- https://leetcode-cn.com/problems/n-queens-ii/
- https://leetcode-cn.com/problems/valid-sudoku/description/
- https://leetcode-cn.com/problems/sudoku-solver/#/description
二分查找
https://www.beyond3d.com/content/articles/8/ (扩展阅读)
字典树
- https://leetcode-cn.com/problems/implement-trie-prefix-tree/#/description
- https://leetcode-cn.com/problems/word-search-ii/
位运算
- https://leetcode-cn.com/problems/number-of-1-bits/
- https://leetcode-cn.com/problems/power-of-two/
- https://leetcode-cn.com/problems/counting-bits/description/
- https://leetcode-cn.com/problems/n-queens-ii/description/
动态规划
1.https://leetcode-cn.com/problems/climbing-stairs/description/
2.https://leetcode-cn.com/problems/triangle/description/
3.https://leetcode-cn.com/problems/maximum-product-subarray/description/
4.https://leetcode-cn.com/problems/best-time-to-buy-and-sell-stock/#/description
5.https://leetcode-cn.com/problems/best-time-to-buy-and-sell-stock-ii/
6.https://leetcode-cn.com/problems/best-time-to-buy-and-sell-stock-iii/
7.https://leetcode-cn.com/problems/best-time-to-buy-and-sell-stock-iv/
8.https://leetcode-cn.com/problems/best-time-to-buy-and-sell-stock-with-cooldown/
9.https://leetcode-cn.com/problems/best-time-to-buy-and-sell-stock-with-transaction-fee/
10.https://leetcode-cn.com/problems/longest-increasing-subsequence
11.https://leetcode-cn.com/problems/coin-change/
12.https://leetcode-cn.com/problems/edit-distance/
并查集
LRU
https://leetcode-cn.com/problems/lru-cache/#/
bloom 过滤
nothing