File tree
492 files changed
+41112
-31216
lines changed- images
- lcci
- 04.01.Route Between Nodes
- 04.02.Minimum Height Tree
- solution
- 0000-0099
- 0003.Longest Substring Without Repeating Characters
- 0019.Remove Nth Node From End of List
- 0023.Merge k Sorted Lists
- 0025.Reverse Nodes in k-Group
- 0026.Remove Duplicates from Sorted Array
- 0041.First Missing Positive
- 0046.Permutations
- 0048.Rotate Image
- 0054.Spiral Matrix
- 0073.Set Matrix Zeroes
- 0076.Minimum Window Substring
- 0078.Subsets
- 0079.Word Search
- 0100-0199
- 0101.Symmetric Tree
- 0108.Convert Sorted Array to Binary Search Tree
- 0131.Palindrome Partitioning
- 0138.Copy List with Random Pointer
- 0146.LRU Cache
- 0148.Sort List
- 0151.Reverse Words in a String
- 0153.Find Minimum in Rotated Sorted Array
- 0160.Intersection of Two Linked Lists
- 0185.Department Top Three Salaries
- 0189.Rotate Array
- 0199.Binary Tree Right Side View
- 0200-0299
- 0207.Course Schedule
- 0226.Invert Binary Tree
- 0238.Product of Array Except Self
- 0239.Sliding Window Maximum
- 0240.Search a 2D Matrix II
- 0400-0499/0439.Ternary Expression Parser
- 0500-0599
- 0536.Construct Binary Tree from String
- 0542.01 Matrix
- 0543.Diameter of Binary Tree
- 0600-0699
- 0649.Dota2 Senate
- 0689.Maximum Sum of 3 Non-Overlapping Subarrays
- 0700-0799
- 0729.My Calendar I
- 0731.My Calendar II
- 0732.My Calendar III
- 0800-0899/0850.Rectangle Area II
- 0900-0999
- 0962.Maximum Width Ramp
- 0986.Interval List Intersections
- 0994.Rotting Oranges
- 1100-1199/1120.Maximum Average Subtree
- 1300-1399
- 1366.Rank Teams by Votes
- 1373.Maximum Sum BST in Binary Tree
- 1500-1599/1559.Detect Cycles in 2D Grid
- 1600-1699/1676.Lowest Common Ancestor of a Binary Tree IV
- 1700-1799/1765.Map of Highest Peak
- 1900-1999/1930.Unique Length-3 Palindromic Subsequences
- 2200-2299/2241.Design an ATM Machine
- 2400-2499/2466.Count Ways To Build Good Strings
- 2500-2599/2559.Count Vowel Strings in Ranges
- 2700-2799/2769.Find the Maximum Achievable Number
- 3000-3099
- 3046.Split the Array
- 3083.Existence of a Substring in a String and Its Reverse
- 3300-3399
- 3345.Smallest Divisible Digit Product I
- 3346.Maximum Frequency of an Element After Performing Operations I
- 3347.Maximum Frequency of an Element After Performing Operations II
- 3348.Smallest Divisible Digit Product II
- 3349.Adjacent Increasing Subarrays Detection I
- 3350.Adjacent Increasing Subarrays Detection II
- 3351.Sum of Good Subsequences
- 3352.Count K-Reducible Numbers Less Than N
- 3354.Make Array Elements Equal to Zero
- 3355.Zero Array Transformation I
- 3356.Zero Array Transformation II
- 3357.Minimize the Maximum Adjacent Element Difference
- 3360.Stone Removal Game
- 3361.Shift Distance Between Two Strings
- 3362.Zero Array Transformation III
- 3363.Find the Maximum Number of Fruits Collected
- 3364.Minimum Positive Sum Subarray
- 3365.Rearrange K Substrings to Form Target String
- 3366.Minimum Array Sum
- 3367.Maximize Sum of Weights after Edge Removals
- 3370.Smallest Number With All Set Bits
- 3371.Identify the Largest Outlier in an Array
- 3372.Maximize the Number of Target Nodes After Connecting Trees I
- 3373.Maximize the Number of Target Nodes After Connecting Trees II
- 3375.Minimum Operations to Make Array Values Equal to K
- 3376.Minimum Time to Break Locks I
- 3377.Digit Operations to Make Two Integers Equal
- 3378.Count Connected Components in LCM Graph
- 3379.Transformed Array
- 3380.Maximum Area Rectangle With Point Constraints I
- 3381.Maximum Subarray Sum With Length Divisible by K
- 3382.Maximum Area Rectangle With Point Constraints II
- 3386.Button with Longest Push Time
- 3387.Maximize Amount After Two Days of Conversions
- 3388.Count Beautiful Splits in an Array
- 3389.Minimum Operations to Make Character Frequencies Equal
- 3392.Count Subarrays of Length Three With a Condition
- 3393.Count Paths With the Given XOR Value
- 3394.Check if Grid can be Cut into Sections
- 3395.Subsequences with a Unique Middle Mode I
- 3396.Minimum Number of Operations to Make Elements in Array Distinct
- 3397.Maximum Number of Distinct Elements After Operations
- 3398.Smallest Substring With Identical Characters I
- 3399.Smallest Substring With Identical Characters II
- 3400-3499
- 3401.Find Circular Gift Exchange Chains
- 3402.Minimum Operations to Make Columns Strictly Increasing
- images
- 3403.Find the Lexicographically Largest String From the Box I
- 3404.Count Special Subsequences
- 3405.Count the Number of Arrays with K Matching Adjacent Elements
- 3406.Find the Lexicographically Largest String From the Box II
- 3407.Substring Matching Pattern
- 3408.Design Task Manager
- 3409.Longest Subsequence With Decreasing Adjacent Difference
- 3410.Maximize Subarray Sum After Removing All Occurrences of One Element
- 3411.Maximum Subarray With Equal Products
- 3412.Find Mirror Score of a String
- 3413.Maximum Coins From K Consecutive Bags
- 3414.Maximum Score of Non-overlapping Intervals
- 3415.Find Products with Three Consecutive Digits
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
492 files changed
+41112
-31216
lines changedLines changed: 24081 additions & 23978 deletions
Loading
Lines changed: 1 addition & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
126 | 126 |
| |
127 | 127 |
| |
128 | 128 |
| |
129 |
| - | |
| 129 | + | |
130 | 130 |
| |
131 | 131 |
| |
132 | 132 |
| |
|
Lines changed: 1 addition & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
134 | 134 |
| |
135 | 135 |
| |
136 | 136 |
| |
137 |
| - | |
| 137 | + | |
138 | 138 |
| |
139 | 139 |
| |
140 | 140 |
| |
|
Lines changed: 2 additions & 2 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
6 | 6 |
| |
7 | 7 |
| |
8 | 8 |
| |
9 |
| - | |
| 9 | + | |
10 | 10 |
| |
11 | 11 |
| |
12 | 12 |
| |
| |||
23 | 23 |
| |
24 | 24 |
| |
25 | 25 |
| |
26 |
| - | |
| 26 | + |
Lines changed: 1 addition & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
103 | 103 |
| |
104 | 104 |
| |
105 | 105 |
| |
106 |
| - | |
| 106 | + | |
107 | 107 |
| |
108 | 108 |
| |
109 | 109 |
| |
|
Lines changed: 7 additions & 7 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
24 | 24 |
| |
25 | 25 |
| |
26 | 26 |
| |
27 |
| - | |
| 27 | + | |
28 | 28 |
| |
29 | 29 |
| |
30 | 30 |
| |
31 |
| - | |
| 31 | + | |
32 | 32 |
| |
33 |
| - | |
| 33 | + | |
34 | 34 |
| |
35 |
| - | |
| 35 | + | |
36 | 36 |
| |
37 |
| - | |
| 37 | + | |
38 | 38 |
| |
39 |
| - | |
| 39 | + | |
40 | 40 |
| |
41 | 41 |
| |
42 | 42 |
| |
| |||
127 | 127 |
| |
128 | 128 |
| |
129 | 129 |
| |
130 |
| - | |
| 130 | + | |
131 | 131 |
| |
132 | 132 |
| |
133 | 133 |
| |
|
Lines changed: 2 additions & 2 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
10 | 10 |
| |
11 | 11 |
| |
12 | 12 |
| |
13 |
| - | |
| 13 | + | |
14 | 14 |
| |
15 | 15 |
| |
16 | 16 |
| |
| |||
19 | 19 |
| |
20 | 20 |
| |
21 | 21 |
| |
22 |
| - | |
| 22 | + |
Lines changed: 1 addition & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
26 | 26 |
| |
27 | 27 |
| |
28 | 28 |
| |
29 |
| - | |
| 29 | + | |
30 | 30 |
| |
31 | 31 |
| |
32 | 32 |
| |
|
Lines changed: 53 additions & 29 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
278 | 278 |
| |
279 | 279 |
| |
280 | 280 |
| |
| 281 | + | |
| 282 | + | |
| 283 | + | |
| 284 | + | |
| 285 | + | |
| 286 | + | |
| 287 | + | |
| 288 | + | |
| 289 | + | |
| 290 | + | |
| 291 | + | |
| 292 | + | |
| 293 | + | |
| 294 | + | |
| 295 | + | |
| 296 | + | |
| 297 | + | |
| 298 | + | |
| 299 | + | |
| 300 | + | |
| 301 | + | |
| 302 | + | |
| 303 | + | |
| 304 | + | |
| 305 | + | |
| 306 | + | |
| 307 | + | |
| 308 | + | |
| 309 | + | |
| 310 | + | |
| 311 | + | |
| 312 | + | |
281 | 313 |
| |
282 | 314 |
| |
283 | 315 |
| |
| |||
311 | 343 |
| |
312 | 344 |
| |
313 | 345 |
| |
314 |
| - | |
315 |
| - | |
316 |
| - | |
317 |
| - | |
318 |
| - | |
319 |
| - | |
320 |
| - | |
321 |
| - | |
322 |
| - | |
323 |
| - | |
324 |
| - | |
325 |
| - | |
| 346 | + | |
| 347 | + | |
| 348 | + | |
| 349 | + | |
| 350 | + | |
| 351 | + | |
| 352 | + | |
| 353 | + | |
| 354 | + | |
| 355 | + | |
| 356 | + | |
326 | 357 |
| |
327 | 358 |
| |
328 | 359 |
| |
329 |
| - | |
| 360 | + | |
330 | 361 |
| |
331 | 362 |
| |
332 |
| - | |
333 | 363 |
| |
334 |
| - | |
335 |
| - | |
336 |
| - | |
337 |
| - | |
338 |
| - | |
339 |
| - | |
340 |
| - | |
341 |
| - | |
| 364 | + | |
| 365 | + | |
| 366 | + | |
| 367 | + | |
342 | 368 |
| |
343 |
| - | |
344 |
| - | |
345 |
| - | |
346 |
| - | |
| 369 | + | |
| 370 | + | |
| 371 | + | |
347 | 372 |
| |
348 |
| - | |
349 |
| - | |
350 |
| - | |
| 373 | + | |
351 | 374 |
| |
352 | 375 |
| |
353 | 376 |
| |
| |||
358 | 381 |
| |
359 | 382 |
| |
360 | 383 |
| |
| 384 | + |
Lines changed: 53 additions & 29 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
275 | 275 |
| |
276 | 276 |
| |
277 | 277 |
| |
| 278 | + | |
| 279 | + | |
| 280 | + | |
| 281 | + | |
| 282 | + | |
| 283 | + | |
| 284 | + | |
| 285 | + | |
| 286 | + | |
| 287 | + | |
| 288 | + | |
| 289 | + | |
| 290 | + | |
| 291 | + | |
| 292 | + | |
| 293 | + | |
| 294 | + | |
| 295 | + | |
| 296 | + | |
| 297 | + | |
| 298 | + | |
| 299 | + | |
| 300 | + | |
| 301 | + | |
| 302 | + | |
| 303 | + | |
| 304 | + | |
| 305 | + | |
| 306 | + | |
| 307 | + | |
| 308 | + | |
| 309 | + | |
278 | 310 |
| |
279 | 311 |
| |
280 | 312 |
| |
| |||
308 | 340 |
| |
309 | 341 |
| |
310 | 342 |
| |
311 |
| - | |
312 |
| - | |
313 |
| - | |
314 |
| - | |
315 |
| - | |
316 |
| - | |
317 |
| - | |
318 |
| - | |
319 |
| - | |
320 |
| - | |
321 |
| - | |
322 |
| - | |
| 343 | + | |
| 344 | + | |
| 345 | + | |
| 346 | + | |
| 347 | + | |
| 348 | + | |
| 349 | + | |
| 350 | + | |
| 351 | + | |
| 352 | + | |
| 353 | + | |
323 | 354 |
| |
324 | 355 |
| |
325 | 356 |
| |
326 |
| - | |
| 357 | + | |
327 | 358 |
| |
328 | 359 |
| |
329 |
| - | |
330 | 360 |
| |
331 |
| - | |
332 |
| - | |
333 |
| - | |
334 |
| - | |
335 |
| - | |
336 |
| - | |
337 |
| - | |
338 |
| - | |
| 361 | + | |
| 362 | + | |
| 363 | + | |
| 364 | + | |
339 | 365 |
| |
340 |
| - | |
341 |
| - | |
342 |
| - | |
343 |
| - | |
| 366 | + | |
| 367 | + | |
| 368 | + | |
344 | 369 |
| |
345 |
| - | |
346 |
| - | |
347 |
| - | |
| 370 | + | |
348 | 371 |
| |
349 | 372 |
| |
350 | 373 |
| |
| |||
355 | 378 |
| |
356 | 379 |
| |
357 | 380 |
| |
| 381 | + |
0 commit comments