Skip to content

2026.8/9月总文档

一, overall

  • 包含blind75, lc75 在内的总700道题计划
  • 要注意后期可能进展会比前期慢很多,软柿子都被捏完了

二,完成情况,文档,日志

2026.8.7

  • 创建文档,初始化
  • 注意某些题目只存在文件未完成,注意筛选

三,详细分组 phase 1

1. Array / Hash / Two Pointer

  • 单子
    1, 15, 18, 36, 39, 40, 49, 73, 128, 152, 169, 189, 229, 442, 448, 560, 659, 670, 792, 846, 881, 905, 918
编号名字简评链接程度
1Two Sum秒,再不用管了lc001写过✅
153Sumlc015写过✅
184Sum
36Valid Sudoku
39Combination Sumlc039写过✅
40Combination Sum IIlc040写过✅
49Group Anagrams
73Set Matrix Zeroes
128Longest Consecutive Sequence
152Maximum Product Subarray
169Majority Element
189Rotate Array
229Majority Element II
442Find All Duplicates in an Array
448Find All Numbers Disappeared in an Array
560Subarray Sum Equals K
659Split Array into Consecutive Subsequences
670Maximum Swap
792Number of Matching Subsequences
846Hand of Straights
881Boats to Save People
905Sort Array By Parity
918Maximum Sum Circular Subarray

2. Sliding Window

  • 单子 3, 30, 76, 159, 209, 424, 438, 567, 713, 904, 930, 992, 1234, 1248, 1358
编号名字简评链接程度
3Longest Substring Without Repeating Characters需重写,需打磨lc003写过✅
30Substring with Concatenation of All Words
76Minimum Window Substring
159Longest Substring with At Most Two Distinct Characters
209Minimum Size Subarray Sum
424Longest Repeating Character Replacement
438Find All Anagrams in a String
567Permutation in String
713Subarray Product Less Than K
904Fruit Into Baskets
930Binary Subarrays With Sum
992Subarrays with K Different Integers
1234Replace the Substring for Balanced String
1248Count Number of Nice Subarrays
1358Number of Substrings Containing All Three Characters

3. Stack / Monotonic Stack

  • 单子
    20, 84, 85, 150, 224, 227, 394, 402, 503, 581, 636, 678, 853, 901, 907, 962, 1019, 1124, 1475, 1856
编号名字简评链接程度
20Valid Parentheses
84Largest Rectangle in Histogram
85Maximal Rectangle
150Evaluate Reverse Polish Notation
224Basic Calculator
227Basic Calculator II
394Decode Stringlc394写过✅
402Remove K Digits
503Next Greater Element II
581Shortest Unsorted Continuous Subarray
636Exclusive Time of Functions
678Valid Parenthesis String
853Car Fleet
901Online Stock Span
907Sum of Subarray Minimums
962Maximum Width Ramp
1019Next Greater Node In Linked List
1124Longest Well-Performing Interval
1475Final Prices With a Special Discount in a Shop
1856Maximum Subarray Min-Product

4. Linked List

  • 单子 2, 19, 21, 23, 24, 25, 61, 82, 83, 92, 138, 141, 142, 143, 148, 160, 203, 234, 328, 430
编号名字简评链接程度
2Add Two Numbers
19Remove Nth Node From End of Listlc019写过✅
21Merge Two Sorted Listslc021写过✅
23Merge k Sorted Lists
24Swap Nodes in Pairs
25Reverse Nodes in k-Group
61Rotate List
82Remove Duplicates from Sorted List II
83Remove Duplicates from Sorted List
92Reverse Linked List II
138Copy List with Random Pointer
141Linked List Cyclelc141写过✅
142Linked List Cycle II
143Reorder List
148Sort List
160Intersection of Two Linked Listslc160写过✅
203Remove Linked List Elements
234Palindrome Linked List
328Odd Even Linked List
430Flatten a Multilevel Doubly Linked List

