File tree
230 files changed
+39475
-32343
lines changed- images
- solution
- 0000-0099
- 0002.Add Two Numbers
- 0005.Longest Palindromic Substring
- 0006.Zigzag Conversion
- 0008.String to Integer (atoi)
- 0100-0199
- 0134.Gas Station
- 0135.Candy
- 0147.Insertion Sort List
- 0195.Tenth Line
- 0200-0299
- 0245.Shortest Word Distance III
- 0262.Trips and Users
- 0269.Alien Dictionary
- 0500-0599/0596.Classes With at Least 5 Students
- 0700-0799/0799.Champagne Tower
- 0900-0999/0909.Snakes and Ladders
- 1000-1099
- 1016.Binary String With Substrings Representing 1 To N
- 1061.Lexicographically Smallest Equivalent String
- 1062.Longest Repeating Substring
- 1070.Product Sales Analysis III
- 1100-1199
- 1108.Defanging an IP Address
- 1111.Maximum Nesting Depth of Two Valid Parentheses Strings
- 1138.Alphabet Board Path
- 1139.Largest 1-Bordered Square
- 1184.Distance Between Bus Stops
- 1200-1299
- 1238.Circular Permutation in Binary Representation
- 1256.Encode Number
- 1298.Maximum Candies You Can Get from Boxes
- 1300-1399
- 1301.Number of Paths with Max Score
- 1318.Minimum Flips to Make a OR b Equal to c
- 1324.Print Words Vertically
- 1400-1499
- 1418.Display Table of Food Orders in a Restaurant
- 1432.Max Difference You Can Get From Changing an Integer
- 1448.Count Good Nodes in Binary Tree
- 1470.Shuffle the Array
- 1481.Least Number of Unique Integers after K Removals
- 1500-1599
- 1523.Count Odd Numbers in an Interval Range
- 1534.Count Good Triplets
- 1600-1699
- 1617.Count Subtrees With Max Distance Between Cities
- 1618.Maximum Font to Fit a Sentence in a Screen
- 1634.Add Two Polynomials Represented as Linked Lists
- 1649.Create Sorted Array through Instructions
- 1660.Correct a Binary Tree
- 1700-1799
- 1725.Number Of Rectangles That Can Form The Largest Square
- 1746.Maximum Subarray Sum After One Operation
- 1768.Merge Strings Alternately
- 1788.Maximize the Beauty of the Garden
- 1800-1899
- 1801.Number of Orders in the Backlog
- 1803.Count Pairs With XOR in a Range
- 1808.Maximize Number of Nice Divisors
- 1827.Minimum Operations to Make the Array Increasing
- 1836.Remove Duplicates From an Unsorted Linked List
- 1857.Largest Color Value in a Directed Graph
- 1872.Stone Game VIII
- 1874.Minimize Product Sum of Two Arrays
- 1877.Minimize Maximum Pair Sum in Array
- 1888.Minimum Number of Flips to Make the Binary String Alternating
- 1900-1999
- 1911.Maximum Alternating Subsequence Sum
- 1913.Maximum Product Difference Between Two Pairs
- 1914.Cyclically Rotating a Grid
- 1915.Number of Wonderful Substrings
- 1916.Count Ways to Build Rooms in an Ant Colony
- 2300-2399
- 2311.Longest Binary Subsequence Less Than or Equal to K
- 2359.Find Closest Node to Given Two Nodes
- 2500-2599/2505.Bitwise OR of All Subsequence Sums
- 2600-2699/2616.Minimize the Maximum Difference of Pairs
- 2800-2899/2894.Divisible and Non-divisible Sums Difference
- 2900-2999
- 2929.Distribute Candies Among Children II
- 2966.Divide Array Into Arrays With Max Difference
- 3300-3399
- 3357.Minimize the Maximum Adjacent Element Difference
- 3372.Maximize the Number of Target Nodes After Connecting Trees I
- 3373.Maximize the Number of Target Nodes After Connecting Trees II
- 3400-3499
- 3403.Find the Lexicographically Largest String From the Box I
- 3442.Maximum Difference Between Even and Odd Frequency I
- 3500-3599
- 3549.Multiply Two Polynomials
- 3550.Smallest Index With Digit Sum Equal to Index
- 3551.Minimum Swaps to Sort by Digit Sum
- 3552.Grid Teleportation Traversal
- 3553.Minimum Weighted Subgraph With the Required Paths II
- 3555.Smallest Subarray to Sort in Every Sliding Window
- 3556.Sum of Largest Prime Substrings
- 3557.Find Maximum Number of Non Intersecting Substrings
- 3558.Number of Ways to Assign Edge Weights I
- 3559.Number of Ways to Assign Edge Weights II
- 3560.Find Minimum Log Transportation Cost
- 3561.Resulting String After Adjacent Removals
- 3562.Maximum Profit from Trading Stocks with Discounts
- images
- 3563.Lexicographically Smallest String After Adjacent Removals
- 3564.Seasonal Sales Analysis
- 3565.Sequential Grid Path Cover
- images
- 3566.Partition Array into Two Equal Product Subsets
- 3567.Minimum Absolute Difference in Sliding Submatrix
- 3568.Minimum Moves to Clean the Classroom
- 3569.Maximize Count of Distinct Primes After Split
- 3570.Find Books with No Available Copies
- 3571.Find the Shortest Superstring II
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
230 files changed
+39475
-32343
lines changedLines changed: 30560 additions & 30460 deletions
Loading
Lines changed: 3 additions & 3 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
147 | 147 |
| |
148 | 148 |
| |
149 | 149 |
| |
150 |
| - | |
| 150 | + | |
151 | 151 |
| |
152 |
| - | |
| 152 | + | |
153 | 153 |
| |
154 | 154 |
| |
155 | 155 |
| |
| |||
158 | 158 |
| |
159 | 159 |
| |
160 | 160 |
| |
161 |
| - | |
| 161 | + | |
162 | 162 |
| |
163 | 163 |
| |
164 | 164 |
| |
|
Lines changed: 3 additions & 3 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
143 | 143 |
| |
144 | 144 |
| |
145 | 145 |
| |
146 |
| - | |
| 146 | + | |
147 | 147 |
| |
148 |
| - | |
| 148 | + | |
149 | 149 |
| |
150 | 150 |
| |
151 | 151 |
| |
| |||
154 | 154 |
| |
155 | 155 |
| |
156 | 156 |
| |
157 |
| - | |
| 157 | + | |
158 | 158 |
| |
159 | 159 |
| |
160 | 160 |
| |
|
Lines changed: 3 additions & 3 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
11 | 11 |
| |
12 | 12 |
| |
13 | 13 |
| |
14 |
| - | |
| 14 | + | |
15 | 15 |
| |
16 |
| - | |
| 16 | + | |
17 | 17 |
| |
18 | 18 |
| |
19 | 19 |
| |
| |||
22 | 22 |
| |
23 | 23 |
| |
24 | 24 |
| |
25 |
| - | |
| 25 | + | |
26 | 26 |
| |
27 | 27 |
|
Lines changed: 0 additions & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
576 | 576 |
| |
577 | 577 |
| |
578 | 578 |
| |
579 |
| - | |
580 | 579 |
| |
581 | 580 |
| |
582 | 581 |
| |
|
Lines changed: 1 addition & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
527 | 527 |
| |
528 | 528 |
| |
529 | 529 |
| |
530 |
| - | |
| 530 | + | |
531 | 531 |
| |
532 | 532 |
| |
533 | 533 |
| |
|
Lines changed: 1 addition & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
495 | 495 |
| |
496 | 496 |
| |
497 | 497 |
| |
498 |
| - | |
| 498 | + | |
499 | 499 |
| |
500 | 500 |
| |
501 | 501 |
| |
|
Lines changed: 1 addition & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
491 | 491 |
| |
492 | 492 |
| |
493 | 493 |
| |
494 |
| - | |
| 494 | + | |
495 | 495 |
| |
496 | 496 |
| |
497 | 497 |
| |
|
Lines changed: 30 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
214 | 214 |
| |
215 | 215 |
| |
216 | 216 |
| |
| 217 | + | |
| 218 | + | |
| 219 | + | |
| 220 | + | |
| 221 | + | |
| 222 | + | |
| 223 | + | |
| 224 | + | |
| 225 | + | |
| 226 | + | |
| 227 | + | |
| 228 | + | |
| 229 | + | |
| 230 | + | |
| 231 | + | |
| 232 | + | |
| 233 | + | |
| 234 | + | |
| 235 | + | |
| 236 | + | |
| 237 | + | |
| 238 | + | |
| 239 | + | |
| 240 | + | |
| 241 | + | |
| 242 | + | |
| 243 | + | |
| 244 | + | |
| 245 | + | |
| 246 | + | |
217 | 247 |
| |
218 | 248 |
| |
219 | 249 |
| |
|
Lines changed: 30 additions & 8 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
160 | 160 |
| |
161 | 161 |
| |
162 | 162 |
| |
163 |
| - | |
164 | 163 |
| |
165 | 164 |
| |
166 | 165 |
| |
167 | 166 |
| |
168 | 167 |
| |
169 | 168 |
| |
170 | 169 |
| |
171 |
| - | |
172 | 170 |
| |
173 | 171 |
| |
174 | 172 |
| |
175 |
| - | |
176 | 173 |
| |
177 | 174 |
| |
178 | 175 |
| |
| |||
190 | 187 |
| |
191 | 188 |
| |
192 | 189 |
| |
193 |
| - | |
194 | 190 |
| |
195 | 191 |
| |
196 | 192 |
| |
197 | 193 |
| |
198 | 194 |
| |
199 | 195 |
| |
200 | 196 |
| |
201 |
| - | |
202 | 197 |
| |
203 |
| - | |
204 | 198 |
| |
205 | 199 |
| |
206 | 200 |
| |
| |||
210 | 204 |
| |
211 | 205 |
| |
212 | 206 |
| |
| 207 | + | |
| 208 | + | |
| 209 | + | |
| 210 | + | |
| 211 | + | |
| 212 | + | |
| 213 | + | |
| 214 | + | |
| 215 | + | |
| 216 | + | |
| 217 | + | |
| 218 | + | |
| 219 | + | |
| 220 | + | |
| 221 | + | |
| 222 | + | |
| 223 | + | |
| 224 | + | |
| 225 | + | |
| 226 | + | |
| 227 | + | |
| 228 | + | |
| 229 | + | |
| 230 | + | |
| 231 | + | |
| 232 | + | |
| 233 | + | |
| 234 | + | |
| 235 | + | |
| 236 | + | |
213 | 237 |
| |
214 | 238 |
| |
215 | 239 |
| |
| |||
282 | 306 |
| |
283 | 307 |
| |
284 | 308 |
| |
285 |
| - | |
286 |
| - | |
287 | 309 |
| |
288 | 310 |
| |
289 | 311 |
| |
|
Lines changed: 25 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + |
Lines changed: 2 additions & 2 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
57 | 57 |
| |
58 | 58 |
| |
59 | 59 |
| |
60 |
| - | |
61 |
| - | |
| 60 | + | |
62 | 61 |
| |
63 | 62 |
| |
| 63 | + | |
64 | 64 |
| |
65 | 65 |
| |
66 | 66 |
| |
|
Lines changed: 1 addition & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
60 | 60 |
| |
61 | 61 |
| |
62 | 62 |
| |
| 63 | + | |
63 | 64 |
| |
64 | 65 |
| |
65 | 66 |
| |
|
Lines changed: 29 additions & 42 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
203 | 203 |
| |
204 | 204 |
| |
205 | 205 |
| |
| 206 | + | |
| 207 | + | |
| 208 | + | |
| 209 | + | |
| 210 | + | |
| 211 | + | |
| 212 | + | |
| 213 | + | |
| 214 | + | |
| 215 | + | |
| 216 | + | |
| 217 | + | |
| 218 | + | |
| 219 | + | |
| 220 | + | |
| 221 | + | |
| 222 | + | |
| 223 | + | |
| 224 | + | |
| 225 | + | |
| 226 | + | |
| 227 | + | |
| 228 | + | |
| 229 | + | |
| 230 | + | |
| 231 | + | |
| 232 | + | |
| 233 | + | |
| 234 | + | |
206 | 235 |
| |
207 | 236 |
| |
208 | 237 |
| |
| |||
236 | 265 |
| |
237 | 266 |
| |
238 | 267 |
| |
239 |
| - | |
240 |
| - | |
241 |
| - | |
242 |
| - | |
243 |
| - | |
244 |
| - | |
245 |
| - | |
246 |
| - | |
247 |
| - | |
248 |
| - | |
249 |
| - | |
250 |
| - | |
251 |
| - | |
252 |
| - | |
253 |
| - | |
254 |
| - | |
255 |
| - | |
256 |
| - | |
257 |
| - | |
258 |
| - | |
259 |
| - | |
260 |
| - | |
261 |
| - | |
262 |
| - | |
263 |
| - | |
264 |
| - | |
265 |
| - | |
266 |
| - | |
267 |
| - | |
268 |
| - | |
269 |
| - | |
270 |
| - | |
271 |
| - | |
272 |
| - | |
273 |
| - | |
274 |
| - | |
275 |
| - | |
276 |
| - | |
277 |
| - | |
278 |
| - | |
279 |
| - | |
280 |
| - | |
281 | 268 |
|
0 commit comments