A | B | C | D | E | F | G | H | I | J | K | L | M | N | O | P | Q | R | S | T | U | V | W | X | Y | Z | AA | AB | AC | |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
1 | If you'd like to comment or ask questions, please send the request for access | ||||||||||||||||||||||||||||
2 | |||||||||||||||||||||||||||||
3 | 残酷刷题群 | 动态规划的套路小讲座 | 残酷群2020年会 | 残酷群2021年会 | |||||||||||||||||||||||||
4 | GitHub代码 | Lee215 特别节目 | |||||||||||||||||||||||||||
5 | |||||||||||||||||||||||||||||
6 | No. | Title | Date | Tag 1 | Tag 2 | Level | difficulty | YouTube | Recording Date | B站 | |||||||||||||||||||
7 | |||||||||||||||||||||||||||||
8 | |||||||||||||||||||||||||||||
9 | |||||||||||||||||||||||||||||
10 | 3405 | Find the Lexicographically Largest String From the Box I | String | Hard | |||||||||||||||||||||||||
11 | 1163 | Last Substring in Lexicographical Order | String | Hard | |||||||||||||||||||||||||
12 | 2800 | Shortest String That Contains Three Strings | String | Thinking | Medium | 1855 | |||||||||||||||||||||||
13 | 420 | Strong Password Checker | String | Medium | - | ||||||||||||||||||||||||
14 | 2468 | Split Message Based on Limit | String | Medium | 2381 | https://youtu.be/oOWb_CQU5xo | 11/13/2022 | ||||||||||||||||||||||
15 | 527* | Word Abbreviation | String | Medium | - | https://youtu.be/G-0QGOGea5M | 11/6/2022 | ||||||||||||||||||||||
16 | 68 | Text Justification | String | Medium | - | https://youtu.be/6D7YFoQ4t0w | 2/5/2022 | ||||||||||||||||||||||
17 | 418* | Sentence Screen Fitting | String | Medium | - | https://youtu.be/0WD0M2GmVTw | 1/4/2022 | https://www.bilibili.com/video/BV16P4y1E75D/ | |||||||||||||||||||||
18 | 3681 | Maximum XOR of Subsequences | Math | Medium | https://youtu.be/M4UMLvrEh-A | 9/18/2025 | |||||||||||||||||||||||
19 | 3068 | Find the Maximum Sum of Node Values | Others | Medium | 2267 | https://youtu.be/CF7rTxasbow | 3/2/2024 | ||||||||||||||||||||||
20 | 3092 | Most Frequent IDs | Sorted Container | Medium | 1793 | N/A | |||||||||||||||||||||||
21 | 3703 | Remove K-Balanced Substrings | Stack | Medium | N/A | ||||||||||||||||||||||||
22 | 3676 | Count Bowl Subarrays | Stack | Medium | https://youtu.be/sfjXOXMRnQo | 9/7/2025 | |||||||||||||||||||||||
23 | 3113 | Find the Number of Subarrays Where Boundary Elements Are Maximum | Stack | Medium | 2046 | https://youtu.be/FViZk7J_SHE | 4/20/2024 | ||||||||||||||||||||||
24 | 3609 | Minimum Moves to Reach Target in Grid | Recursive | Thinking | Hard | https://youtu.be/rdhWlz01oyE | 7/6/2025 | ||||||||||||||||||||||
25 | 3632* | Subarrays with XOR at Least K | Trie | XOR | Hard | ||||||||||||||||||||||||
26 | 3372 | Maximize the Number of Target Nodes After Connecting Trees I | Tree | Medium | |||||||||||||||||||||||||
27 | 3373 | Maximize the Number of Target Nodes After Connecting Trees II | Tree | ReRoot | Hard | ||||||||||||||||||||||||
28 | 3367 | Maximize Sum of Weights after Edge Removals | Tree | Greedy | Hard | ||||||||||||||||||||||||
29 | 3691 | Maximum Total Subarray Value II | Binary Search | RMQ | Hard | https://youtu.be/Fsng5ilHJFM | 9/29/2025 | ||||||||||||||||||||||
30 | 3677 | Count Binary Palindromic Numbers | Binary Search | Medium | https://youtu.be/9zm0CqqvkOI | 9/7/2025 | |||||||||||||||||||||||
31 | 3639 | Minimum Time to Activate String | Binary Search | Medium | |||||||||||||||||||||||||
32 | 3608 | Minimum Time for K Connected Components | Binary Search | Union Find | Medium | ||||||||||||||||||||||||
33 | 3449 | Maximize the Minimum Game Score | Binary Search | Hard | https://youtu.be/N6aScon-ehY | 2/10/2025 | |||||||||||||||||||||||
34 | 3399 | Smallest Substring With Identical Characters II | Binary Search | Hard | https://youtu.be/AdT2F0x-uKo | 1/2/2025 | |||||||||||||||||||||||
35 | 3640 | Trionic Array II | Enumeration | Medium | https://youtu.be/PrcwRr7uebE | 8/4/2025 | |||||||||||||||||||||||
36 | 3628 | Maximum Number of Subsequences After One Inserting | Enumeration | Hard | https://youtu.be/8I0lxrKfZHM | 8/1/2025 | |||||||||||||||||||||||
37 | 3447 | Assign Elements to Groups with Constraints | Enumeration | Medium | https://youtu.be/YCNZmqfCswE | 2/9/2025 | |||||||||||||||||||||||
38 | 3641* | Longest Semi-Repeating Subarray | Two Pointers | Hard | |||||||||||||||||||||||||
39 | 3634 | Minimum Removals to Balance Array | Two Pointers | Medium | |||||||||||||||||||||||||
40 | 3660 | Jump Game IX | Thinking | Hard | https://youtu.be/IMbwUOlC-FE | 8/25/2025 | |||||||||||||||||||||||
41 | 3644 | Maximum K to Sort a Permutation | Thinking | Hard | https://youtu.be/-1CXTt9jWh0 | 8/11/2025 | |||||||||||||||||||||||
42 | 3578 | Count Partitions With Max-Min Difference at Most K | Deque | DP | Hard | https://youtu.be/zRxSvdFd8Mo | 6/10/2025 | ||||||||||||||||||||||
43 | 3671 | Sum of Beautiful Subsequences | BIT | Hard | https://youtu.be/xFHXfJ1OlYY | 9/6/2025 | |||||||||||||||||||||||
44 | 3448 | Count Substrings Divisible By Last Digit | Hash | Prefix | Hard | https://youtu.be/7VDPEki9qX4 | 2/9/2025 | ||||||||||||||||||||||
45 | 3518 | Smallest Palindromic Rearrangement II | Combinatorics | digit couting | Hard | https://youtu.be/L-3r64EZoPw | 4/6/2025 | ||||||||||||||||||||||
46 | 3463 | Check If Digits Are Equal in String After Operations II | Combinatorics | Hard | https://youtu.be/grXNc-Tqgng | 2/24/2025 | |||||||||||||||||||||||
47 | 3655 | XOR After Range Multiplication Queries II | Diff Array | Sqrt Decomposition | Hard | https://youtu.be/l1rTR3OBv4E | 8/20/2025 | ||||||||||||||||||||||
48 | 3604 | Minimum Time to Reach Destination in Directed Graph | Graph | Dijkstra | Medium | ||||||||||||||||||||||||
49 | 3594 | Minimum Time to Transport All Individuals | Graph | Dijkstra | Hard | https://youtu.be/Z8n4D2nr5b4 | 6/23/2025 | ||||||||||||||||||||||
50 | 3695 | Maximize Alternating Sum Using Swaps | Union Find | Medium | N/A | ||||||||||||||||||||||||
51 | 3704 | Count No-Zero Pairs That Sum to N | digit couting | Recursion | Medium | https://youtu.be/OS_1E9o4k1s | 10/5/2025 | ||||||||||||||||||||||
52 | 3669 | Balanced K-Factor Decomposition | DFS | Medium | https://youtu.be/uI-HBJPRVhA | 9/1/2025 | |||||||||||||||||||||||
53 | 3615 | Longest Palindromic Path in Graph | DFS | Bit Mask | Hard | https://youtu.be/VFEkS5GFhtY | 7/13/2025 | ||||||||||||||||||||||
54 | 3593 | Minimum Increments to Equalize Leaf Paths | DFS | Medium | |||||||||||||||||||||||||
55 | 3459 | Length of Longest V-Shaped Diagonal Segment | DFS | Medium | https://youtu.be/5CvMx5TKsX0 | 2/18/2025 | |||||||||||||||||||||||
56 | |||||||||||||||||||||||||||||
57 | 3700 | Number of ZigZag Arrays II | 10/19/2025 | DP | Matrix Multiplication | Hard | https://youtu.be/bhMq96VOfAk | 9/28/2025 | |||||||||||||||||||||
58 | 3699 | Number of ZigZag Arrays I | 10/18/2025 | DP | Medium | N/A | |||||||||||||||||||||||
59 | 3686 | Number of Stable Subsequences | 10/17/2025 | DP | Medium | N/A | |||||||||||||||||||||||
60 | 3665 | Twisted Mirror Path Count | 10/16/2025 | DP | Medium | ||||||||||||||||||||||||
61 | 3670 | Maximum Product of Two Integers With No Common Bits | 10/15/2025 | DP | Bit Mask | Hard | https://youtu.be/kZunhvnAuqY | 9/1/2025 | |||||||||||||||||||||
62 | 3661 | Maximum Walls Destroyed by Robots | 10/14/2025 | DP | Hard | https://youtu.be/Dbmc23aEEn4 | 8/27/2025 | ||||||||||||||||||||||
63 | SKIPPED | 10/13/2025 | |||||||||||||||||||||||||||
64 | 3654 | Minimum Sum After Divisible Sum Deletions | 10/12/2025 | DP | Prefix Sum | Hard | https://youtu.be/gQO8_Vsa69c | 8/23/2025 | |||||||||||||||||||||
65 | SKIPPED | 10/11/2025 | |||||||||||||||||||||||||||
66 | 3599 | Partition Array to Minimize XOR | 10/10/2025 | DP | Prefix Sum | Medium | N/A | ||||||||||||||||||||||
67 | 3538 | Merge Operations for Minimum Travel Time | 10/9/2025 | DP | Hard | ||||||||||||||||||||||||
68 | 3579 | Minimum Steps to Convert String with Operations | 10/8/2025 | DP | Greedy | Hard | https://youtu.be/A6pdvNWq7BM | 6/13/2025 | |||||||||||||||||||||
69 | 3685 | Subsequence Sum After Capping Elements | 10/7/2025 | DP | Knapsack | Hard | https://youtu.be/G6xwQHlxRqQ | 9/14/2025 | |||||||||||||||||||||
70 | SKIPPED | 10/6/2025 | |||||||||||||||||||||||||||
71 | 3592 | Inverse Coin Change | 10/5/2025 | DP | Knapsack | Hard | https://youtu.be/58MxA96KqwQ | 6/22/2025 | |||||||||||||||||||||
72 | 3489 | Zero Array Transformation IV | 10/4/2025 | DP | Knapsack | Hard | https://youtu.be/ilvbOwh1o_U | 3/17/2025 | |||||||||||||||||||||
73 | 2902 | Count of Sub-Multisets With Bounded Sum | 10/3/2025 | DP | Knapsack | Hard | 2758 | https://youtu.be/7RyTk9IpU98 | 10/16/2023 | https://www.bilibili.com/video/BV1xg4y1X7en/ | |||||||||||||||||||
74 | 2585 | Number of Ways to Earn Points | 10/2/2025 | DP | Knapsack | Medium | 1502 | https://youtu.be/a0_HXxT78eo | 3/6/2023 | https://www.bilibili.com/video/BV1U14y1C7Kr/ | |||||||||||||||||||
75 | 2291* | Maximum Profit From Trading Stocks | 10/1/2025 | DP | Knapsack | Medium | - | ||||||||||||||||||||||
76 | 1981 | Minimize the Difference Between Target and Chosen Elements | 9/30/2025 | DP | Knapsack | Medium | 2009 | https://youtu.be/xdTkTgYU6Gw | 8/22/2021 | https://www.bilibili.com/video/BV1LL4y1Y7SF/ | |||||||||||||||||||
77 | 1449 | Form Largest Integer With Digits That Add up to Target | 9/29/2025 | DP | Knapsack | Hard | 1927 | https://youtu.be/E17ff2rZ_8M | 11/6/2020 | https://www.bilibili.com/video/BV1YR4y1U7XJ/ | |||||||||||||||||||
78 | 879 | Profitable Schemes | 9/28/2025 | DP | Knapsack | Hard | 2204 | https://youtu.be/SGod9bCXYfw | 12/26/2022 | https://www.bilibili.com/video/BV1X14y13781/ | |||||||||||||||||||
79 | SKIPPED | 9/27/2025 | |||||||||||||||||||||||||||
80 | 2518 | Number of Great Partitions | 9/26/2025 | DP | Knapsack | Hard | 2414 | https://youtu.be/V7wdVxiPFCU | 12/25/2022 | https://www.bilibili.com/video/BV1YD4y1j7Pz/ | |||||||||||||||||||
81 | 416 | Partition Equal Subset Sum | 9/25/2025 | DP | Knapsack | Medium | - | https://youtu.be/JIiDb2iPW40 | 12/27/2022 | https://www.bilibili.com/video/BV1ke4y157bV/ | |||||||||||||||||||
82 | 494 | Target Sum | 9/24/2025 | DP | Knapsack | Medium | - | https://youtu.be/MTMxgyJt3VM | 12/25/2022 | https://www.bilibili.com/video/BV1GR4y1U7Mp/ | |||||||||||||||||||
83 | 518 | Coin Change 2 | 9/23/2025 | DP | Knapsack | Hard | - | https://youtu.be/KkBwcRBhSyM | 11/7/2020 | ||||||||||||||||||||
84 | 322 | Coin Change | 9/22/2025 | DP | Knapsack | Medium | - | ||||||||||||||||||||||
85 | SKIPPED | 9/21/2025 | |||||||||||||||||||||||||||
86 | 3690 | Split and Merge Array Transformation | 9/20/2025 | BFS | Medium | ||||||||||||||||||||||||
87 | 3666 | Minimum Operations to Equalize Binary String | 9/19/2025 | BFS | Hard | ||||||||||||||||||||||||
88 | 1568 | Minimum Number of Days to Disconnect Island | 9/18/2025 | BFS | Math | Medium | https://youtu.be/PZBsve6rBqY | ||||||||||||||||||||||
89 | 1368 | Minimum Cost to Make at Least One Valid Path in a Grid | 9/17/2025 | BFS | Hard | https://youtu.be/_RQkP3kzUG8 | |||||||||||||||||||||||
90 | 1559 | Detect Cycles in 2D Grid | 9/16/2025 | BFS | Easy | https://youtu.be/l_pqy_eZJKI | |||||||||||||||||||||||
91 | 1728 | Cat and Mouse II | 9/15/2025 | BFS | Hard | 2849 | https://youtu.be/ZDHb58kJFl0 | https://www.bilibili.com/video/BV18K411u7FJ/ | |||||||||||||||||||||
92 | 913 | Cat and Mouse | 9/14/2025 | BFS | Hard | http://youtu.be/sq6Ggb98A38 | same as 4/14/2019 | ||||||||||||||||||||||
93 | SKIPPED | 9/13/2025 | |||||||||||||||||||||||||||
94 | 3629 | Minimum Jumps to Reach End via Prime Teleportation | 9/12/2025 | BFS | Medium | https://youtu.be/SZ3Nb2oWC04 | 8/6/2025 | ||||||||||||||||||||||
95 | 3568 | Minimum Moves to Clean the Classroom | 9/11/2025 | BFS | Stateful BFS | Medium | |||||||||||||||||||||||
96 | 3552 | Grid Teleportation Traversal | 9/10/2025 | BFS | Deque | Medium | |||||||||||||||||||||||
97 | 2493 | Divide Nodes Into the Maximum Number of Groups | 9/9/2025 | BFS | Hard | 2415 | https://youtu.be/oa26sFeHRNM | 12/4/2022 | https://www.bilibili.com/video/BV15K411r7G1/ | ||||||||||||||||||||
98 | 1263 | Minimum Moves to Move a Box to Their Target Location | 9/8/2025 | BFS | Deque | Hard | https://youtu.be/RwmNMRdnLl0 | ||||||||||||||||||||||
99 | SKIPPED | 9/7/2025 | |||||||||||||||||||||||||||
100 | SKIPPED | 9/6/2025 |