5. binary tree

  • 单子 94, 98, 100, 101, 102, 105, 106, 108, 110, 111, 112, 113, 114, 129, 144, 145, 173, 222, 230, 257, 297, 337, 366, 404, 450, 508, 543, 617, 652, 654, 669, 701, 783, 814, 863, 865, 889, 958
编号名字简评链接程度
94Binary Tree Inorder Traversal
98Validate Binary Search Tree
100Same Tree
101Symmetric Tree
102Binary Tree Level Order Traversallc102写过✅
105Construct Binary Tree from Preorder and Inorder Traversal
106Construct Binary Tree from Inorder and Postorder Traversal
108Convert Sorted Array to Binary Search Tree
110Balanced Binary Tree
111Minimum Depth of Binary Tree
112Path Sumlc112写过✅
113Path Sum II
114Flatten Binary Tree to Linked List
129Sum Root to Leaf Numberslc129写过✅
144Binary Tree Preorder Traversal
145Binary Tree Postorder Traversal
173Binary Search Tree Iterator
222Count Complete Tree Nodes
230Kth Smallest Element in a BST
257Binary Tree Pathslc257写过✅
297Serialize and Deserialize Binary Tree
337House Robber III
366Find Leaves of Binary Tree
404Sum of Left Leaves
450Delete Node in a BST
508Most Frequent Subtree Sum
543Diameter of Binary Tree
617Merge Two Binary Trees
652Find Duplicate Subtrees
654Maximum Binary Tree
669Trim a Binary Search Tree
701Insert into a Binary Search Tree
783Minimum Distance Between BST Nodes
814Binary Tree Pruning
863All Nodes Distance K in Binary Tree
865Smallest Subtree with all the Deepest Nodes
889Construct Binary Tree from Preorder and Postorder Traversal
958Check Completeness of a Binary Tree

四,分组,phase 2 Graph / DFS / BFS / Union Find(约 170题)

  • 单子 200, 207, 210, 261, 269, 286, 305, 310, 323, 332, 399, 417, 433, 490, 491, 529, 542, 547, 684, 695, 721, 733, 743, 752, 756, 765, 773, 778, 785, 797, 802, 815, 827, 834, 841, 847, 854, 863, 886, 909, 934, 947, 959, 980, 994, 1091, 1129, 1162, 1192, 1254, 1277, 1293, 1306, 1319, 1334, 1368, 1376, 1391, 1466, 1514, 1557, 1584, 1631, 1765, 1971, 2039, 2045, 2192, 2203, 2285, 2368
编号名字简评链接程度
200Number of Islands
207Course Schedule
210Course Schedule II
261Graph Valid Tree
269Alien Dictionary
286Walls and Gates
305Number of Islands II
310Minimum Height Trees
323Number of Connected Components in an Undirected Graph
332Reconstruct Itinerary
399Evaluate Division
417Pacific Atlantic Water Flow
433Minimum Genetic Mutation
490The Maze
491Non-decreasing Subsequences
529Minesweeper
54201 Matrix
547Number of Provinces
684Redundant Connection
695Max Area of Island
721Accounts Merge
733Flood Fill
743Network Delay Time
752Open the Lock
756Pyramid Transition Matrix
765Couples Holding Hands
773Sliding Puzzle
778Swim in Rising Water
785Is Graph Bipartite?
797All Paths From Source to Target
802Find Eventual Safe States
815Bus Routes
827Making A Large Island
834Sum of Distances in Tree
841Keys and Roomslc841写过✅
847Shortest Path Visiting All Nodes
854K-Similar Strings
863All Nodes Distance K in Binary Tree
886Possible Bipartition
909Snakes and Ladders
934Shortest Bridge
947Most Stones Removed with Same Row or Column
959Regions Cut By Slashes
980Unique Paths III
994Rotting Orangeslc994写过✅
1091Shortest Path in Binary Matrix
1129Shortest Path with Alternating Colors
1162As Far from Land as Possible
1192Critical Connections in a Network
1254Number of Closed Islands
1277Count Square Submatrices with All Ones
1293Shortest Path in a Grid with Obstacles Elimination
1306Jump Game III
1319Number of Operations to Make Network Connected
1334Find the City With the Smallest Number of Neighbors at a Threshold Distance
1368Minimum Cost to Make at Least One Valid Path in a Grid
1376Time Needed to Inform All Employees
1391Check if There is a Valid Path in a Grid
1466Reorder Routes to Make All Paths Lead to the City Zero
1514Path with Maximum Probability
1557Minimum Number of Vertices to Reach All Nodes
1584Min Cost to Connect All Points
1631Path With Minimum Effort
1765Map of Highest Peak
1971Find if Path Exists in Graph
2039The Time When the Network Becomes Idle
2045Second Minimum Time to Reach Destination
2192All Ancestors of a Node in a Directed Acyclic Graph
2203Minimum Weighted Subgraph With the Required Paths
2285Maximum Total Importance of Roads
2368Reachable Nodes With Restrictions

