forked from doocs/leetcode
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit 9480261
feat: add solutions to lc problems: No.2824~2867 (doocs#2007)
1 parent e256fd3 commit 9480261
File tree
41 files changed
+396
-1
lines changed- solution/2800-2899
- 2824.Count Pairs Whose Sum is Less than Target
- 2825.Make String a Subsequence Using Cyclic Increments
- 2826.Sorting Three Groups
- 2828.Check if a String Is an Acronym of Words
- 2829.Determine the Minimum Sum of a k-avoiding Array
- 2830.Maximize the Profit as the Salesman
- 2831.Find the Longest Equal Subarray
- 2832.Maximal Range That Each Element Is Maximum in It
- 2833.Furthest Point From Origin
- 2834.Find the Minimum Possible Sum of a Beautiful Array
- 2835.Minimum Operations to Form Subsequence With Target Sum
- 2836.Maximize Value of Function in a Ball Passing Game
- 2837.Total Traveled Distance
- 2838.Maximum Coins Heroes Can Collect
- 2839.Check if Strings Can be Made Equal With Operations I
- 2840.Check if Strings Can be Made Equal With Operations II
- 2841.Maximum Sum of Almost Unique Subarray
- 2842.Count K-Subsequences of a String With Maximum Beauty
- 2843.Count Symmetric Integers
- 2844.Minimum Operations to Make a Special Number
- 2845.Count of Interesting Subarrays
- 2846.Minimum Edge Weight Equilibrium Queries in a Tree
- 2847.Smallest Number With Given Digit Product
- 2848.Points That Intersect With Cars
- 2850.Minimum Moves to Spread Stones Over Grid
- 2852.Sum of Remoteness of All Cells
- 2853.Highest Salaries Difference
- 2854.Rolling Average Steps
- 2855.Minimum Right Shifts to Sort the Array
- 2856.Minimum Array Length After Pair Removals
- 2857.Count Pairs of Points With Distance k
- 2859.Sum of Values at Indices With K Set Bits
- 2860.Happy Students
- 2861.Maximum Number of Alloys
- 2862.Maximum Element-Sum of a Complete Subset of Indices
- 2863.Maximum Length of Semi-Decreasing Subarrays
- 2864.Maximum Odd Binary Number
- 2865.Beautiful Towers I
- 2866.Beautiful Towers II
- 2867.Count Valid Paths in a Tree
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
41 files changed
+396
-1
lines changedLines changed: 8 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
47 | 47 |
| |
48 | 48 |
| |
49 | 49 |
| |
50 | + | ||
51 | + | ||
52 | + | ||
53 | + | ||
54 | + | ||
55 | + | ||
56 | + | ||
57 | + | ||
50 | 58 |
| |
51 | 59 |
| |
52 | 60 |
| |
|
Lines changed: 6 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
51 | 51 |
| |
52 | 52 |
| |
53 | 53 |
| |
54 | + | ||
55 | + | ||
56 | + | ||
57 | + | ||
58 | + | ||
59 | + | ||
54 | 60 |
| |
55 | 61 |
| |
56 | 62 |
| |
|
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
78 | 78 |
| |
79 | 79 |
| |
80 | 80 |
| |
81 | - | ||
81 | + | ||
82 | 82 |
| |
83 | 83 |
| |
84 | 84 |
| |
|
Lines changed: 8 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
70 | 70 |
| |
71 | 71 |
| |
72 | 72 |
| |
73 | + | ||
74 | + | ||
75 | + | ||
76 | + | ||
77 | + | ||
78 | + | ||
79 | + | ||
80 | + | ||
73 | 81 |
| |
74 | 82 |
| |
75 | 83 |
| |
|
Lines changed: 6 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
50 | 50 |
| |
51 | 51 |
| |
52 | 52 |
| |
53 | + | ||
54 | + | ||
55 | + | ||
56 | + | ||
57 | + | ||
58 | + | ||
53 | 59 |
| |
54 | 60 |
| |
55 | 61 |
| |
|
Lines changed: 6 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
38 | 38 |
| |
39 | 39 |
| |
40 | 40 |
| |
41 | + | ||
42 | + | ||
43 | + | ||
44 | + | ||
45 | + | ||
46 | + | ||
41 | 47 |
| |
42 | 48 |
| |
43 | 49 |
| |
|
Lines changed: 10 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
48 | 48 |
| |
49 | 49 |
| |
50 | 50 |
| |
51 | + | ||
52 | + | ||
53 | + | ||
54 | + | ||
55 | + | ||
56 | + | ||
57 | + | ||
58 | + | ||
59 | + | ||
60 | + | ||
51 | 61 |
| |
52 | 62 |
| |
53 | 63 |
| |
|
Lines changed: 12 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
46 | 46 |
| |
47 | 47 |
| |
48 | 48 |
| |
49 | + | ||
50 | + | ||
51 | + | ||
52 | + | ||
53 | + | ||
54 | + | ||
55 | + | ||
56 | + | ||
57 | + | ||
58 | + | ||
59 | + | ||
60 | + | ||
49 | 61 |
| |
50 | 62 |
| |
51 | 63 |
| |
|
Lines changed: 6 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
48 | 48 |
| |
49 | 49 |
| |
50 | 50 |
| |
51 | + | ||
52 | + | ||
53 | + | ||
54 | + | ||
55 | + | ||
56 | + | ||
51 | 57 |
| |
52 | 58 |
| |
53 | 59 |
| |
|
Lines changed: 8 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
50 | 50 |
| |
51 | 51 |
| |
52 | 52 |
| |
53 | + | ||
54 | + | ||
55 | + | ||
56 | + | ||
57 | + | ||
58 | + | ||
59 | + | ||
60 | + | ||
53 | 61 |
| |
54 | 62 |
| |
55 | 63 |
| |
|
0 commit comments