File tree
86 files changed
+2385
-213
lines changed- solution
- 0000-0099/0003.Longest Substring Without Repeating Characters
- 0700-0799/0763.Partition Labels
- 0900-0999
- 0980.Unique Paths III
- 0981.Time Based Key-Value Store
- 1200-1299/1261.Find Elements in a Contaminated Binary Tree
- 1300-1399/1352.Product of the Last K Numbers
- 1400-1499/1408.String Matching in an Array
- 1700-1799
- 1730.Shortest Path to Get Food
- 1752.Check if Array Is Sorted and Rotated
- 1800-1899
- 1800.Maximum Ascending Subarray Sum
- 1852.Distinct Numbers in Each Subarray
- 1900-1999/1976.Number of Ways to Arrive at Destination
- images
- 2100-2199
- 2115.Find All Possible Recipes from Given Supplies
- 2116.Check if a Parentheses String Can Be Valid
- 2161.Partition Array According to Given Pivot
- 2200-2299/2226.Maximum Candies Allocated to K Children
- 2300-2399
- 2342.Max Sum of a Pair With Equal Sum of Digits
- 2353.Design a Food Rating System
- 2400-2499/2425.Bitwise XOR of All Pairings
- 2500-2599
- 2523.Closest Prime Numbers in Range
- 2559.Count Vowel Strings in Ranges
- 2570.Merge Two 2D Arrays by Summing Values
- 2597.The Number of Beautiful Subsets
- 2600-2699/2698.Find the Punishment Number of an Integer
- 2700-2799/2780.Minimum Index of a Valid Split
- 3000-3099/3066.Minimum Operations to Exceed Threshold Value II
- 3100-3199
- 3151.Special Array I
- 3160.Find the Number of Distinct Colors Among the Balls
- 3174.Clear Digits
- 3200-3299/3223.Minimum Length of String After Operations
- 3400-3499
- 3446.Sort Matrix by Diagonals
- 3447.Assign Elements to Groups with Constraints
- 3448.Count Substrings Divisible By Last Digit
- 3449.Maximize the Minimum Game Score
- 3451.Find Invalid IP Addresses
- 3452.Sum of Good Numbers
- 3453.Separate Squares I
- images
- 3454.Separate Squares II
- images
- 3455.Shortest Matching Substring
- 3456.Find Special Substring of Length K
- 3457.Eat Pizzas!
- 3458.Select K Disjoint Special Substrings
- 3459.Length of Longest V-Shaped Diagonal Segment
- images
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
86 files changed
+2385
-213
lines changedLines changed: 1 addition & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
18 | 18 |
| |
19 | 19 |
| |
20 | 20 |
| |
21 |
| - | |
| 21 | + | |
22 | 22 |
| |
23 | 23 |
| |
24 | 24 |
| |
|
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 | |
---|---|---|---|
| |||
46 | 46 |
| |
47 | 47 |
| |
48 | 48 |
| |
49 |
| - | |
| 49 | + | |
50 | 50 |
| |
51 | 51 |
| |
52 | 52 |
| |
|
Lines changed: 2 additions & 2 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
36 | 36 |
| |
37 | 37 |
| |
38 | 38 |
| |
39 |
| - | |
| 39 | + | |
40 | 40 |
| |
41 | 41 |
| |
42 | 42 |
| |
| |||
46 | 46 |
| |
47 | 47 |
| |
48 | 48 |
| |
49 |
| - | |
| 49 | + | |
50 | 50 |
| |
51 | 51 |
| |
52 | 52 |
| |
|
Lines changed: 2 additions & 2 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
41 | 41 |
| |
42 | 42 |
| |
43 | 43 |
| |
44 |
| - | |
| 44 | + | |
45 | 45 |
| |
46 | 46 |
| |
47 |
| - | |
| 47 | + | |
48 | 48 |
| |
49 | 49 |
| |
50 | 50 |
| |
|
Lines changed: 24 additions & 17 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
27 | 27 |
| |
28 | 28 |
| |
29 | 29 |
| |
30 |
| - | |
31 |
| - | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
32 | 36 |
| |
33 | 37 |
| |
34 | 38 |
| |
| |||
42 | 46 |
| |
43 | 47 |
| |
44 | 48 |
| |
45 |
| - | |
| 49 | + | |
46 | 50 |
| |
47 |
| - | |
| 51 | + | |
48 | 52 |
| |
49 |
| - | |
50 |
| - | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
51 | 56 |
| |
52 | 57 |
| |
53 | 58 |
| |
| |||
56 | 61 |
| |
57 | 62 |
| |
58 | 63 |
| |
59 |
| - | |
| 64 | + | |
60 | 65 |
| |
61 |
| - | |
| 66 | + | |
62 | 67 |
| |
63 |
| - | |
64 |
| - | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
65 | 71 |
| |
66 | 72 |
| |
67 | 73 |
| |
| |||
71 | 77 |
| |
72 | 78 |
| |
73 | 79 |
| |
74 |
| - | |
| 80 | + | |
75 | 81 |
| |
76 |
| - | |
| 82 | + | |
77 | 83 |
| |
78 |
| - | |
79 |
| - | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
80 | 87 |
| |
81 | 88 |
| |
82 | 89 |
| |
| |||
95 | 102 |
| |
96 | 103 |
| |
97 | 104 |
| |
98 |
| - | |
99 |
| - | |
100 |
| - | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
101 | 108 |
| |
102 | 109 |
| |
103 | 110 |
| |
|
Lines changed: 6 additions & 2 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
27 | 27 |
| |
28 | 28 |
| |
29 | 29 |
| |
30 |
| - | |
31 |
| - | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
32 | 36 |
| |
33 | 37 |
| |
34 | 38 |
| |
|
Lines changed: 17 additions & 16 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
22 | 22 |
| |
23 | 23 |
| |
24 | 24 |
| |
25 |
| - | |
| 25 | + | |
26 | 26 |
| |
27 |
| - | |
| 27 | + | |
28 | 28 |
| |
29 | 29 |
| |
30 |
| - | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
31 | 33 |
| |
32 | 34 |
| |
33 |
| - | |
34 |
| - | |
35 |
| - | |
36 |
| - | |
37 |
| - | |
38 |
| - | |
39 |
| - | |
40 |
| - | |
| 35 | + | |
41 | 36 |
| |
42 | 37 |
| |
43 | 38 |
| |
44 | 39 |
| |
45 | 40 |
| |
46 |
| - | |
47 |
| - | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
48 | 44 |
| |
49 | 45 |
| |
50 | 46 |
| |
| |||
61 | 57 |
| |
62 | 58 |
| |
63 | 59 |
| |
64 |
| - | |
| 60 | + | |
65 | 61 |
| |
66 | 62 |
| |
67 | 63 |
| |
68 | 64 |
| |
69 | 65 |
| |
70 | 66 |
| |
71 | 67 |
| |
72 |
| - | |
73 | 68 |
| |
74 |
| - | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
75 | 72 |
| |
76 | 73 |
| |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
77 | 78 |
| |
78 | 79 |
| |
79 | 80 |
| |
|
Lines changed: 4 additions & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
56 | 56 |
| |
57 | 57 |
| |
58 | 58 |
| |
59 |
| - | |
| 59 | + | |
60 | 60 |
| |
61 | 61 |
| |
62 | 62 |
| |
| |||
69 | 69 |
| |
70 | 70 |
| |
71 | 71 |
| |
| 72 | + | |
| 73 | + | |
| 74 | + | |
72 | 75 |
| |
73 | 76 |
| |
74 | 77 |
| |
|
Lines changed: 1 addition & 3 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
20 | 20 |
| |
21 | 21 |
| |
22 | 22 |
| |
23 |
| - | |
24 |
| - | |
25 |
| - | |
| 23 | + | |
26 | 24 |
| |
27 | 25 |
| |
28 | 26 |
| |
|
Lines changed: 6 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
57 | 57 |
| |
58 | 58 |
| |
59 | 59 |
| |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
60 | 66 |
| |
61 | 67 |
| |
62 | 68 |
| |
|
Lines changed: 1 addition & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
22 | 22 |
| |
23 | 23 |
| |
24 | 24 |
| |
25 |
| - | |
| 25 | + | |
26 | 26 |
| |
27 | 27 |
| |
28 | 28 |
| |
|
Lines changed: 1 addition & 3 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
18 | 18 |
| |
19 | 19 |
| |
20 | 20 |
| |
21 |
| - | |
| 21 | + | |
22 | 22 |
| |
23 | 23 |
| |
24 | 24 |
| |
25 |
| - | |
26 |
| - | |
27 | 25 |
| |
28 | 26 |
| |
29 | 27 |
| |
|
Lines changed: 13 additions & 35 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
18 | 18 |
| |
19 | 19 |
| |
20 | 20 |
| |
21 |
| - | |
| 21 | + | |
22 | 22 |
| |
23 |
| - | |
| 23 | + | |
24 | 24 |
| |
25 | 25 |
| |
26 |
| - | |
27 | 26 |
| |
28 | 27 |
| |
29 | 28 |
| |
30 |
| - | |
31 | 29 |
| |
32 |
| - | |
33 | 30 |
| |
34 |
| - | |
35 | 31 |
| |
36 |
| - | |
37 |
| - | |
38 |
| - | |
39 |
| - | |
40 |
| - | |
41 |
| - | |
42 |
| - | |
43 |
| - | |
44 |
| - | |
45 |
| - | |
46 |
| - | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
47 | 37 |
| |
48 | 38 |
| |
49 | 39 |
| |
50 | 40 |
| |
51 | 41 |
| |
52 |
| - | |
53 | 42 |
| |
54 |
| - | |
55 | 43 |
| |
56 |
| - | |
57 | 44 |
| |
58 |
| - | |
59 |
| - | |
60 |
| - | |
61 |
| - | |
62 |
| - | |
63 |
| - | |
64 |
| - | |
65 |
| - | |
66 |
| - | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
67 | 49 |
| |
68 | 50 |
| |
69 | 51 |
| |
70 |
| - | |
71 | 52 |
| |
72 | 53 |
| |
73 | 54 |
| |
74 |
| - | |
75 |
| - | |
76 |
| - | |
77 |
| - | |
78 |
| - | |
| 55 | + | |
| 56 | + | |
79 | 57 |
| |
80 | 58 |
| |
81 | 59 |
| |
|
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 |
| |
|
0 commit comments