五,分组,phase 3 DP / Backtracking / Greedy

  • 单子 22, 31, 46, 47, 51, 52, 77, 78, 79, 90, 91, 93, 95, 96, 131, 139, 140, 198, 213, 221, 279, 300, 309, 312, 322, 377, 416, 474, 494, 518, 583, 647, 673, 698, 714, 718, 746, 790, 799, 808, 823, 837, 877, 918, 926, 931, 935, 983, 1027, 1048, 1143, 1155, 1218, 1220, 1235, 1262, 1312, 1320, 1335, 1340, 1406, 1416, 1444, 1463, 1547, 1696, 1746, 1770, 1884, 1888, 1987, 2130, 2218
编号名字简评链接程度
22Generate Parentheseslc022写过✅
31Next Permutation
46Permutationslc046写过✅
47Permutations IIlc047写过✅
51N-Queens
52N-Queens II
77Combinations
78Subsets
79Word Search
90Subsets II
91Decode Ways
93Restore IP Addresses
95Unique Binary Search Trees II
96Unique Binary Search Trees
131Palindrome Partitioning
139Word Break
140Word Break II
198House Robberlc198写过✅
213House Robber II
221Maximal Square
279Perfect Squares
300Longest Increasing Subsequencelc300写过✅
309Best Time to Buy and Sell Stock with Cooldown
312Burst Balloons
322Coin Changelc322写过✅
377Combination Sum IV
416Partition Equal Subset Sum
474Ones and Zeroes
494Target Sum
518Coin Change II
583Delete Operation for Two Strings
647Palindromic Substrings
673Number of Longest Increasing Subsequence
698Partition to K Equal Sum Subsets
714Best Time to Buy and Sell Stock with Transaction Fee
718Maximum Length of Repeated Subarray
746Min Cost Climbing Stairslc746写过✅
790Domino and Tromino Tiling
799Champagne Tower
808Soup Servings
823Binary Trees With Factors
837New 21 Game
877Stone Game
918Maximum Sum Circular Subarray
926Flip String to Monotone Increasing
931Minimum Falling Path Sum
935Knight Dialer
983Minimum Cost For Tickets
1027Longest Arithmetic Subsequence
1048Longest String Chain
1143Longest Common Subsequencelc1143写过✅
1155Number of Dice Rolls With Target Sum
1218Longest Arithmetic Subsequence of Given Difference
1220Count Vowels Permutation
1235Maximum Profit in Job Scheduling
1262Greatest Sum Divisible by Three
1312Minimum Insertion Steps to Make a String Palindrome
1320Minimum Distance to Type a Word Using Two Fingers
1335Minimum Difficulty of a Job Schedule
1340Jump Game V
1406Stone Game III
1416Restore The Array
1444Number of Ways of Cutting a Pizza
1463Cherry Pickup II
1547Minimum Cost to Cut a Stick
1696Jump Game VI
1746Maximum Subarray Sum After One Operation
1770Maximum Score from Performing Multiplication Operations
1884Egg Drop With 2 Eggs and N Floors
1888Minimum Number of Flips to Make the Binary String Alternating
1987Number of Unique Good Subsequences
2130Maximum Twin Sum of a Linked List
2218Maximum Value of K Coins From Piles

