forked from doocs/leetcode
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit 207245b
feat: add solutions to lc problems: No.2481+ (doocs#2372)
1 parent 67e2be0 commit 207245b
File tree
12 files changed
+112
-15
lines changed- solution/2400-2499
- 2481.Minimum Cuts to Divide a Circle
- 2482.Difference Between Ones and Zeros in Row and Column
- 2483.Minimum Penalty for a Shop
- 2484.Count Palindromic Subsequences
- 2488.Count Subarrays With Median K
- 2489.Number of Substrings With Fixed Ratio
- 2490.Circular Sentence
- 2491.Divide Players Into Teams of Equal Skill
- 2492.Minimum Score of a Path Between Two Cities
- 2493.Divide Nodes Into the Maximum Number of Groups
- 2495.Number of Subarrays Having Even Product
12 files changed
+112
-15
lines changedLines changed: 16 additions & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
47 | 47 |
| |
48 | 48 |
| |
49 | 49 |
| |
50 | - | ||
50 | + | ||
51 | + | ||
52 | + | ||
53 | + | ||
54 | + | ||
55 | + | ||
56 | + | ||
57 | + | ||
58 | + | ||
59 | + | ||
60 | + | ||
61 | + | ||
62 | + | ||
63 | + | ||
64 | + | ||
65 | + | ||
51 | 66 |
| |
52 | 67 |
| |
53 | 68 |
| |
|
Lines changed: 5 additions & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
65 | 65 |
| |
66 | 66 |
| |
67 | 67 |
| |
68 | - | ||
68 | + | ||
69 | + | ||
70 | + | ||
71 | + | ||
72 | + | ||
69 | 73 |
| |
70 | 74 |
| |
71 | 75 |
| |
|
Lines changed: 7 additions & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
64 | 64 |
| |
65 | 65 |
| |
66 | 66 |
| |
67 | - | ||
67 | + | ||
68 | + | ||
69 | + | ||
70 | + | ||
71 | + | ||
72 | + | ||
73 | + | ||
68 | 74 |
| |
69 | 75 |
| |
70 | 76 |
| |
|
Lines changed: 3 additions & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
52 | 52 |
| |
53 | 53 |
| |
54 | 54 |
| |
55 | - | ||
55 | + | ||
56 | + | ||
57 | + | ||
56 | 58 |
| |
57 | 59 |
| |
58 | 60 |
| |
|
Lines changed: 15 additions & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
52 | 52 |
| |
53 | 53 |
| |
54 | 54 |
| |
55 | - | ||
55 | + | ||
56 | + | ||
57 | + | ||
58 | + | ||
59 | + | ||
60 | + | ||
61 | + | ||
62 | + | ||
63 | + | ||
64 | + | ||
65 | + | ||
66 | + | ||
67 | + | ||
68 | + | ||
69 | + | ||
56 | 70 |
| |
57 | 71 |
| |
58 | 72 |
| |
|
Lines changed: 19 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 | + | ||
60 | 78 |
| |
61 | 79 |
| |
62 | 80 |
| |
|
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
68 | 68 |
| |
69 | 69 |
| |
70 | 70 |
| |
71 | - | ||
71 | + | ||
72 | + | ||
73 | + | ||
74 | + | ||
75 | + | ||
72 | 76 |
| |
73 | 77 |
| |
74 | 78 |
| |
| |||
181 | 185 |
| |
182 | 186 |
| |
183 | 187 |
| |
184 | - | ||
188 | + | ||
189 | + | ||
190 | + | ||
191 | + | ||
192 | + | ||
185 | 193 |
| |
186 | 194 |
| |
187 | 195 |
| |
|
Lines changed: 12 additions & 2 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
53 | 53 |
| |
54 | 54 |
| |
55 | 55 |
| |
56 | - | ||
56 | + | ||
57 | + | ||
58 | + | ||
59 | + | ||
60 | + | ||
61 | + | ||
62 | + | ||
63 | + | ||
64 | + | ||
57 | 65 |
| |
58 | 66 |
| |
59 | 67 |
| |
| |||
175 | 183 |
| |
176 | 184 |
| |
177 | 185 |
| |
178 | - | ||
186 | + | ||
187 | + | ||
188 | + | ||
179 | 189 |
| |
180 | 190 |
| |
181 | 191 |
| |
|
Lines changed: 10 additions & 2 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
54 | 54 |
| |
55 | 55 |
| |
56 | 56 |
| |
57 | - | ||
57 | + | ||
58 | + | ||
59 | + | ||
60 | + | ||
61 | + | ||
58 | 62 |
| |
59 | 63 |
| |
60 | 64 |
| |
| |||
246 | 250 |
| |
247 | 251 |
| |
248 | 252 |
| |
249 | - | ||
253 | + | ||
254 | + | ||
255 | + | ||
256 | + | ||
257 | + | ||
250 | 258 |
| |
251 | 259 |
| |
252 | 260 |
| |
|
Lines changed: 7 additions & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
57 | 57 |
| |
58 | 58 |
| |
59 | 59 |
| |
60 | - | ||
60 | + | ||
61 | + | ||
62 | + | ||
63 | + | ||
64 | + | ||
65 | + | ||
66 | + | ||
61 | 67 |
| |
62 | 68 |
| |
63 | 69 |
| |
|
0 commit comments