forked from doocs/leetcode
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit def45fc
feat: update lc problems (doocs#2625)
1 parent 9f1c7ec commit def45fc
File tree
70 files changed
+283
-226
lines changed- solution
- 0000-0099/0030.Substring with Concatenation of All Words
- 0100-0199/0133.Clone Graph
- 0400-0499/0418.Sentence Screen Fitting
- 0800-0899/0842.Split Array into Fibonacci Sequence
- 1200-1299/1201.Ugly Number III
- 1700-1799
- 1764.Form Array by Concatenating Subarrays of Another Array
- 1766.Tree of Coprimes
- 2500-2599
- 2506.Count Pairs Of Similar Strings
- 2507.Smallest Value After Replacing With Sum of Prime Factors
- 2509.Cycle Length Queries in a Tree
- 2600-2699
- 2604.Minimum Time to Eat All Grains
- 2623.Memoize
- 2627.Debounce
- 2676.Throttle
- 2677.Chunk Array
- 2700-2799
- 2700.Differences Between Two Objects
- 2705.Compact Object
- 2722.Join Two Arrays by ID
- 2757.Generate Circular Array Values
- 2775.Undefined to Null
- 2777.Date Range Generator
- 2796.Repeat String
- 2800-2899
- 2805.Custom Interval
- 2822.Inversion of Object
- 3000-3099
- 3007.Maximum Number That Sum of the Prices Is Less Than or Equal to K
- 3089.Find Bursty Behavior
- 3096.Minimum Levels to Gain More Points
- 3100-3199
- 3105.Longest Strictly Increasing or Strictly Decreasing Subarray
- 3110.Score of a String
- 3111.Minimum Rectangles to Cover Points
- 3112.Minimum Time to Visit Disappearing Nodes
- 3113.Find the Number of Subarrays Where Boundary Elements Are Maximum
- 3114.Latest Time You Can Obtain After Replacing Characters
- 3115.Maximum Prime Difference
- 3116.Kth Smallest Amount With Single Denomination Combination
- 3117.Minimum Sum of Values by Dividing Array
- 3118.Friday Purchase III
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
70 files changed
+283
-226
lines changedLines changed: 34 additions & 26 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
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 | - | ||
23 | - | ||
24 | - | ||
25 | - | ||
26 | - | ||
27 | - | ||
28 | - | ||
29 | - | ||
22 | + | ||
23 | + | ||
24 | + | ||
25 | + | ||
26 | + | ||
27 | + | ||
28 | + | ||
29 | + | ||
30 | + | ||
31 | + | ||
32 | + | ||
30 | 33 |
| |
31 | 34 |
| |
32 | 35 |
| |
33 | - | ||
34 | - | ||
35 | - | ||
36 | - | ||
37 | - | ||
38 | - | ||
39 | - | ||
36 | + | ||
37 | + | ||
38 | + | ||
39 | + | ||
40 | + | ||
41 | + | ||
42 | + | ||
43 | + | ||
44 | + | ||
40 | 45 |
| |
41 | 46 |
| |
42 | 47 |
| |
43 | - | ||
44 | - | ||
45 | - | ||
46 | - | ||
47 | - | ||
48 | - | ||
49 | - | ||
50 | - | ||
48 | + | ||
49 | + | ||
50 | + | ||
51 | + | ||
52 | + | ||
53 | + | ||
54 | + | ||
55 | + | ||
56 | + | ||
57 | + | ||
58 | + | ||
51 | 59 |
| |
52 | 60 |
| |
53 | 61 |
| |
|
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
12 | 12 |
| |
13 | 13 |
| |
14 | 14 |
| |
15 | - | ||
15 | + | ||
16 | + | ||
16 | 17 |
| |
17 | 18 |
| |
18 | 19 |
| |
| |||
31 | 32 |
| |
32 | 33 |
| |
33 | 34 |
| |
34 | - | ||
35 | + | ||
35 | 36 |
| |
36 | - | ||
37 | + | ||
38 | + | ||
37 | 39 |
| |
38 | 40 |
| |
39 | 41 |
| |
| |||
45 | 47 |
| |
46 | 48 |
| |
47 | 49 |
| |
48 | - | ||
50 | + | ||
49 | 51 |
| |
50 | - | ||
52 | + | ||
53 | + | ||
51 | 54 |
| |
52 | 55 |
| |
53 | 56 |
| |
54 | 57 |
| |
55 | 58 |
| |
56 | 59 |
| |
57 | - | ||
60 | + | ||
61 | + | ||
58 | 62 |
| |
59 | 63 |
| |
60 | 64 |
| |
61 | 65 |
| |
62 | - | ||
63 | - | ||
64 | - | ||
65 | - | ||
66 | - | ||
67 | - | ||
68 | - | ||
69 | 66 |
| |
70 | 67 |
| |
71 | 68 |
| |
72 | 69 |
| |
73 | - | ||
74 | - | ||
75 | - | ||
76 | - | ||
77 | - | ||
70 | + | ||
71 | + | ||
72 | + | ||
73 | + | ||
74 | + | ||
78 | 75 |
| |
79 | - | ||
76 | + | ||
80 | 77 |
| |
81 | 78 |
| |
82 | 79 |
| |
|
Lines changed: 22 additions & 34 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
10 | 10 |
| |
11 | 11 |
| |
12 | 12 |
| |
13 | - | ||
14 | - | ||
15 | - | ||
16 | - | ||
17 | - | ||
18 | - | ||
19 | - | ||
20 | - | ||
21 | - | ||
22 | - | ||
13 | + | ||
23 | 14 |
| |
24 | 15 |
| |
25 | 16 |
| |
26 | 17 |
| |
27 | 18 |
| |
28 | - | ||
29 | - | ||
30 | - | ||
31 | - | ||
32 | - | ||
33 | - | ||
19 | + | ||
20 | + | ||
21 | + | ||
34 | 22 |
| |
35 | 23 |
| |
36 | 24 |
| |
37 | - | ||
38 | - | ||
25 | + | ||
39 | 26 |
| |
40 | 27 |
| |
41 | 28 |
| |
42 | 29 |
| |
43 | 30 |
| |
44 | 31 |
| |
45 | - | ||
46 | - | ||
47 | - | ||
48 | - | ||
49 | - | ||
50 | - | ||
32 | + | ||
33 | + | ||
34 | + | ||
51 | 35 |
| |
52 | 36 |
| |
53 | 37 |
| |
54 | 38 |
| |
55 | - | ||
56 | - | ||
39 | + | ||
57 | 40 |
| |
58 | 41 |
| |
59 | 42 |
| |
60 | 43 |
| |
61 | 44 |
| |
62 | 45 |
| |
63 | - | ||
64 | - | ||
65 | - | ||
66 | - | ||
67 | - | ||
68 | - | ||
46 | + | ||
47 | + | ||
48 | + | ||
69 | 49 |
| |
70 | 50 |
| |
71 | 51 |
| |
72 | 52 |
| |
73 | 53 |
| |
74 | - | ||
75 | - | ||
54 | + | ||
76 | 55 |
| |
77 | 56 |
| |
78 | 57 |
| |
79 | 58 |
| |
59 | + | ||
60 | + | ||
61 | + | ||
62 | + | ||
63 | + | ||
64 | + | ||
65 | + | ||
66 | + | ||
67 | + | ||
80 | 68 |
| |
81 | 69 |
| |
82 | 70 |
| |
|
Lines changed: 1 addition & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
29 | 29 |
| |
30 | 30 |
| |
31 | 31 |
| |
32 | - | ||
32 | + | ||
33 | 33 |
| |
34 | 34 |
| |
35 | 35 |
| |
|
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
2 | 2 |
| |
3 | 3 |
| |
4 | 4 |
| |
5 | - | ||
5 | + | ||
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 |
| |
| |||
37 | 37 |
| |
38 | 38 |
| |
39 | 39 |
| |
40 | - | ||
41 | - | ||
42 | - | ||
43 | - | ||
44 | - | ||
45 | - | ||
46 | - | ||
47 | - | ||
40 | + | ||
48 | 41 |
| |
49 | 42 |
| |
50 | 43 |
| |
51 | 44 |
| |
52 | - | ||
53 | - | ||
54 | - | ||
45 | + | ||
46 | + | ||
47 | + | ||
55 | 48 |
| |
56 | 49 |
| |
57 | 50 |
| |
|
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
2 | 2 |
| |
3 | 3 |
| |
4 | 4 |
| |
5 | - | ||
5 | + | ||
6 | 6 |
| |
7 | 7 |
| |
8 | 8 |
| |
|
Lines changed: 1 addition & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
2 | 2 |
| |
3 | 3 |
| |
4 | 4 |
| |
5 | - | ||
5 | + | ||
6 | 6 |
| |
7 | 7 |
| |
8 | 8 |
| |
|
Lines changed: 1 addition & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
2 | 2 |
| |
3 | 3 |
| |
4 | 4 |
| |
5 | - | ||
5 | + | ||
6 | 6 |
| |
7 | 7 |
| |
8 | 8 |
| |
|
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
2 | 2 |
| |
3 | 3 |
| |
4 | 4 |
| |
5 | - | ||
5 | + | ||
6 | 6 |
| |
7 | 7 |
| |
8 | 8 |
| |
|
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
2 | 2 |
| |
3 | 3 |
| |
4 | 4 |
| |
5 | - | ||
5 | + | ||
6 | 6 |
| |
7 | 7 |
| |
8 | 8 |
| |
|
0 commit comments