六,分组 phase 4 Heap / Binary Search / Advanced

  • 单子 4, 33, 34, 35, 74, 81, 153, 154, 162, 287, 378, 410, 436, 475, 528, 540, 611, 658, 668, 702, 704, 875, 981, 1011, 1050, 1060, 1095, 1146, 1172, 1231, 1283, 1292, 1300, 1482, 1552, 1642, 1648, 1658, 1712, 1802, 1833, 1870, 1891, 1901
编号名字简评链接程度
4Median of Two Sorted Arrayslc004写过✅
33Search in Rotated Sorted Array
34Find First and Last Position of Element in Sorted Array
35Search Insert Position
74Search a 2D Matrix
81Search in Rotated Sorted Array II
153Find Minimum in Rotated Sorted Array
154Find Minimum in Rotated Sorted Array II
162Find Peak Element
287Find the Duplicate Number
378Kth Smallest Element in a Sorted Matrix
410Split Array Largest Sum
436Find Right Interval
475Heaters
528Random Pick with Weight
540Single Element in a Sorted Array
611Valid Triangle Number
658Find K Closest Elements
668Kth Smallest Number in Multiplication Table
702Search in a Sorted Array of Unknown Size
704Binary Search
875Koko Eating Bananas
981Time Based Key-Value Store
1011Capacity To Ship Packages Within D Days
1050Actors and Directors Who Cooperated At Least Three Times
1060Missing Element in Sorted Array
1095Find in Mountain Array
1146Snapshot Array
1172Dinner Plate Stacks
1231Divide Chocolate
1283Find the Smallest Divisor Given a Threshold
1292Maximum Side Length of a Square with Sum Less than or Equal to Threshold
1300Sum of Mutated Array Closest to Target
1482Minimum Number of Days to Make m Bouquets
1552Magnetic Force Between Two Balls
1642Furthest Building You Can Reach
1648Sell Diminishing-Valued Colored Balls
1658Minimum Operations to Reduce X to Zero
1712Ways to Split Array Into Three Subarrays
1802Maximum Value at a Given Index in a Bounded Array
1833Maximum Ice Cream Bars
1870Minimum Speed to Arrive on Time
1891Cutting Ribbons
1901Find a Peak Element II

Heap

  • 单子 215, 347, 373, 378, 480, 502, 703, 767, 786, 857, 973, 1046, 1054, 1086, 1094, 1167, 1383, 1424, 1439, 1508, 1642, 1792, 1882, 1928, 1962, 1985, 2054, 2146, 2233, 2462
编号名字简评链接程度
215Kth Largest Element in an Arraylc215写过✅
347Top K Frequent Elements
373Find K Pairs with Smallest Sums
378Kth Smallest Element in a Sorted Matrix
480Sliding Window Median
502IPO
703Kth Largest Element in a Stream
767Reorganize String
786K-th Smallest Prime Fraction
857Minimum Cost to Hire K Workers
973K Closest Points to Origin
1046Last Stone Weight
1054Distant Barcodes
1086High Five
1094Car Pooling
1167Minimum Cost to Connect Sticks
1383Maximum Performance of a Team
1424Diagonal Traverse II
1439Find the Kth Smallest Sum of a Matrix With Sorted Rows
1508Range Sum of Sorted Subarray Sums
1642Furthest Building You Can Reach
1792Maximum Average Pass Ratio
1882Process Tasks Using Servers
1928Minimum Cost to Reach Destination in Time
1962Remove Stones to Minimize the Total
1985Find the Kth Largest Integer in the Array
2054Two Best Non-Overlapping Events
2146K Highest Ranked Items Within a Price Range
2233Maximum Product After K Increments
2462Total Cost to Hire K Workers