| 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 | 3640 | Trionic Array II | Enumeration | Medium | https://youtu.be/PrcwRr7uebE | 8/4/2025 | |||||||||||||||||||||||
30 | 3628 | Maximum Number of Subsequences After One Inserting | Enumeration | Hard | https://youtu.be/8I0lxrKfZHM | 8/1/2025 | |||||||||||||||||||||||
31 | 3447 | Assign Elements to Groups with Constraints | Enumeration | Medium | https://youtu.be/YCNZmqfCswE | 2/9/2025 | |||||||||||||||||||||||
32 | 3641* | Longest Semi-Repeating Subarray | Two Pointers | Hard | |||||||||||||||||||||||||
33 | 3634 | Minimum Removals to Balance Array | Two Pointers | Medium | |||||||||||||||||||||||||
34 | 3660 | Jump Game IX | Thinking | Hard | https://youtu.be/IMbwUOlC-FE | 8/25/2025 | |||||||||||||||||||||||
35 | 3644 | Maximum K to Sort a Permutation | Thinking | Hard | https://youtu.be/-1CXTt9jWh0 | 8/11/2025 | |||||||||||||||||||||||
36 | 3578 | Count Partitions With Max-Min Difference at Most K | Deque | DP | Hard | https://youtu.be/zRxSvdFd8Mo | 6/10/2025 | ||||||||||||||||||||||
37 | 3671 | Sum of Beautiful Subsequences | BIT | Hard | https://youtu.be/xFHXfJ1OlYY | 9/6/2025 | |||||||||||||||||||||||
38 | 3714 | Longest Balanced Substring II | Hash | Prefix | Hard | ||||||||||||||||||||||||
39 | 3448 | Count Substrings Divisible By Last Digit | Hash | Prefix | Hard | https://youtu.be/7VDPEki9qX4 | 2/9/2025 | ||||||||||||||||||||||
40 | 3518 | Smallest Palindromic Rearrangement II | Combinatorics | digit couting | Hard | https://youtu.be/L-3r64EZoPw | 4/6/2025 | ||||||||||||||||||||||
41 | 3463 | Check If Digits Are Equal in String After Operations II | Combinatorics | Hard | https://youtu.be/grXNc-Tqgng | 2/24/2025 | |||||||||||||||||||||||
42 | 3655 | XOR After Range Multiplication Queries II | Diff Array | Sqrt Decomposition | Hard | https://youtu.be/l1rTR3OBv4E | 8/20/2025 | ||||||||||||||||||||||
43 | 3604 | Minimum Time to Reach Destination in Directed Graph | Graph | Dijkstra | Medium | ||||||||||||||||||||||||
44 | 3594 | Minimum Time to Transport All Individuals | Graph | Dijkstra | Hard | https://youtu.be/Z8n4D2nr5b4 | 6/23/2025 | ||||||||||||||||||||||
45 | 3695 | Maximize Alternating Sum Using Swaps | Union Find | Medium | N/A | ||||||||||||||||||||||||
46 | 3704 | Count No-Zero Pairs That Sum to N | digit couting | Recursion | Medium | https://youtu.be/OS_1E9o4k1s | 10/5/2025 | ||||||||||||||||||||||
47 | 3715 | Sum of Perfect Square Ancestors | DFS | Prime | Medium | ||||||||||||||||||||||||
48 | 3669 | Balanced K-Factor Decomposition | DFS | Medium | https://youtu.be/uI-HBJPRVhA | 9/1/2025 | |||||||||||||||||||||||
49 | 3615 | Longest Palindromic Path in Graph | DFS | Bit Mask | Hard | https://youtu.be/VFEkS5GFhtY | 7/13/2025 | ||||||||||||||||||||||
50 | 3593 | Minimum Increments to Equalize Leaf Paths | DFS | Medium | |||||||||||||||||||||||||
51 | 3459 | Length of Longest V-Shaped Diagonal Segment | DFS | Medium | https://youtu.be/5CvMx5TKsX0 | 2/18/2025 | |||||||||||||||||||||||
52 | |||||||||||||||||||||||||||||
53 | |||||||||||||||||||||||||||||
54 | |||||||||||||||||||||||||||||
55 | |||||||||||||||||||||||||||||
56 | |||||||||||||||||||||||||||||
57 | |||||||||||||||||||||||||||||
58 | |||||||||||||||||||||||||||||
59 | |||||||||||||||||||||||||||||
60 | 3691 | Maximum Total Subarray Value II | 11/10/2025 | Binary Search | RMQ | Hard | https://youtu.be/Fsng5ilHJFM | 9/29/2025 | |||||||||||||||||||||
61 | 3677 | Count Binary Palindromic Numbers | 11/9/2025 | Binary Search | Medium | https://youtu.be/9zm0CqqvkOI | 9/7/2025 | ||||||||||||||||||||||
62 | 3639 | Minimum Time to Activate String | 11/8/2025 | Binary Search | Medium | ||||||||||||||||||||||||
63 | 3608 | Minimum Time for K Connected Components | 11/7/2025 | Binary Search | Union Find | Medium | |||||||||||||||||||||||
64 | 3600 | Maximize Spanning Tree Stability with Upgrades | 11/6/2025 | Binary Search | MST | Hard | https://youtu.be/JIevPW-LLDI | 6/30/2025 | |||||||||||||||||||||
65 | 3534 | Path Existence Queries in a Graph II | 11/5/2025 | Binary Search | Binary Lifting | Hard | 2507 | https://youtu.be/ffMSiTIgwMQ | 6/18/2025 | ||||||||||||||||||||
66 | 3464 | Maximize the Distance Between Points on a Square | 11/4/2025 | Binary Search | Hard | 2805 | https://youtu.be/G_bJxy6Dc3k | 6/25/2025 | |||||||||||||||||||||
67 | 3449 | Maximize the Minimum Game Score | 11/3/2025 | Binary Search | Hard | https://youtu.be/N6aScon-ehY | 2/10/2025 | ||||||||||||||||||||||
68 | 3399 | Smallest Substring With Identical Characters II | 11/2/2025 | Binary Search | Hard | https://youtu.be/AdT2F0x-uKo | 1/2/2025 | ||||||||||||||||||||||
69 | 3097 | Shortest Subarray With OR at Least K II | 11/1/2025 | Binary Search | Medium | 1891 | https://youtu.be/be-rHbISs_E | 3/30/2024 | https://www.bilibili.com/video/BV1Rb421n7qb/ | ||||||||||||||||||||
70 | 3007 | Maximum Number That Sum of the Prices Is Less Than or Equal to K | 10/31/2025 | Binary Search | digit couting | Hard | 2258 | https://youtu.be/tw6jJCIq0lU | 1/14/2023 | https://www.bilibili.com/video/BV1ug4y1e7U7/ | |||||||||||||||||||
71 | 2861 | Maximum Number of Alloys | 10/30/2025 | Binary Search | Medium | 1981 | N/A | ||||||||||||||||||||||
72 | SKIPPED | 10/29/2025 | |||||||||||||||||||||||||||
73 | 2616 | Minimize the Maximum Difference of Pairs | 10/28/2025 | Binary Search | Hard | 2155 | https://youtu.be/90Fyca_wwe8 | 4/23/2023 | https://www.bilibili.com/video/BV1Fm4y1v7q5/ | ||||||||||||||||||||
74 | 2565 | Subsequence With the Minimum Score | 10/27/2025 | Binary Search | Three Pass | Hard | 2432 | https://youtu.be/vcjfoFhqzcI | 2/12/2023 | https://www.bilibili.com/video/BV1MR4y1v75D/ | |||||||||||||||||||
75 | 2563 | Count the Number of Fair Pairs | 10/26/2025 | Binary Search | Medium | 1720 | https://youtu.be/MmegIOi5Rrw | 2/12/2023 | https://www.bilibili.com/video/BV1G14y1S7cf/ | ||||||||||||||||||||
76 | 2560 | House Robber IV | 10/25/2025 | Binary Search | House Robber | Hard | 2081 | https://youtu.be/_-nBUCSeU98 | 2/6/2023 | https://www.bilibili.com/video/BV13P411B7uQ/ | |||||||||||||||||||
77 | 2528 | Maximize the Minimum Powered City | 10/24/2025 | Binary Search | Medium | 2235 | https://youtu.be/rn0yE0gC8Vw | 1/8/2023 | https://www.bilibili.com/video/BV1BV4y127ws/ | ||||||||||||||||||||
78 | 2513 | Minimize the Maximum of Two Arrays | 10/23/2025 | Binary Search | Hard | 2302 | https://youtu.be/Nw7P4K7lyYk | 12/29/2022 | https://www.bilibili.com/video/BV1M8411Z7Qv/ | ||||||||||||||||||||
79 | 2517 | Maximum Tastiness of Candy Basket | 10/22/2025 | Binary Search | Medium | 2020 | https://youtu.be/ZKeWE8cu_7A | 12/27/2022 | https://www.bilibili.com/video/BV1Ym4y1i78E/ | ||||||||||||||||||||
80 | 2439 | Minimize Maximum of Array | 10/21/2025 | Binary Search | Greedy | Hard | 1965 | https://youtu.be/jBqKwUZeXkE | 10/16/2022 | https://www.bilibili.com/video/BV1eu411W75E/ | |||||||||||||||||||
81 | 2302 | Count Subarrays With Score Less Than K | 10/20/2025 | Binary Search | Count Subarray By Element | Hard | 1808 | https://youtu.be/EsbBTfXpnPY | 6/11/2022 | https://www.bilibili.com/video/BV1JN4y1G7Tx/ | |||||||||||||||||||
82 | 3700 | Number of ZigZag Arrays II | 10/19/2025 | DP | Matrix Multiplication | Hard | https://youtu.be/bhMq96VOfAk | 9/28/2025 | |||||||||||||||||||||
83 | 3699 | Number of ZigZag Arrays I | 10/18/2025 | DP | Medium | N/A | |||||||||||||||||||||||
84 | 3686 | Number of Stable Subsequences | 10/17/2025 | DP | Medium | N/A | |||||||||||||||||||||||
85 | 3665 | Twisted Mirror Path Count | 10/16/2025 | DP | Medium | ||||||||||||||||||||||||
86 | 3670 | Maximum Product of Two Integers With No Common Bits | 10/15/2025 | DP | Bit Mask | Hard | https://youtu.be/kZunhvnAuqY | 9/1/2025 | |||||||||||||||||||||
87 | 3661 | Maximum Walls Destroyed by Robots | 10/14/2025 | DP | Hard | https://youtu.be/Dbmc23aEEn4 | 8/27/2025 | ||||||||||||||||||||||
88 | SKIPPED | 10/13/2025 | |||||||||||||||||||||||||||
89 | 3654 | Minimum Sum After Divisible Sum Deletions | 10/12/2025 | DP | Prefix Sum | Hard | https://youtu.be/gQO8_Vsa69c | 8/23/2025 | |||||||||||||||||||||
90 | SKIPPED | 10/11/2025 | |||||||||||||||||||||||||||
91 | 3599 | Partition Array to Minimize XOR | 10/10/2025 | DP | Prefix Sum | Medium | N/A | ||||||||||||||||||||||
92 | 3538 | Merge Operations for Minimum Travel Time | 10/9/2025 | DP | Hard | ||||||||||||||||||||||||
93 | 3579 | Minimum Steps to Convert String with Operations | 10/8/2025 | DP | Greedy | Hard | https://youtu.be/A6pdvNWq7BM | 6/13/2025 | |||||||||||||||||||||
94 | 3685 | Subsequence Sum After Capping Elements | 10/7/2025 | DP | Knapsack | Hard | https://youtu.be/G6xwQHlxRqQ | 9/14/2025 | |||||||||||||||||||||
95 | SKIPPED | 10/6/2025 | |||||||||||||||||||||||||||
96 | 3592 | Inverse Coin Change | 10/5/2025 | DP | Knapsack | Hard | https://youtu.be/58MxA96KqwQ | 6/22/2025 | |||||||||||||||||||||
97 | 3489 | Zero Array Transformation IV | 10/4/2025 | DP | Knapsack | Hard | https://youtu.be/ilvbOwh1o_U | 3/17/2025 | |||||||||||||||||||||
98 | 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/ | |||||||||||||||||||
99 | 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/ | |||||||||||||||||||
100 | 2291* | Maximum Profit From Trading Stocks | 10/1/2025 | DP | Knapsack | Medium | - | ||||||||||||||||||||||