forked from doocs/leetcode
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit 3e47705
feat: update lc problems (doocs#3446)
1 parent 9218c40 commit 3e47705
File tree
56 files changed
+858
-286
lines changed- solution
- 0000-0099/0020.Valid Parentheses
- 0100-0199
- 0134.Gas Station
- 0152.Maximum Product Subarray
- 0400-0499
- 0405.Convert a Number to Hexadecimal
- 0442.Find All Duplicates in an Array
- 0451.Sort Characters By Frequency
- 0455.Assign Cookies
- 0500-0599/0596.Classes More Than 5 Students
- 0600-0699/0608.Tree Node
- 0700-0799
- 0703.Kth Largest Element in a Stream
- 0791.Custom Sort String
- 0800-0899/0840.Magic Squares In Grid
- 0900-0999
- 0909.Snakes and Ladders
- 0945.Minimum Increment to Make Array Unique
- 1000-1099/1039.Minimum Score Triangulation of Polygon
- 1300-1399/1330.Reverse Subarray To Maximize Array Value
- 1400-1499/1437.Check If All 1's Are at Least Length K Places Away
- 1700-1799/1796.Second Largest Digit in a String
- 2000-2099/2096.Step-By-Step Directions From a Binary Tree Node to Another
- 2200-2299/2244.Minimum Rounds to Complete All Tasks
- 2300-2399
- 2324.Product Sales Analysis IV
- 2397.Maximum Rows Covered by Columns
- 2400-2499/2410.Maximum Matching of Players With Trainers
- 2500-2599/2582.Pass the Pillow
- 2800-2899
- 2863.Maximum Length of Semi-Decreasing Subarrays
- 2865.Beautiful Towers I
- 2866.Beautiful Towers II
- 2870.Minimum Number of Operations to Make Array Empty
- 3000-3099/3054.Binary Tree Nodes
- 3100-3199
- 3134.Find the Median of the Uniqueness Array
- 3178.Find the Child Who Has the Ball After K Seconds
- 3200-3299
- 3213.Construct String with Minimum Cost
- 3253.Construct String with Minimum Cost (Easy)
- 3263.Convert Doubly Linked List to Array I
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
56 files changed
+858
-286
lines changedOriginal file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
30 | 30 |
| |
31 | 31 |
| |
32 | 32 |
| |
33 | - | ||
34 | - | ||
35 | - | ||
36 | - | ||
33 | + | ||
34 | + | ||
35 | + | ||
36 | + | ||
37 | + | ||
37 | 38 |
| |
38 | 39 |
| |
39 | 40 |
| |
40 | - | ||
41 | - | ||
42 | - | ||
43 | - | ||
41 | + | ||
42 | + | ||
43 | + | ||
44 | + | ||
45 | + | ||
44 | 46 |
| |
45 | 47 |
| |
46 | 48 |
| |
47 | - | ||
48 | - | ||
49 | - | ||
50 | - | ||
49 | + | ||
50 | + | ||
51 | + | ||
52 | + | ||
53 | + | ||
54 | + | ||
55 | + | ||
56 | + | ||
57 | + | ||
58 | + | ||
59 | + | ||
60 | + | ||
61 | + | ||
51 | 62 |
| |
52 | 63 |
| |
53 | 64 |
| |
|
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
21 | 21 |
| |
22 | 22 |
| |
23 | 23 |
| |
24 | - | ||
24 | + | ||
25 | 25 |
| |
26 | 26 |
| |
27 | 27 |
| |
|
Lines changed: 2 additions & 2 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
17 | 17 |
| |
18 | 18 |
| |
19 | 19 |
| |
20 | - | ||
20 | + | ||
21 | 21 |
| |
22 | 22 |
| |
23 | 23 |
| |
| |||
45 | 45 |
| |
46 | 46 |
| |
47 | 47 |
| |
48 | - | ||
48 | + | ||
49 | 49 |
| |
50 | 50 |
| |
51 | 51 |
| |
|
Lines changed: 1 addition & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
44 | 44 |
| |
45 | 45 |
| |
46 | 46 |
| |
47 | - | ||
47 | + | ||
48 | 48 |
| |
49 | 49 |
| |
50 | 50 |
| |
|
Lines changed: 18 additions & 19 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
19 | 19 |
| |
20 | 20 |
| |
21 | 21 |
| |
22 | - | ||
22 | + | ||
23 | 23 |
| |
24 | - | ||
25 | - | ||
26 | - | ||
27 | - | ||
28 | - | ||
29 | - | ||
24 | + | ||
30 | 25 |
| |
31 | - | ||
26 | + | ||
32 | 27 |
| |
33 | - | ||
34 | - | ||
35 | - | ||
28 | + | ||
36 | 29 |
| |
37 | - | ||
38 | - | ||
30 | + | ||
31 | + | ||
32 | + | ||
39 | 33 |
| |
40 | 34 |
| |
41 | - | ||
35 | + | ||
42 | 36 |
| |
43 | 37 |
| |
44 | - | ||
45 | - | ||
46 | - | ||
47 | - | ||
48 | - | ||
38 | + | ||
39 | + | ||
49 | 40 |
| |
50 | 41 |
| |
42 | + | ||
43 | + | ||
44 | + | ||
45 | + | ||
46 | + | ||
47 | + | ||
48 | + | ||
49 | + | ||
51 | 50 |
| |
52 | 51 |
| |
53 | 52 |
| |
|
Lines changed: 1 addition & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
17 | 17 |
| |
18 | 18 |
| |
19 | 19 |
| |
20 | - | ||
20 | + | ||
21 | 21 |
| |
22 | 22 |
| |
23 | 23 |
| |
|
Lines changed: 1 addition & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
19 | 19 |
| |
20 | 20 |
| |
21 | 21 |
| |
22 | - | ||
22 | + | ||
23 | 23 |
| |
24 | 24 |
| |
25 | 25 |
| |
|
Lines changed: 1 addition & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
19 | 19 |
| |
20 | 20 |
| |
21 | 21 |
| |
22 | - | ||
22 | + | ||
23 | 23 |
| |
24 | 24 |
| |
25 | 25 |
| |
|
Lines changed: 3 additions & 3 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
27 | 27 |
| |
28 | 28 |
| |
29 | 29 |
| |
30 | - | ||
30 | + | ||
31 | 31 |
| |
32 | 32 |
| |
33 | 33 |
| |
| |||
36 | 36 |
| |
37 | 37 |
| |
38 | 38 |
| |
39 | - | ||
39 | + | ||
40 | 40 |
| |
41 | 41 |
| |
42 | 42 |
| |
| |||
45 | 45 |
| |
46 | 46 |
| |
47 | 47 |
| |
48 | - | ||
48 | + | ||
49 | 49 |
| |
50 | 50 |
| |
51 | 51 |
| |
|
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
21 | 21 |
| |
22 | 22 |
| |
23 | 23 |
| |
24 | - | ||
25 | - | ||
24 | + | ||
25 | + | ||
26 | 26 |
| |
27 | - | ||
27 | + | ||
28 | 28 |
| |
29 | 29 |
| |
30 | 30 |
| |
31 | 31 |
| |
32 | 32 |
| |
33 | - | ||
34 | - | ||
35 | - | ||
33 | + | ||
34 | + | ||
35 | + | ||
36 | 36 |
| |
37 | 37 |
| |
38 | - | ||
38 | + | ||
39 | 39 |
| |
40 | 40 |
| |
41 | 41 |
| |
42 | 42 |
| |
43 | 43 |
| |
44 | - | ||
44 | + | ||
45 | 45 |
| |
46 | - | ||
46 | + | ||
47 | 47 |
| |
48 | 48 |
| |
49 | - | ||
49 | + | ||
50 | 50 |
| |
51 | 51 |
| |
52 | 52 |
| |
53 | 53 |
| |
54 | - | ||
55 | - | ||
56 | - | ||
54 | + | ||
55 | + | ||
56 | + | ||
57 | 57 |
| |
58 | 58 |
| |
59 | + | ||
60 | + | ||
61 | + | ||
62 | + | ||
59 | 63 |
| |
60 | 64 |
| |
61 | 65 |
| |
|
0 commit comments