Appearance
2026.9月计划
overall
- 九月要冲刺了,blind75 lc75 写过的先快速刷一遍手感
- 这个一天感觉得至少十道来了,尽可能一周内扫平这两个里面做过的
第一批 9.7
Blind 75
Array / Hashing
- LC 152 - Maximum Product Subarray
Two Pointers
- LC 11 - Container With Most Water
- LC 15 - 3Sum
Sliding Window
- LC 424 - Longest Repeating Character Replacement
- LC 76 - Minimum Window Substring
Binary Search
- LC 33 - Search in Rotated Sorted Array
Linked List
- LC 21 - Merge Two Sorted Lists
- LC 143 - Reorder List
- LC 23 - Merge k Sorted Lists
Tree
- LC 572 - Subtree of Another Tree
- LC 98 - Validate Binary Search Tree
- LC 230 - Kth Smallest Element in a BST
- LC 235 - Lowest Common Ancestor of a BST
- LC 105 - Construct Binary Tree from Preorder and Inorder Traversal
- LC 124 - Binary Tree Maximum Path Sum
- LC 297 - Serialize and Deserialize Binary Tree
Heap / Priority Queue
- LC 347 - Top K Frequent Elements
- LC 295 - Find Median from Data Stream
Interval
- LC 57 - Insert Interval
- LC 252 - Meeting Rooms
- LC 253 - Meeting Rooms II
Backtracking
- LC 79 - Word Search
Graph
- LC 133 - Clone Graph
- LC 417 - Pacific Atlantic Water Flow
- LC 130 - Surrounded Regions
- LC 207 - Course Schedule
- LC 261 - Graph Valid Tree
- LC 323 - Number of Connected Components in an Undirected Graph
- LC 127 - Word Ladder
Trie
- LC 208 - Implement Trie
- LC 211 - Design Add and Search Words Data Structure
- LC 212 - Word Search II
Dynamic Programming
- LC 139 - Word Break
Bit Manipulation
- LC 191 - Number of 1 Bits
- LC 338 - Counting Bits
- LC 268 - Missing Number
- LC 190 - Reverse Bits
- LC 371 - Sum of Two Integers
Matrix
- LC 54 - Spiral Matrix
- LC 48 - Rotate Image
- LC 73 - Set Matrix Zeroes
LeetCode 75
Array / String
- LC 1071 - Greatest Common Divisor of Strings
- LC 605 - Can Place Flowers
- LC 443 - String Compression
Two Pointers
- LC 11 - Container With Most Water
- LC 1679 - Max Number of K-Sum Pairs
Sliding Window
- LC 643 - Maximum Average Subarray I
- LC 1456 - Maximum Number of Vowels in a Substring of Given Length
Stack
- LC 735 - Asteroid Collision
- LC 394 - Decode String
Queue
- LC 933 - Number of Recent Calls
- LC 649 - Dota2 Senate
Linked List
- LC 2130 - Maximum Twin Sum of a Linked List
- LC 328 - Odd Even Linked List
- LC 2095 - Delete the Middle Node of a Linked List
Binary Tree DFS
- LC 437 - Path Sum III
- LC 1372 - Longest ZigZag Path in a Binary Tree
- LC 236 - Lowest Common Ancestor of a Binary Tree
BST
- LC 700 - Search in a Binary Search Tree
- LC 450 - Delete Node in a BST
Graph DFS
- LC 1466 - Reorder Routes to Make All Paths Lead to the City Zero
- LC 399 - Evaluate Division
Graph BFS
- LC 1926 - Nearest Exit from Entrance in Maze
- LC 994 - Rotting Oranges
Heap / Priority Queue
- LC 215 - Kth Largest Element in an Array
- LC 2336 - Smallest Number in Infinite Set
- LC 2542 - Maximum Subsequence Score
- LC 2462 - Total Cost to Hire K Workers
Binary Search
- LC 162 - Find Peak Element
- LC 875 - Koko Eating Bananas
DP - 1D
- LC 790 - Domino and Tromino Tiling
DP - Multidimensional
- LC 72 - Edit Distance
Bit Manipulation
- LC 338 - Counting Bits
- LC 1318 - Minimum Flips to Make a OR b Equal to c
Trie
- LC 208 - Implement Trie
- LC 1268 - Search Suggestions System
Monotonic Stack
- LC 901 - Online Stock Span
第二批 9.18
原题单
Array / Hashing
- LC 560 - Subarray Sum Equals K 前缀和 + HashMap,必须会。
- LC 523 - Continuous Subarray Sum 前缀和余数,很典型。
- LC 525 - Contiguous Array 把 0 当 -1,前缀和 + 哈希。
- LC 128 - Longest Consecutive Sequence 你写过,再拿来当复习题。
- LC 36 - Valid Sudoku 哈希集合训练。
Sliding Window
- LC 209 - Minimum Size Subarray Sum 最标准可变窗口。
- LC 567 - Permutation in String 424 / 76 的前置题。
- LC 438 - Find All Anagrams in a String 和 567 几乎一套。
- LC 904 - Fruit Into Baskets “最多两种”的窗口。
- LC 1004 - Max Consecutive Ones III 你已经 K,留作启动题。
Two Pointers / Sorting
- LC 16 - 3Sum Closest 接 15。
- LC 18 - 4Sum 继续强化排序 + 双指针。
- LC 42 - Trapping Rain Water 非常值得,双指针经典进阶。
- LC 31 - Next Permutation 很典型的数组操作题。
Binary Search
- LC 34 - Find First and Last Position of Element in Sorted Array 练 lower bound / upper bound。
- LC 74 - Search a 2D Matrix 二分基础迁移。
- LC 1011 - Capacity To Ship Packages Within D Days 二分答案,很重要。
- LC 1482 - Minimum Number of Days to Make m Bouquets 再练一次二分答案。
- LC 875 - Koko Eating Bananas 你清单里本来就有,这三题建议一起写。
Linked List
- LC 2 - Add Two Numbers 链表模拟基本功。
- LC 24 - Swap Nodes in Pairs 指针操作。
- LC 92 - Reverse Linked List II 206 的进阶版本。
- LC 142 - Linked List Cycle II 快慢指针的重要应用。
- LC 138 - Copy List with Random Pointer 北美面试非常经典。
Tree
- LC 110 - Balanced Binary Tree DFS 返回值。
- LC 543 - Diameter of Binary Tree 很重要,开始理解“递归返回什么 vs 全局答案是什么”。
- LC 112 - Path Sum
- LC 113 - Path Sum II DFS + backtracking。
- LC 199 - Binary Tree Right Side View 你写过,可以快速复习。
- LC 114 - Flatten Binary Tree to Linked List 树结构修改,稍微进阶。
削减版题单
Array / Hashing
- LC 560 - Subarray Sum Equals K 前缀和 + HashMap,必须会。
- LC 523 - Continuous Subarray Sum 前缀和余数,很典型。
- LC 525 - Contiguous Array 把 0 当 -1,前缀和 + 哈希。
- LC 128 - Longest Consecutive Sequence 你写过,再拿来当复习题。
- LC 36 - Valid Sudoku 哈希集合训练。
Sliding Window
- LC 209 - Minimum Size Subarray Sum 最标准可变窗口。
- LC 567 - Permutation in String 424 / 76 的前置题。
- LC 438 - Find All Anagrams in a String 和 567 几乎一套。
- LC 904 - Fruit Into Baskets “最多两种”的窗口。
- LC 1004 - Max Consecutive Ones III 你已经 K,留作启动题。
Two Pointers / Sorting
- LC 16 - 3Sum Closest 接 15。
- LC 18 - 4Sum 继续强化排序 + 双指针。
- LC 42 - Trapping Rain Water 非常值得,双指针经典进阶。
- LC 31 - Next Permutation 很典型的数组操作题。
Binary Search
- LC 34 - Find First and Last Position of Element in Sorted Array 练 lower bound / upper bound。
- LC 74 - Search a 2D Matrix 二分基础迁移。
- LC 1011 - Capacity To Ship Packages Within D Days 二分答案,很重要。
- LC 1482 - Minimum Number of Days to Make m Bouquets 再练一次二分答案。
- LC 875 - Koko Eating Bananas 你清单里本来就有,这三题建议一起写。
Linked List
- LC 2 - Add Two Numbers 链表模拟基本功。
- LC 24 - Swap Nodes in Pairs 指针操作。
- LC 92 - Reverse Linked List II 206 的进阶版本。
- LC 142 - Linked List Cycle II 快慢指针的重要应用。
- LC 138 - Copy List with Random Pointer 北美面试非常经典。
Tree
- LC 110 - Balanced Binary Tree DFS 返回值。
- LC 543 - Diameter of Binary Tree 很重要,开始理解“递归返回什么 vs 全局答案是什么”。
- LC 112 - Path Sum
- LC 113 - Path Sum II DFS + backtracking。
- LC 114 - Flatten Binary Tree to Linked List 树结构修改,稍微进阶。
第三批 9.21
原题单
Array / Hashing
- LC 1 - Two Sum
- LC 219 - Contains Duplicate II
- LC 349 - Intersection of Two Arrays
- LC 347 - Top K Frequent Elements
- LC 560 - Subarray Sum Equals K
Sliding Window
- LC 209 - Minimum Size Subarray Sum
- LC 904 - Fruit Into Baskets
- LC 567 - Permutation in String
- LC 438 - Find All Anagrams in a String
Two Pointers
- LC 977 - Squares of a Sorted Array
- LC 844 - Backspace String Compare
- LC 16 - 3Sum Closest
Binary Search
- LC 704 - Binary Search
- LC 35 - Search Insert Position
- LC 74 - Search a 2D Matrix
- LC 34 - Find First and Last Position of Element in Sorted Array
- LC 875 - Koko Eating Bananas
Linked List
- LC 876 - Middle of the Linked List
- LC 141 - Linked List Cycle
- LC 2 - Add Two Numbers
- LC 24 - Swap Nodes in Pairs
Tree
- LC 101 - Symmetric Tree
- LC 111 - Minimum Depth of Binary Tree
- LC 110 - Balanced Binary Tree
- LC 543 - Diameter of Binary Tree
- LC 112 - Path Sum
削减版题单
Array / Hashing
- LC 1 - Two Sum
- LC 347 - Top K Frequent Elements
- LC 560 - Subarray Sum Equals K
Sliding Window
- LC 209 - Minimum Size Subarray Sum
- LC 904 - Fruit Into Baskets
- LC 567 - Permutation in String
- LC 438 - Find All Anagrams in a String
Two Pointers
- LC 977 - Squares of a Sorted Array
- LC 844 - Backspace String Compare
- LC 16 - 3Sum Closest
Binary Search
- LC 35 - Search Insert Position
- LC 74 - Search a 2D Matrix
- LC 34 - Find First and Last Position of Element in Sorted Array
- LC 875 - Koko Eating Bananas
Linked List
- LC 876 - Middle of the Linked List
- LC 141 - Linked List Cycle
Tree
- LC 101 - Symmetric Tree
- LC 110 - Balanced Binary Tree
- LC 543 - Diameter of Binary Tree
DP / Greedy 等
第四批 9.27–10.3
Array / Hash / Prefix Sum
这一块现在可以直接上 Medium。
- LC 930 - Binary Subarrays With Sum — Medium 前缀和 + hashmap。 你写过 560 后非常适合接这个。
- LC 974 - Subarray Sums Divisible by K — Medium prefix remainder。 属于 523 那一套真正值得掌握的版本。
- LC 49 - Group Anagrams — Medium 你已经写过,再隔几天盲写一次,当热身。
- LC 380 - Insert Delete GetRandom O(1) — Medium HashMap + Array,非常面试味。
- LC 238 - Product of Array Except Self — Medium 再盲写一次。 这题你已经接近应该“永久 K”了。
- LC 271 - Encode and Decode Strings — Medium 非常适合你现在做,字符串设计题,不难但面试感强。
Sliding Window
你之前窗口做得不少,但真正 Medium 窗口还可以补。 7. LC 713 - Subarray Product Less Than K — Medium 非常标准的 variable window。 8. LC 424 - Longest Repeating Character Replacement — Medium 你单子里有,但没看到近期实际完成记录。 这一题建议认真 K。 9. LC 3 - Longest Substring Without Repeating Characters — Medium 你写过。 现在目标是 10 分钟以内盲写。 10. LC 1658 - Minimum Operations to Reduce X to Zero — Medium 很适合训练“题面不像窗口,但转换之后是窗口”。 11. LC 1208 - Get Equal Substrings Within Budget — Medium 比较纯粹的 sliding window。
Two Pointers / Array manipulation
- LC 11 - Container With Most Water — Medium 你单子里有,没看到近期重新刷,值得 K。
- LC 15 - 3Sum — Medium 你已经准备很久了,现在必须真正盲写。
- LC 75 - Sort Colors — Medium 三指针 / Dutch National Flag。 高频而且代码短。
- LC 881 - Boats to Save People — Medium 排序 + 双指针 + greedy,特别适合你。
- LC 42 - Trapping Rain Water — Hard 本周 Hard 推荐之一。 不要求第一次自己完整想出来,但要理解左右 max 为什么成立。
Binary Search
这是本周我比较建议你重点刷的一类。 17. LC 153 - Find Minimum in Rotated Sorted Array — Medium 你之前还是迷糊,再来。 18. LC 33 - Search in Rotated Sorted Array — Medium 153 后立刻写。 19. LC 81 - Search in Rotated Sorted Array II — Medium 看重复元素怎么破坏判断。 20. LC 540 - Single Element in a Sorted Array — Medium 很好的 binary search pattern。 21. LC 1011 - Capacity To Ship Packages Within D Days — Medium 二分答案核心题。 22. LC 1482 - Minimum Number of Days to Make m Bouquets — Medium 和 875 / 1011 一组。 23. LC 410 - Split Array Largest Sum — Hard 二分答案 Hard。 如果 1011 写舒服了再碰。
Linked List
你目前这块最大的任务不是数量,而是把指针恐惧消掉。 24. LC 92 - Reverse Linked List II — Medium 206 的真正进阶。 25. LC 142 - Linked List Cycle II — Medium Floyd cycle detection。 26. LC 160 - Intersection of Two Linked Lists — Easy 这道虽然 Easy,但思想非常经典,拿来当热身。 27. LC 19 - Remove Nth Node From End of List — Medium 你已经艰难 K 过。 隔一周重新写,看看是否真的 K。 28. LC 138 - Copy List with Random Pointer — Medium 面试经典。 29. LC 86 - Partition List — Medium 两条链表 + 拼接,非常适合你当前阶段。 30. LC 146 - LRU Cache — Medium 本周链表 Boss。 HashMap + doubly linked list。
Tree / DFS
这块你现在正处于一个很适合快速进阶的阶段。 31. LC 543 - Diameter of Binary Tree — Easy 虽然 Easy,但这个模式特别重要: DFS return value ≠ global answer 32. LC 236 - Lowest Common Ancestor of a Binary Tree — Medium 很重要。 33. LC 113 - Path Sum II — Medium DFS + backtracking。 34. LC 129 - Sum Root to Leaf Numbers — Medium 递归状态传递。 35. LC 437 - Path Sum III — Medium 你原先单子里有,真正值得做。 36. LC 1026 - Maximum Difference Between Node and Ancestor — Medium 很好的 DFS 状态训练。 37. LC 98 - Validate Binary Search Tree — Medium 你单子里有。 建议不要只会 inorder,最好理解 lower/upper bound。 38. LC 105 - Construct Binary Tree from Preorder and Inorder Traversal — Medium 本周树 Boss。 39. LC 124 - Binary Tree Maximum Path Sum — Hard 树 Hard 第一题我最建议你做这个。
Graph
你 200 / 547 之后,正好继续扩。 40. LC 695 - Max Area of Island — Medium 200 的直接升级。 41. LC 1020 - Number of Enclaves — Medium 继续岛屿题。 42. LC 994 - Rotting Oranges — Medium Multi-source BFS,必须会。 43. LC 207 - Course Schedule — Medium Topological sort 入门。 44. LC 210 - Course Schedule II — Medium 207 的自然延伸。 45. LC 133 - Clone Graph — Medium DFS/BFS + hashmap。 46. LC 684 - Redundant Connection — Medium Union Find 入门。
Backtracking
你现在 46 / 47 已经可以作为起点。 47. LC 77 - Combinations — Medium 非常标准。 48. LC 40 - Combination Sum II — Medium 你写过 39,这题正好练去重。 49. LC 90 - Subsets II — Medium 78 + 47 的结合体。 50. LC 131 - Palindrome Partitioning — Medium 开始练“切割问题”。 51. LC 79 - Word Search — Medium 二维 DFS + backtracking。
Stack / Monotonic Stack
你已经写过 739,所以现在继续。 52. LC 496 - Next Greater Element I — Easy 5 分钟热身。 53. LC 503 - Next Greater Element II — Medium 循环数组。 54. LC 901 - Online Stock Span — Medium 单调栈很标准。 55. LC 84 - Largest Rectangle in Histogram — Hard 单调栈 Boss。 这题第一次可以看答案。
DP
这里不需要再大量刷 Fibonacci 型 Easy 了。 56. LC 91 - Decode Ways — Medium 一维 DP 经典。 57. LC 152 - Maximum Product Subarray — Medium 你原来就在 Blind75,值得正式 K。 58. LC 416 - Partition Equal Subset Sum — Medium 0/1 knapsack 入门核心题。 59. LC 518 - Coin Change II — Medium 和 322 配套。 60. LC 1143 - Longest Common Subsequence — Medium 你之前未 K,再回来。 61. LC 5 - Longest Palindromic Substring — Medium 二维 DP 或 expand around center。 62. LC 647 - Palindromic Substrings — Medium 跟 5 连写。
进展
9.7 Mon
lc001, 121, 217(重复看set,哈希也行), 104(好像跟之前写中文不是特别一样),70 198,1143 (未k),841(有点费劲),199, 141, 392, 322, 62, 136(硬背), 1207
9.9 Wed
2352(写的不是标准写法,再看看吧),1768
9.10 Thu
300(算是k了? 和标准做法写法不完全一样但是k了),1657(不难但感觉时空复杂度很炸), 100, 242(哈希也不一定要一个个比去,这个就是加加减减),739(算是过了吧可以再刷下),
9.11 Fri
238(左右乘,思路知道,未k,只一个数组不用那啥),3,125(没什么难的但k的很恶心), 200(新题,感觉重大进展,我真觉得我做过这个,很久很久以前可能,但是这玩意,数数和dfs不是一个功能很扯,很迷糊,但是感觉学会了,时不时再看看),1137, 1431, 39(能过lc官网,标准版传start索引去重),
9.12 Sat
49(新题,算是k了吧,可以再搞), 1732(像小学生题,不知道为啥是lc), 724 很诡异, 345, 151(算是全k了吧感觉应该),334(算是知道了,得找个时间给捋顺了),
9.13 Sun
53(不算k吧,可以再做做,我总感觉上一次看那个解释看的贼复杂,这次还好理解很多), 128(也是未k的新题,可以再搞), 167(K), 17(就当k了吧,也没啥好说的), 216(这个费劲啊,还得再写,不过全排列1,2再写一次写的滚瓜烂熟之后可以拿这个当回溯起手式),2215(再做一遍吧不算k了,虽然也没什么特殊的),78(也可以再写一遍,算不上k了), 1493(好像是k了,可以再写一遍看看,思路不难倒是),
9.14 Mon
226(算是能k,但是说不太好,我第一次写这个,不过我觉得二叉树easy都挺蠢的,都是写两行就完事了), 102(随便k),1448(感觉也还好),872(说来也不难,但这次写的这个费劲啊), 1161(还行吧,可以用来替代层序遍历的本题), 435(稍微有点迷), 213(太奇葩了, 不过写过一遍感觉还好)
9.15 Tue 今天搞最低限度的吧,清几个软柿子或者啥的,三四个
2390(这个k的还是比较痛快的)
9.16 Wed
283(说穿了也没什么,就是不要管0,双指针类原地交换类管位置,就是该放哪,就行了), 238(好像可以了,记一下吧,可以再写一遍), 452(有个简单办法,可以找时间过一下), 374(很迷惑但不用再写了,二分类有太多上位替代), 153(还是有点迷惑,二分可以再来一轮)
9.17 Thu
19(艰难的k,恶心的无以复加), 206(硬背吧,那你要是实在不行就寄呗,四行就), 1004(算是k了吧),
9.18 Fri
之前不用这个帖子了,扫easy去了
停了几天连续
9.21 Mon
199(不是这次写的,以前写过)
349,219, 111,112,704, 002(艰难的k,不过说穿也没啥,一个current,一个head), 24(可以和206一块看), 1189, 1217, 1827, 1480, 1662,896, 860, 144(算是吧,反正都是网站上新增的,不能算做过,算补兵了),145(同上), 268(有个位运算版本),
9.23 Wed
746(算是k了没有啥的), 714(感觉能写但是不k), 2300(可以作为二分的基准), 56(老早就写过,区间问题容易乱脑子),547(不好但能跑,可以连着其他dfs一块搞),
9.26 Sat
上周颓爆了......啥也没干 周末不太确定,写两个全排列还有几个老写的练手的感受一下吧,反正对于求职也没啥坏处的,暂时没写单子里的 94, 46(依然不知所以然,但写的健步如飞),47(也行吧),
9.27 Sun
77(算是吧),