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 | 3388 | Count Beautiful Splits in an Array | Rolling Hash | ||||||||||||||||||||||||||
19 | 2781 | Length of the Longest Valid Substring | Rolling Hash | Intervals | Hard | 2203 | https://youtu.be/iYkzMZV4paE | 1/26/2024 | |||||||||||||||||||||
20 | 2261 | K Divisible Elements Subarrays | Rolling Hash | Medium | 1724 | https://youtu.be/VAdD8NF-Xoc | 5/1/2022 | ||||||||||||||||||||||
21 | 3068 | Find the Maximum Sum of Node Values | Others | Medium | 2267 | https://youtu.be/CF7rTxasbow | 3/2/2024 | ||||||||||||||||||||||
22 | 3092 | Most Frequent IDs | Sorted Container | Medium | 1793 | N/A | |||||||||||||||||||||||
23 | 3219 | Minimum Cost for Cutting Cake II | Greedy | Hard | 1789 | https://youtu.be/RsTV4u3hsxg | 7/15/2024 | ||||||||||||||||||||||
24 | 2459* | Sort Array by Moving Items to Empty Space | Greedy | - | |||||||||||||||||||||||||
25 | 3113 | Find the Number of Subarrays Where Boundary Elements Are Maximum | Stack | Medium | 2046 | https://youtu.be/FViZk7J_SHE | 4/20/2024 | ||||||||||||||||||||||
26 | 3387 | Maximize Amount After Two Days of Conversions | Graph | Floyd | Medium | ||||||||||||||||||||||||
27 | 3017 | Count the Number of Houses at a Certain Distance II | Graph | Hard | 2709 | https://youtu.be/kNAxf5U_jLU | 1/21/2024 | https://www.bilibili.com/video/BV1a2421F7Tq/ | |||||||||||||||||||||
28 | 3377 | Digit Operations to Make Two Integers Equal | Graph | Dijkstra | Medium | ||||||||||||||||||||||||
29 | 3342 | Find Minimum Time to Reach Last Room II | Graph | Dijkstra | Medium | 1861 | |||||||||||||||||||||||
30 | 3362 | Zero Array Transformation III | Diff Array | Priority Queue | Hard | 2423 | |||||||||||||||||||||||
31 | 3356 | Zero Array Transformation II | Diff Array | Binary Search | Medium | 1913 | |||||||||||||||||||||||
32 | 3355 | Zero Array Transformation I | Diff Array | Medium | 1591 | ||||||||||||||||||||||||
33 | 3347 | Maximum Frequency of an Element After Performing Operations II | Diff Array | Hard | 2155 | ||||||||||||||||||||||||
34 | 3346 | Maximum Frequency of an Element After Performing Operations I | Diff Array | Medium | 1864 | ||||||||||||||||||||||||
35 | 3378 | Count Connected Components in LCM Graph | Union Find | ||||||||||||||||||||||||||
36 | 3372 | Maximize the Number of Target Nodes After Connecting Trees I | Tree | Medium | |||||||||||||||||||||||||
37 | 3373 | Maximize the Number of Target Nodes After Connecting Trees II | Tree | ReRoot | Hard | ||||||||||||||||||||||||
38 | 3367 | Maximize Sum of Weights after Edge Removals | Tree | Greedy | Hard | ||||||||||||||||||||||||
39 | 3348 | Smallest Divisible Digit Product II | digit couting | Hard | |||||||||||||||||||||||||
40 | 3449 | Maximize the Minimum Game Score | Binary Search | Hard | https://youtu.be/N6aScon-ehY | 2/10/2025 | |||||||||||||||||||||||
41 | 3399 | Smallest Substring With Identical Characters II | Binary Search | Hard | https://youtu.be/AdT2F0x-uKo | 1/2/2025 | |||||||||||||||||||||||
42 | 3447 | Assign Elements to Groups with Constraints | Enumeration | Medium | https://youtu.be/YCNZmqfCswE | 2/9/2025 | |||||||||||||||||||||||
43 | 3448 | Count Substrings Divisible By Last Digit | Hash | Prefix | Hard | https://youtu.be/7VDPEki9qX4 | 2/9/2025 | ||||||||||||||||||||||
44 | 3463 | Check If Digits Are Equal in String After Operations II | Combinatorics | Hard | https://youtu.be/grXNc-Tqgng | 2/24/2025 | |||||||||||||||||||||||
45 | 3459 | Length of Longest V-Shaped Diagonal Segment | DFS | Medium | https://youtu.be/5CvMx5TKsX0 | 2/18/2025 | |||||||||||||||||||||||
46 | |||||||||||||||||||||||||||||
47 | |||||||||||||||||||||||||||||
48 | |||||||||||||||||||||||||||||
49 | |||||||||||||||||||||||||||||
50 | |||||||||||||||||||||||||||||
51 | 3012 | Minimize Length of Array Using Operations | 3/20/2025 | Greedy | Constructive | Hard | 1832 | https://youtu.be/BA_MBQU0Rew | 1/23/2024 | ||||||||||||||||||||
52 | 3133 | Minimum Array End | 3/19/2025 | Greedy | Constructive | Medium | 1934 | https://youtu.be/qjo7da3eNDQ | 4/28/2024 | ||||||||||||||||||||
53 | 3301 | Maximize the Total Height of Unique Towers | 3/18/2025 | Greedy | Constructive | Medium | 1448 | N/A | |||||||||||||||||||||
54 | 3397 | Maximum Number of Distinct Elements After Operations | 3/17/2025 | Greedy | Constructive | Medium | N/A | ||||||||||||||||||||||
55 | 2749 | Minimum Operations to Make the Integer Zero | 3/16/2025 | Greedy | Constructive | Medium | 2132 | https://youtu.be/AlsaJFDF_P0 | 7/4/2023 | https://www.bilibili.com/video/BV1F84y1m7Qc/ | |||||||||||||||||||
56 | 2732 | Find a Good Subset of the Matrix | 3/15/2025 | Greedy | Constructive | Hard | 2239 | https://youtu.be/HiuE4XSdP5U | 6/10/2023 | https://www.bilibili.com/video/BV1LH4y1f77D/ | |||||||||||||||||||
57 | 2745 | Construct the Longest New String | 3/14/2025 | Greedy | Constructive | Medium | 1607 | https://youtu.be/tXs9HaS2Pns | 7/4/2023 | https://www.bilibili.com/video/BV1MG411m7Qq/ | |||||||||||||||||||
58 | SKIPPED | 3/13/2025 | |||||||||||||||||||||||||||
59 | SKIPPED | 3/12/2025 | |||||||||||||||||||||||||||
60 | 2576 | Find the Maximum Number of Marked Indices | 3/11/2025 | Greedy | Constructive | Hard | 1843 | https://youtu.be/lO7HAZUBzok | 2/26/2023 | https://www.bilibili.com/video/BV1fv4y1E7nt/ | |||||||||||||||||||
61 | 2573 | Find the String with LCP | 3/10/2025 | Greedy | Constructive | Hard | 2681 | https://youtu.be/07KRNyie-Lk | 2/20/2023 | https://www.bilibili.com/video/BV1iX4y1B7wG/ | |||||||||||||||||||
62 | 2571 | Minimum Operations to Reduce an Integer to 0 | 3/9/2025 | Greedy | Constructive | Medium | 1649 | https://youtu.be/e7pDcbd_NfI | 2/19/2023 | https://www.bilibili.com/video/BV1bv4y1E76H/ | |||||||||||||||||||
63 | 2568 | Minimum Impossible OR | 3/8/2025 | Greedy | Constructive | Medium | 1754 | https://youtu.be/ROoz5NI6CIM | 2/19/2023 | https://www.bilibili.com/video/BV13h411E7ag/ | |||||||||||||||||||
64 | 2567 | Minimum Score by Changing Two Elements | 3/7/2025 | Greedy | Constructive | Medium | 2567 | https://youtu.be/264neqgF3gM | 2/19/2023 | https://www.bilibili.com/video/BV19V4y1D718/ | |||||||||||||||||||
65 | 2546 | Apply Bitwise Operations to Make Strings Equal | 3/6/2025 | Greedy | Constructive | Medium | 1604 | https://youtu.be/6eyfhmVmrfk | 1/22/2023 | https://www.bilibili.com/video/BV1As4y1D7Zd/ | |||||||||||||||||||
66 | 2561 | Rearranging Fruits | 3/5/2025 | Greedy | Constructive | Hard | 2221 | https://youtu.be/rcYB1MbmmiM | 2/11/2023 | https://www.bilibili.com/video/BV13N411T7CQ/ | |||||||||||||||||||
67 | 2499 | Minimum Total Cost to Make Arrays Unequal | 3/4/2025 | Greedy | Constructive | Hard | 2633 | https://youtu.be/WGcjEzidnEA | 12/11/2022 | https://www.bilibili.com/video/BV1om4y1r71F/ | |||||||||||||||||||
68 | SKIPPED | 3/3/2025 | |||||||||||||||||||||||||||
69 | 2498 | Frog Jump II | 3/2/2025 | Greedy | Constructive | Hard | 1759 | https://youtu.be/k2ecWk6ckLw | 12/11/2022 | https://www.bilibili.com/video/BV1hT41167qX/ | |||||||||||||||||||
70 | SKIPPEd | 3/1/2025 | |||||||||||||||||||||||||||
71 | 2202 | Maximize the Topmost Element After K Moves | 2/28/2025 | Greedy | Constructive | Hard | 1717 | https://youtu.be/HVZS7flaRQA | 3/23/2022 | https://www.bilibili.com/video/BV1Cq4y1v7qY/ | |||||||||||||||||||
72 | 1798 | Maximum Number of Consecutive Values You Can Make | 2/27/2025 | Greedy | Constructive | Hard | 1931 | https://youtu.be/X1Jp55_-H_A | 3/20/2021 | https://www.bilibili.com/video/BV1LV411n7d7/ | |||||||||||||||||||
73 | 3394 | Check if Grid can be Cut into Sections | 2/26/2025 | Greedy | Intervals | Medium | 1916 | ||||||||||||||||||||||
74 | 3458 | Select K Disjoint Special Substrings | 2/25/2025 | Greedy | Intervals | Medium | https://youtu.be/PSfQAtKPXU4 | 2/17/2025 | |||||||||||||||||||||
75 | 3104* | Find Longest Self-Contained Substring | 2/24/2025 | Greedy | Intervals | Medium | - | ||||||||||||||||||||||
76 | 1520 | Maximum Number of Non-Overlapping Substrings | 2/23/2025 | Greedy | Intervals | Hard | 2362 | https://youtu.be/s6go3_sTPAY | |||||||||||||||||||||
77 | 646 | Maximum Length of Pair Chain | 2/22/2025 | Greedy | Intervals | Medium | - | https://youtu.be/7ZPiZQUAD74 | 1/7/2021 | https://www.bilibili.com/video/BV1dp4y1s7ST/ | |||||||||||||||||||
78 | 435 | Non-overlapping Intervals | 2/21/2025 | Greedy | Intervals | Medium | - | https://youtu.be/x6wREca18nw | 12/29/2020 | https://www.bilibili.com/video/BV1P5411n7Bb/ | |||||||||||||||||||
79 | 3444 | Minimum Increments for Target Multiples in an Array | 2/20/2025 | DP | Bit Mask | Hard | https://youtu.be/SOVENzgfUrs | 2/13/2025 | |||||||||||||||||||||
80 | 3393 | Count Paths With the Given XOR Value | 2/19/2025 | DP | Medium | 1573 | |||||||||||||||||||||||
81 | 3376 | Minimum Time to Break Locks I | 2/18/2025 | DP | Bit Mask | Medium | 1793 | ||||||||||||||||||||||
82 | SKIPPED | 2/17/2025 | |||||||||||||||||||||||||||
83 | 3366 | Minimum Array Sum | 2/16/2025 | DP | 2040 | ||||||||||||||||||||||||
84 | 3363 | Find the Maximum Number of Fruits Collected | 2/15/2025 | DP | 2404 | ||||||||||||||||||||||||
85 | 3351 | Sum of Good Subsequences | 2/14/2025 | DP | 2085 | ||||||||||||||||||||||||
86 | 3350 | Adjacent Increasing Subarrays Detection II | 2/13/2025 | DP | Medium | 1600 | |||||||||||||||||||||||
87 | 3326 | Minimum Division Operations to Make Array Non Decreasing | 2/12/2025 | DP | 1864 | ||||||||||||||||||||||||
88 | 3259 | Maximum Energy Boost From Two Drinks | 2/11/2025 | DP | Medium | 1483 | N/A | ||||||||||||||||||||||
89 | 3290 | Maximum Multiplication Score | 2/10/2025 | DP | Medium | 1692 | |||||||||||||||||||||||
90 | 3209 | Number of Subarrays With AND Value of K | 2/9/2025 | Bitwise Hashing | Medium | https://youtu.be/MPDkaH9x9Yo | 7/6/2024 | ||||||||||||||||||||||
91 | SKIPPED | 2/8/2025 | |||||||||||||||||||||||||||
92 | 3428 | Maximum and Minimum Sums of at Most Size K Subsequences | 2/7/2025 | Combinatorics | Medium | https://youtu.be/0n-eoRoD31Y | 2/8/2025 | ||||||||||||||||||||||
93 | 3395 | Subsequences with a Unique Middle Mode I | 2/6/2025 | Combinatorics | Hard | ||||||||||||||||||||||||
94 | 3405 | Count the Number of Arrays with K Matching Adjacent Elements | 2/5/2025 | Combinatorics | Medium | https://youtu.be/V2AN0SKinW0 | 1/1/2025 | ||||||||||||||||||||||
95 | 2954 | Count the Number of Infection Sequences | 2/4/2025 | Combinatorics | Inverse Element | Hard | 2644 | https://youtu.be/kVRnMs4og88 | 12/22/2023 | https://www.bilibili.com/video/BV1um411Q7DK/ | |||||||||||||||||||
96 | 2930 | Number of Strings Which Can Be Rearranged to Contain Substring | 2/3/2025 | Combinatorics | DP | Medium | 2227 | https://youtu.be/0V95_GZH6DM | 11/21/2023 | https://www.bilibili.com/video/BV1NF4m1j7rb/ | |||||||||||||||||||
97 | 2400 | Number of Ways to Reach a Position After Exactly k Steps | 2/2/2025 | Combinatorics | Medium | 1751 | https://youtu.be/1OdZ5lrdHPY | 9/5/2022 | https://www.bilibili.com/video/BV1nP41137q5/ | ||||||||||||||||||||
98 | 2221 | Find Triangular Sum of an Array | 2/1/2025 | Combinatorics | Medium | 1317 | https://youtu.be/RzoHl7M9xvM | 4/6/2022 | https://www.bilibili.com/video/BV11D4y1x7ZR/ | ||||||||||||||||||||
99 | 1916 | Count Ways to Build Rooms in an Ant Colony | 1/31/2025 | Combinatorics | DP | Hard | 2486 | https://youtu.be/yfBHIDVN8Vs | 6/27/2021 | https://www.bilibili.com/video/BV1tg411u7t6/ | |||||||||||||||||||
100 | 1866 | Number of Ways to Rearrange Sticks With K Sticks Visible | 1/30/2025 | Combinatorics | DP | Hard | 2333 | https://youtu.be/y4Pn4jxCw7E | 5/16/2021 | https://www.bilibili.com/video/BV13U4y1b7Vi/ |