Skip to content

Commit 61eacc3

Browse files
authored
feat: update lc problems (#1730)
1 parent bbb8983 commit 61eacc3

File tree

14 files changed

+86
-26
lines changed

14 files changed

+86
-26
lines changed

solution/2800-2899/2869.Minimum Operations to Collect Elements/README.md

+9-4
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,13 @@
1-
# [2869. Minimum Operations to Collect Elements](https://leetcode.cn/problems/minimum-operations-to-collect-elements/)
1+
# [2869. 收集元素的最少操作次数](https://leetcode.cn/problems/minimum-operations-to-collect-elements/)
22

33
[English Version](/solution/2800-2899/2869.Minimum%20Operations%20to%20Collect%20Elements/README_EN.md)
44

55
## 题目描述
66

77
<!-- 这里写题目描述 -->
88

9+
<p>给你一个正整数数组&nbsp;<code>nums</code>&nbsp;和一个整数&nbsp;<code>k</code>&nbsp;。</p>
10+
911
<p>一次操作中,你可以将数组的最后一个元素删除,将该元素添加到一个集合中。</p>
1012

1113
<p>请你返回收集元素&nbsp;<code>1, 2, ..., k</code>&nbsp;需要的&nbsp;<strong>最少操作次数</strong>&nbsp;。</p>
@@ -14,21 +16,24 @@
1416

1517
<p><strong class="example">示例 1:</strong></p>
1618

17-
<pre><b>输入:</b>nums = [3,1,5,4,2], k = 2
19+
<pre>
20+
<b>输入:</b>nums = [3,1,5,4,2], k = 2
1821
<b>输出:</b>4
1922
<b>解释:</b>4 次操作后,集合中的元素依次添加了 2 ,4 ,5 和 1 。此时集合中包含元素 1 和 2 ,所以答案为 4 。
2023
</pre>
2124

2225
<p><strong class="example">示例 2:</strong></p>
2326

24-
<pre><b>输入:</b>nums = [3,1,5,4,2], k = 5
27+
<pre>
28+
<b>输入:</b>nums = [3,1,5,4,2], k = 5
2529
<b>输出:</b>5
2630
<b>解释:</b>5 次操作后,集合中的元素依次添加了 2 ,4 ,5 ,1 和 3 。此时集合中包含元素 1 到 5 ,所以答案为 5 。
2731
</pre>
2832

2933
<p><strong class="example">示例 3:</strong></p>
3034

31-
<pre><b>输入:</b>nums = [3,2,5,3,1], k = 3
35+
<pre>
36+
<b>输入:</b>nums = [3,2,5,3,1], k = 3
3237
<b>输出:</b>4
3338
<b>解释:</b>4 次操作后,集合中的元素依次添加了 1 ,3 ,5 和 2 。此时集合中包含元素 1 到 3 ,所以答案为 4 。
3439
</pre>

solution/2800-2899/2869.Minimum Operations to Collect Elements/README_EN.md

+8-3
Original file line numberDiff line numberDiff line change
@@ -4,28 +4,33 @@
44

55
## Description
66

7+
<p>You are given an array <code>nums</code> of positive integers and an integer <code>k</code>.</p>
8+
79
<p>In one operation, you can remove the last element of the array and add it to your collection.</p>
810

911
<p>Return <em>the <strong>minimum number of operations</strong> needed to collect elements</em> <code>1, 2, ..., k</code>.</p>
1012

1113
<p>&nbsp;</p>
1214
<p><strong class="example">Example 1:</strong></p>
1315

14-
<pre><strong>Input:</strong> nums = [3,1,5,4,2], k = 2
16+
<pre>
17+
<strong>Input:</strong> nums = [3,1,5,4,2], k = 2
1518
<strong>Output:</strong> 4
1619
<strong>Explanation:</strong> After 4 operations, we collect elements 2, 4, 5, and 1, in this order. Our collection contains elements 1 and 2. Hence, the answer is 4.
1720
</pre>
1821

1922
<p><strong class="example">Example 2:</strong></p>
2023

21-
<pre><strong>Input:</strong> nums = [3,1,5,4,2], k = 5
24+
<pre>
25+
<strong>Input:</strong> nums = [3,1,5,4,2], k = 5
2226
<strong>Output:</strong> 5
2327
<strong>Explanation:</strong> After 5 operations, we collect elements 2, 4, 5, 1, and 3, in this order. Our collection contains elements 1 through 5. Hence, the answer is 5.
2428
</pre>
2529

2630
<p><strong class="example">Example 3:</strong></p>
2731

28-
<pre><strong>Input:</strong> nums = [3,2,5,3,1], k = 3
32+
<pre>
33+
<strong>Input:</strong> nums = [3,2,5,3,1], k = 3
2934
<strong>Output:</strong> 4
3035
<strong>Explanation:</strong> After 4 operations, we collect elements 1, 3, 5, and 2, in this order. Our collection contains elements 1 through 3. Hence, the answer is 4.
3136
</pre>

solution/2800-2899/2870.Minimum Number of Operations to Make Array Empty/README.md

+7-3
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,13 @@
1-
# [2870. Minimum Number of Operations to Make Array Empty](https://leetcode.cn/problems/minimum-number-of-operations-to-make-array-empty/)
1+
# [2870. 使数组为空的最少操作次数](https://leetcode.cn/problems/minimum-number-of-operations-to-make-array-empty/)
22

33
[English Version](/solution/2800-2899/2870.Minimum%20Number%20of%20Operations%20to%20Make%20Array%20Empty/README_EN.md)
44

55
## 题目描述
66

77
<!-- 这里写题目描述 -->
88

9+
<p>给你一个下标从 <strong>0</strong>&nbsp;开始的正整数数组&nbsp;<code>nums</code>&nbsp;。</p>
10+
911
<p>你可以对数组执行以下两种操作 <strong>任意次</strong>&nbsp;:</p>
1012

1113
<ul>
@@ -19,7 +21,8 @@
1921

2022
<p><strong class="example">示例 1:</strong></p>
2123

22-
<pre><strong>输入:</strong>nums = [2,3,3,2,2,4,2,3,4]
24+
<pre>
25+
<strong>输入:</strong>nums = [2,3,3,2,2,4,2,3,4]
2326
<b>输出:</b>4
2427
<b>解释:</b>我们可以执行以下操作使数组为空:
2528
- 对下标为 0 和 3 的元素执行第一种操作,得到 nums = [3,3,2,4,2,3,4] 。
@@ -31,7 +34,8 @@
3134

3235
<p><strong class="example">示例 2:</strong></p>
3336

34-
<pre><b>输入:</b>nums = [2,1,2,2,3,3]
37+
<pre>
38+
<b>输入:</b>nums = [2,1,2,2,3,3]
3539
<b>输出:</b>-1
3640
<b>解释:</b>无法使数组为空。
3741
</pre>

solution/2800-2899/2870.Minimum Number of Operations to Make Array Empty/README_EN.md

+6-2
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@
44

55
## Description
66

7+
<p>You are given a <strong>0-indexed</strong> array <code>nums</code> consisting of positive integers.</p>
8+
79
<p>There are two types of operations that you can apply on the array <strong>any</strong> number of times:</p>
810

911
<ul>
@@ -16,7 +18,8 @@
1618
<p>&nbsp;</p>
1719
<p><strong class="example">Example 1:</strong></p>
1820

19-
<pre><strong>Input:</strong> nums = [2,3,3,2,2,4,2,3,4]
21+
<pre>
22+
<strong>Input:</strong> nums = [2,3,3,2,2,4,2,3,4]
2023
<strong>Output:</strong> 4
2124
<strong>Explanation:</strong> We can apply the following operations to make the array empty:
2225
- Apply the first operation on the elements at indices 0 and 3. The resulting array is nums = [3,3,2,4,2,3,4].
@@ -28,7 +31,8 @@ It can be shown that we cannot make the array empty in less than 4 operations.
2831

2932
<p><strong class="example">Example 2:</strong></p>
3033

31-
<pre><strong>Input:</strong> nums = [2,1,2,2,3,3]
34+
<pre>
35+
<strong>Input:</strong> nums = [2,1,2,2,3,3]
3236
<strong>Output:</strong> -1
3337
<strong>Explanation:</strong> It is impossible to empty the array.
3438
</pre>

solution/2800-2899/2871.Split Array Into Maximum Number of Subarrays/README.md

+7-3
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,13 @@
1-
# [2871. Split Array Into Maximum Number of Subarrays](https://leetcode.cn/problems/split-array-into-maximum-number-of-subarrays/)
1+
# [2871. 将数组分割成最多数目的子数组](https://leetcode.cn/problems/split-array-into-maximum-number-of-subarrays/)
22

33
[English Version](/solution/2800-2899/2871.Split%20Array%20Into%20Maximum%20Number%20of%20Subarrays/README_EN.md)
44

55
## 题目描述
66

77
<!-- 这里写题目描述 -->
88

9+
<p>给你一个只包含 <strong>非负</strong>&nbsp;整数的数组&nbsp;<code>nums</code>&nbsp;。</p>
10+
911
<p>我们定义满足 <code>l &lt;= r</code>&nbsp;的子数组&nbsp;<code>nums[l..r]</code>&nbsp;的分数为&nbsp;<code>nums[l] AND nums[l + 1] AND ... AND nums[r]</code>&nbsp;,其中&nbsp;<strong>AND</strong>&nbsp;是按位与运算。</p>
1012

1113
<p>请你将数组分割成一个或者更多子数组,满足:</p>
@@ -23,7 +25,8 @@
2325

2426
<p><strong class="example">示例 1:</strong></p>
2527

26-
<pre><b>输入:</b>nums = [1,0,2,0,1,2]
28+
<pre>
29+
<b>输入:</b>nums = [1,0,2,0,1,2]
2730
<b>输出:</b>3
2831
<strong>解释:</strong>我们可以将数组分割成以下子数组:
2932
- [1,0] 。子数组分数为 1 AND 0 = 0 。
@@ -35,7 +38,8 @@
3538

3639
<p><strong class="example">示例 2:</strong></p>
3740

38-
<pre><b>输入:</b>nums = [5,7,1,3]
41+
<pre>
42+
<b>输入:</b>nums = [5,7,1,3]
3943
<b>输出:</b>1
4044
<b>解释:</b>我们可以将数组分割成一个子数组:[5,7,1,3] ,分数为 1 ,这是可以得到的最小总分数。
4145
在总分数为 1 的前提下,最多可以将数组分割成 1 个子数组。所以返回 1 。

solution/2800-2899/2871.Split Array Into Maximum Number of Subarrays/README_EN.md

+6-2
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@
44

55
## Description
66

7+
<p>You are given an array <code>nums</code> consisting of <strong>non-negative</strong> integers.</p>
8+
79
<p>We define the score of subarray <code>nums[l..r]</code> such that <code>l &lt;= r</code> as <code>nums[l] AND nums[l + 1] AND ... AND nums[r]</code> where <strong>AND</strong> is the bitwise <code>AND</code> operation.</p>
810

911
<p>Consider splitting the array into one or more subarrays such that the following conditions are satisfied:</p>
@@ -20,7 +22,8 @@
2022
<p>&nbsp;</p>
2123
<p><strong class="example">Example 1:</strong></p>
2224

23-
<pre><strong>Input:</strong> nums = [1,0,2,0,1,2]
25+
<pre>
26+
<strong>Input:</strong> nums = [1,0,2,0,1,2]
2427
<strong>Output:</strong> 3
2528
<strong>Explanation:</strong> We can split the array into the following subarrays:
2629
- [1,0]. The score of this subarray is 1 AND 0 = 0.
@@ -32,7 +35,8 @@ It can be shown that we cannot split the array into more than 3 subarrays with a
3235

3336
<p><strong class="example">Example 2:</strong></p>
3437

35-
<pre><strong>Input:</strong> nums = [5,7,1,3]
38+
<pre>
39+
<strong>Input:</strong> nums = [5,7,1,3]
3640
<strong>Output:</strong> 1
3741
<strong>Explanation:</strong> We can split the array into one subarray: [5,7,1,3] with a score of 1, which is the minimum possible score that we can obtain.
3842
It can be shown that we cannot split the array into more than 1 subarray with a total score of 1. So we return 1.

solution/2800-2899/2872.Maximum Number of K-Divisible Components/README.md

+7-5
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# [2872. Maximum Number of K-Divisible Components](https://leetcode.com/problems/maximum-number-of-k-divisible-components/)
1+
# [2872. 可以被 K 整除连通块的最大数目](https://leetcode.com/problems/maximum-number-of-k-divisible-components/)
22

33
[English Version](/solution/2800-2899/2872.Maximum%20Number%20of%20K-Divisible%20Components/README_EN.md)
44

@@ -18,9 +18,10 @@
1818

1919
<p><strong class="example">示例 1:</strong></p>
2020

21-
<p><img alt="" src="./images/example1.jpg" style="width: 1024px; height: 453px;"></p>
21+
<p><img alt="" src="https://fastly.jsdelivr.net/gh/doocs/leetcode@main/solution/2800-2899/2872.Maximum%20Number%20of%20K-Divisible%20Components/images/example12-cropped2svg.jpg" style="width: 1024px; height: 453px;" /></p>
2222

23-
<pre><b>输入:</b>n = 5, edges = [[0,2],[1,2],[1,3],[2,4]], values = [1,8,1,4,4], k = 6
23+
<pre>
24+
<b>输入:</b>n = 5, edges = [[0,2],[1,2],[1,3],[2,4]], values = [1,8,1,4,4], k = 6
2425
<b>输出:</b>2
2526
<b>解释:</b>我们删除节点 1 和 2 之间的边。这是一个合法分割,因为:
2627
- 节点 1 和 3 所在连通块的值为 values[1] + values[3] = 12 。
@@ -29,9 +30,10 @@
2930

3031
<p><strong class="example">示例 2:</strong></p>
3132

32-
<p><img alt="" src="./images/example2.jpg" style="width: 999px; height: 338px;"></p>
33+
<p><img alt="" src="https://fastly.jsdelivr.net/gh/doocs/leetcode@main/solution/2800-2899/2872.Maximum%20Number%20of%20K-Divisible%20Components/images/example21svg-1.jpg" style="width: 999px; height: 338px;" /></p>
3334

34-
<pre><b>输入:</b>n = 7, edges = [[0,1],[0,2],[1,3],[1,4],[2,5],[2,6]], values = [3,0,6,1,5,2,1], k = 3
35+
<pre>
36+
<b>输入:</b>n = 7, edges = [[0,1],[0,2],[1,3],[1,4],[2,5],[2,6]], values = [3,0,6,1,5,2,1], k = 3
3537
<b>输出:</b>3
3638
<b>解释:</b>我们删除节点 0 和 2 ,以及节点 0 和 1 之间的边。这是一个合法分割,因为:
3739
- 节点 0 的连通块的值为 values[0] = 3 。

solution/2800-2899/2872.Maximum Number of K-Divisible Components/README_EN.md

+6-4
Original file line numberDiff line numberDiff line change
@@ -14,17 +14,19 @@
1414

1515
<p>&nbsp;</p>
1616
<p><strong class="example">Example 1:</strong></p>
17-
<img alt="" src="./images/example1.jpg" style="width: 1024px; height: 453px;">
18-
<pre><strong>Input:</strong> n = 5, edges = [[0,2],[1,2],[1,3],[2,4]], values = [1,8,1,4,4], k = 6
17+
<img alt="" src="https://fastly.jsdelivr.net/gh/doocs/leetcode@main/solution/2800-2899/2872.Maximum%20Number%20of%20K-Divisible%20Components/images/example12-cropped2svg.jpg" style="width: 1024px; height: 453px;" />
18+
<pre>
19+
<strong>Input:</strong> n = 5, edges = [[0,2],[1,2],[1,3],[2,4]], values = [1,8,1,4,4], k = 6
1920
<strong>Output:</strong> 2
2021
<strong>Explanation:</strong> We remove the edge connecting node 1 with 2. The resulting split is valid because:
2122
- The value of the component containing nodes 1 and 3 is values[1] + values[3] = 12.
2223
- The value of the component containing nodes 0, 2, and 4 is values[0] + values[2] + values[4] = 6.
2324
It can be shown that no other valid split has more than 2 connected components.</pre>
2425

2526
<p><strong class="example">Example 2:</strong></p>
26-
<img alt="" src="./images/example2.jpg" style="width: 999px; height: 338px;">
27-
<pre><strong>Input:</strong> n = 7, edges = [[0,1],[0,2],[1,3],[1,4],[2,5],[2,6]], values = [3,0,6,1,5,2,1], k = 3
27+
<img alt="" src="https://fastly.jsdelivr.net/gh/doocs/leetcode@main/solution/2800-2899/2872.Maximum%20Number%20of%20K-Divisible%20Components/images/example21svg-1.jpg" style="width: 999px; height: 338px;" />
28+
<pre>
29+
<strong>Input:</strong> n = 7, edges = [[0,1],[0,2],[1,3],[1,4],[2,5],[2,6]], values = [3,0,6,1,5,2,1], k = 3
2830
<strong>Output:</strong> 3
2931
<strong>Explanation:</strong> We remove the edge connecting node 0 with 2, and the edge connecting node 0 with 1. The resulting split is valid because:
3032
- The value of the component containing node 0 is values[0] = 3.

solution/CONTEST_README.md

+7
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,13 @@
2222

2323
## 往期竞赛
2424

25+
#### 第 114 场双周赛(2023-09-30 22:30, 90 分钟) 参赛人数 2406
26+
27+
- [2869. 收集元素的最少操作次数](/solution/2800-2899/2869.Minimum%20Operations%20to%20Collect%20Elements/README.md)
28+
- [2870. 使数组为空的最少操作次数](/solution/2800-2899/2870.Minimum%20Number%20of%20Operations%20to%20Make%20Array%20Empty/README.md)
29+
- [2871. 将数组分割成最多数目的子数组](/solution/2800-2899/2871.Split%20Array%20Into%20Maximum%20Number%20of%20Subarrays/README.md)
30+
- [2872. 可以被 K 整除连通块的最大数目](/solution/2800-2899/2872.Maximum%20Number%20of%20K-Divisible%20Components/README.md)
31+
2532
#### 第 364 场周赛(2023-09-24 10:30, 90 分钟) 参赛人数 4304
2633

2734
- [2864. 最大二进制奇数](/solution/2800-2899/2864.Maximum%20Odd%20Binary%20Number/README.md)

solution/CONTEST_README_EN.md

+7
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,13 @@ Get your rating changes right after the completion of LeetCode contests, https:/
2525

2626
## Past Contests
2727

28+
#### Biweekly Contest 114
29+
30+
- [2869. Minimum Operations to Collect Elements](/solution/2800-2899/2869.Minimum%20Operations%20to%20Collect%20Elements/README_EN.md)
31+
- [2870. Minimum Number of Operations to Make Array Empty](/solution/2800-2899/2870.Minimum%20Number%20of%20Operations%20to%20Make%20Array%20Empty/README_EN.md)
32+
- [2871. Split Array Into Maximum Number of Subarrays](/solution/2800-2899/2871.Split%20Array%20Into%20Maximum%20Number%20of%20Subarrays/README_EN.md)
33+
- [2872. Maximum Number of K-Divisible Components](/solution/2800-2899/2872.Maximum%20Number%20of%20K-Divisible%20Components/README_EN.md)
34+
2835
#### Weekly Contest 364
2936

3037
- [2864. Maximum Odd Binary Number](/solution/2800-2899/2864.Maximum%20Odd%20Binary%20Number/README_EN.md)

solution/README.md

+4
Original file line numberDiff line numberDiff line change
@@ -2879,6 +2879,10 @@
28792879
| 2866 | [美丽塔 II](/solution/2800-2899/2866.Beautiful%20Towers%20II/README.md) | `栈`,`数组`,`单调栈` | 中等 | 第 364 场周赛 |
28802880
| 2867 | [统计树中的合法路径数目](/solution/2800-2899/2867.Count%20Valid%20Paths%20in%20a%20Tree/README.md) | `树`,`深度优先搜索`,`数学`,`动态规划`,`数论` | 困难 | 第 364 场周赛 |
28812881
| 2868 | [单词游戏](/solution/2800-2899/2868.The%20Wording%20Game/README.md) | | 困难 | 🔒 |
2882+
| 2869 | [收集元素的最少操作次数](/solution/2800-2899/2869.Minimum%20Operations%20to%20Collect%20Elements/README.md) | | 简单 | 第 114 场双周赛 |
2883+
| 2870 | [使数组为空的最少操作次数](/solution/2800-2899/2870.Minimum%20Number%20of%20Operations%20to%20Make%20Array%20Empty/README.md) | | 中等 | 第 114 场双周赛 |
2884+
| 2871 | [将数组分割成最多数目的子数组](/solution/2800-2899/2871.Split%20Array%20Into%20Maximum%20Number%20of%20Subarrays/README.md) | | 中等 | 第 114 场双周赛 |
2885+
| 2872 | [可以被 K 整除连通块的最大数目](/solution/2800-2899/2872.Maximum%20Number%20of%20K-Divisible%20Components/README.md) | | 困难 | 第 114 场双周赛 |
28822886

28832887
## 版权
28842888

solution/README_EN.md

+4
Original file line numberDiff line numberDiff line change
@@ -2877,6 +2877,10 @@ Press <kbd>Control</kbd> + <kbd>F</kbd>(or <kbd>Command</kbd> + <kbd>F</kbd> on
28772877
| 2866 | [Beautiful Towers II](/solution/2800-2899/2866.Beautiful%20Towers%20II/README_EN.md) | `Stack`,`Array`,`Monotonic Stack` | Medium | Weekly Contest 364 |
28782878
| 2867 | [Count Valid Paths in a Tree](/solution/2800-2899/2867.Count%20Valid%20Paths%20in%20a%20Tree/README_EN.md) | `Tree`,`Depth-First Search`,`Math`,`Dynamic Programming`,`Number Theory` | Hard | Weekly Contest 364 |
28792879
| 2868 | [The Wording Game](/solution/2800-2899/2868.The%20Wording%20Game/README_EN.md) | | Hard | 🔒 |
2880+
| 2869 | [Minimum Operations to Collect Elements](/solution/2800-2899/2869.Minimum%20Operations%20to%20Collect%20Elements/README_EN.md) | | Easy | Biweekly Contest 114 |
2881+
| 2870 | [Minimum Number of Operations to Make Array Empty](/solution/2800-2899/2870.Minimum%20Number%20of%20Operations%20to%20Make%20Array%20Empty/README_EN.md) | | Medium | Biweekly Contest 114 |
2882+
| 2871 | [Split Array Into Maximum Number of Subarrays](/solution/2800-2899/2871.Split%20Array%20Into%20Maximum%20Number%20of%20Subarrays/README_EN.md) | | Medium | Biweekly Contest 114 |
2883+
| 2872 | [Maximum Number of K-Divisible Components](/solution/2800-2899/2872.Maximum%20Number%20of%20K-Divisible%20Components/README_EN.md) | | Hard | Biweekly Contest 114 |
28802884

28812885
## Copyright
28822886

solution/summary.md

+4
Original file line numberDiff line numberDiff line change
@@ -2924,3 +2924,7 @@
29242924
- [2866.美丽塔 II](/solution/2800-2899/2866.Beautiful%20Towers%20II/README.md)
29252925
- [2867.统计树中的合法路径数目](/solution/2800-2899/2867.Count%20Valid%20Paths%20in%20a%20Tree/README.md)
29262926
- [2868.单词游戏](/solution/2800-2899/2868.The%20Wording%20Game/README.md)
2927+
- [2869.收集元素的最少操作次数](/solution/2800-2899/2869.Minimum%20Operations%20to%20Collect%20Elements/README.md)
2928+
- [2870.使数组为空的最少操作次数](/solution/2800-2899/2870.Minimum%20Number%20of%20Operations%20to%20Make%20Array%20Empty/README.md)
2929+
- [2871.将数组分割成最多数目的子数组](/solution/2800-2899/2871.Split%20Array%20Into%20Maximum%20Number%20of%20Subarrays/README.md)
2930+
- [2872.可以被 K 整除连通块的最大数目](/solution/2800-2899/2872.Maximum%20Number%20of%20K-Divisible%20Components/README.md)

solution/summary_en.md

+4
Original file line numberDiff line numberDiff line change
@@ -2924,3 +2924,7 @@
29242924
- [2866.Beautiful Towers II](/solution/2800-2899/2866.Beautiful%20Towers%20II/README_EN.md)
29252925
- [2867.Count Valid Paths in a Tree](/solution/2800-2899/2867.Count%20Valid%20Paths%20in%20a%20Tree/README_EN.md)
29262926
- [2868.The Wording Game](/solution/2800-2899/2868.The%20Wording%20Game/README_EN.md)
2927+
- [2869.Minimum Operations to Collect Elements](/solution/2800-2899/2869.Minimum%20Operations%20to%20Collect%20Elements/README_EN.md)
2928+
- [2870.Minimum Number of Operations to Make Array Empty](/solution/2800-2899/2870.Minimum%20Number%20of%20Operations%20to%20Make%20Array%20Empty/README_EN.md)
2929+
- [2871.Split Array Into Maximum Number of Subarrays](/solution/2800-2899/2871.Split%20Array%20Into%20Maximum%20Number%20of%20Subarrays/README_EN.md)
2930+
- [2872.Maximum Number of K-Divisible Components](/solution/2800-2899/2872.Maximum%20Number%20of%20K-Divisible%20Components/README_EN.md)

0 commit comments

Comments
 (0)