forked from doocs/leetcode
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit 0980c36
feat: update lc problems (doocs#2301)
1 parent 204cd88 commit 0980c36
File tree
38 files changed
+460
-78
lines changed- solution
- 0300-0399/0321.Create Maximum Number
- 0800-0899/0899.Orderly Queue
- 1300-1399/1386.Cinema Seat Allocation
- 1600-1699
- 1652.Defuse the Bomb
- 1653.Minimum Deletions to Make String Balanced
- 1654.Minimum Jumps to Reach Home
- 1655.Distribute Repeating Integers
- 1658.Minimum Operations to Reduce X to Zero
- 1659.Maximize Grid Happiness
- 1660.Correct a Binary Tree
- 1662.Check If Two String Arrays are Equivalent
- 1663.Smallest String With A Given Numeric Value
- 1664.Ways to Make a Fair Array
- 1665.Minimum Initial Energy to Finish Tasks
- 1669.Merge In Between Linked Lists
- 1672.Richest Customer Wealth
- 1673.Find the Most Competitive Subsequence
- 1674.Minimum Moves to Make Array Complementary
- 1678.Goal Parser Interpretation
- 1687.Delivering Boxes from Storage to Ports
- 1689.Partitioning Into Minimum Number Of Deci-Binary Numbers
- 1900-1999/1921.Eliminate Maximum Number of Monsters
- 2500-2599/2561.Rearranging Fruits
- 3000-3099
- 3016.Minimum Number of Pushes to Type Word II
- 3023.Find Pattern in Infinite Stream I
38 files changed
+460
-78
lines changedOriginal file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
14 | 14 |
| |
15 | 15 |
| |
16 | 16 |
| |
17 | - | ||
17 | + | ||
18 | + | ||
18 | 19 |
| |
19 | 20 |
| |
20 | 21 |
| |
| |||
23 | 24 |
| |
24 | 25 |
| |
25 | 26 |
| |
26 | - | ||
27 | + | ||
28 | + | ||
27 | 29 |
| |
28 | 30 |
| |
29 | 31 |
| |
| |||
32 | 34 |
| |
33 | 35 |
| |
34 | 36 |
| |
35 | - | ||
37 | + | ||
38 | + | ||
36 | 39 |
| |
37 | 40 |
| |
38 | 41 |
| |
39 | 42 |
| |
40 | - | ||
43 | + | ||
44 | + | ||
45 | + | ||
46 | + | ||
47 | + | ||
48 | + | ||
49 | + | ||
50 | + | ||
51 | + | ||
52 | + | ||
53 | + | ||
54 | + | ||
41 | 55 |
| |
42 | 56 |
| |
43 | 57 |
| |
|
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
8 | 8 |
| |
9 | 9 |
| |
10 | 10 |
| |
11 | - | ||
11 | + | ||
12 | 12 |
| |
13 | 13 |
| |
14 | 14 |
| |
|
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
6 | 6 |
| |
7 | 7 |
| |
8 | 8 |
| |
9 | - | ||
9 | + | ||
10 | 10 |
| |
11 | 11 |
| |
12 | 12 |
| |
13 | - | ||
13 | + | ||
14 | 14 |
| |
15 | 15 |
| |
16 | 16 |
| |
17 | 17 |
| |
18 | 18 |
| |
19 | 19 |
| |
20 | 20 |
| |
21 | - | ||
21 | + | ||
22 | 22 |
| |
23 | - | ||
23 | + | ||
24 | + | ||
24 | 25 |
| |
25 | 26 |
| |
26 | 27 |
| |
27 | 28 |
| |
28 | 29 |
| |
29 | 30 |
| |
30 | - | ||
31 | + | ||
32 | + | ||
31 | 33 |
| |
32 | 34 |
| |
33 | 35 |
| |
34 | 36 |
| |
35 | 37 |
| |
36 | - | ||
38 | + | ||
39 | + | ||
37 | 40 |
| |
38 | 41 |
| |
39 | 42 |
| |
|
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
61 | 61 |
| |
62 | 62 |
| |
63 | 63 |
| |
64 | - | ||
64 | + | ||
65 | 65 |
| |
66 | 66 |
| |
67 | 67 |
| |
68 | 68 |
| |
69 | 69 |
| |
70 | 70 |
| |
71 | - | ||
71 | + | ||
72 | 72 |
| |
73 | 73 |
| |
74 | 74 |
| |
75 | 75 |
| |
76 | 76 |
| |
77 | - | ||
77 | + | ||
78 | 78 |
| |
79 | 79 |
| |
80 | - | ||
80 | + | ||
81 | 81 |
| |
82 | 82 |
| |
83 | 83 |
| |
| |||
209 | 209 |
| |
210 | 210 |
| |
211 | 211 |
| |
212 | - | ||
212 | + | ||
213 | 213 |
| |
214 | 214 |
| |
215 | 215 |
| |
|
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
55 | 55 |
| |
56 | 56 |
| |
57 | 57 |
| |
58 | - | ||
58 | + | ||
59 | + | ||
60 | + | ||
61 | + | ||
62 | + | ||
63 | + | ||
64 | + | ||
65 | + | ||
66 | + | ||
67 | + | ||
68 | + | ||
69 | + | ||
70 | + | ||
71 | + | ||
72 | + | ||
73 | + | ||
74 | + | ||
75 | + | ||
76 | + | ||
59 | 77 |
| |
60 | 78 |
| |
61 | 79 |
| |
| |||
183 | 201 |
| |
184 | 202 |
| |
185 | 203 |
| |
186 | - | ||
204 | + | ||
205 | + | ||
206 | + | ||
207 | + | ||
208 | + | ||
209 | + | ||
210 | + | ||
211 | + | ||
212 | + | ||
213 | + | ||
214 | + | ||
187 | 215 |
| |
188 | 216 |
| |
189 | 217 |
| |
|
Lines changed: 1 addition & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
65 | 65 |
| |
66 | 66 |
| |
67 | 67 |
| |
68 | - | ||
68 | + | ||
69 | 69 |
| |
70 | 70 |
| |
71 | 71 |
| |
|
Lines changed: 30 additions & 2 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
39 | 39 |
| |
40 | 40 |
| |
41 | 41 |
| |
42 | - | ||
42 | + | ||
43 | + | ||
44 | + | ||
45 | + | ||
46 | + | ||
47 | + | ||
48 | + | ||
49 | + | ||
50 | + | ||
51 | + | ||
52 | + | ||
53 | + | ||
54 | + | ||
55 | + | ||
56 | + | ||
57 | + | ||
58 | + | ||
59 | + | ||
60 | + | ||
61 | + | ||
62 | + | ||
63 | + | ||
64 | + | ||
43 | 65 |
| |
44 | 66 |
| |
45 | 67 |
| |
| |||
135 | 157 |
| |
136 | 158 |
| |
137 | 159 |
| |
138 | - | ||
160 | + | ||
161 | + | ||
162 | + | ||
163 | + | ||
164 | + | ||
165 | + | ||
166 | + | ||
139 | 167 |
| |
140 | 168 |
| |
141 | 169 |
| |
|
Lines changed: 20 additions & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
56 | 56 |
| |
57 | 57 |
| |
58 | 58 |
| |
59 | - | ||
59 | + | ||
60 | + | ||
61 | + | ||
62 | + | ||
63 | + | ||
64 | + | ||
65 | + | ||
66 | + | ||
67 | + | ||
68 | + | ||
69 | + | ||
70 | + | ||
71 | + | ||
72 | + | ||
73 | + | ||
74 | + | ||
75 | + | ||
76 | + | ||
77 | + | ||
78 | + | ||
60 | 79 |
| |
61 | 80 |
| |
62 | 81 |
| |
|
Lines changed: 15 additions & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
54 | 54 |
| |
55 | 55 |
| |
56 | 56 |
| |
57 | - | ||
57 | + | ||
58 | + | ||
59 | + | ||
60 | + | ||
61 | + | ||
62 | + | ||
63 | + | ||
64 | + | ||
65 | + | ||
66 | + | ||
67 | + | ||
68 | + | ||
69 | + | ||
70 | + | ||
71 | + | ||
58 | 72 |
| |
59 | 73 |
| |
60 | 74 |
| |
|
Lines changed: 20 additions & 2 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
43 | 43 |
| |
44 | 44 |
| |
45 | 45 |
| |
46 | - | ||
46 | + | ||
47 | + | ||
48 | + | ||
49 | + | ||
50 | + | ||
51 | + | ||
52 | + | ||
53 | + | ||
54 | + | ||
55 | + | ||
56 | + | ||
47 | 57 |
| |
48 | 58 |
| |
49 | 59 |
| |
| |||
218 | 228 |
| |
219 | 229 |
| |
220 | 230 |
| |
221 | - | ||
231 | + | ||
232 | + | ||
233 | + | ||
234 | + | ||
235 | + | ||
236 | + | ||
237 | + | ||
238 | + | ||
239 | + | ||
222 | 240 |
| |
223 | 241 |
| |
224 | 242 |
| |
|
0 commit comments