File tree
84 files changed
+878
-1151
lines changed- solution
- 0100-0199
- 0134.Gas Station
- 0195.Tenth Line
- 0200-0299/0262.Trips and Users
- 0700-0799/0799.Champagne Tower
- 1000-1099
- 1016.Binary String With Substrings Representing 1 To N
- 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
- 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
- 2500-2599/2505.Bitwise OR of All Subsequence Sums
- 3300-3399/3357.Minimize the Maximum Adjacent Element Difference
- 3400-3499/3442.Maximum Difference Between Even and Odd Frequency I
- 3500-3599
- 3565.Sequential Grid Path Cover
- 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.
84 files changed
+878
-1151
lines changedLines 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: 0 additions & 15 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
23 | 23 |
| |
24 | 24 |
| |
25 | 25 |
| |
26 |
| - | |
27 | 26 |
| |
28 |
| - | |
29 | 27 |
| |
30 |
| - | |
31 | 28 |
| |
32 |
| - | |
33 | 29 |
| |
34 |
| - | |
35 | 30 |
| |
36 |
| - | |
37 | 31 |
| |
38 |
| - | |
39 | 32 |
| |
40 |
| - | |
41 | 33 |
| |
42 |
| - | |
43 | 34 |
| |
44 |
| - | |
45 | 35 |
| |
46 |
| - | |
47 | 36 |
| |
48 | 37 |
| |
49 | 38 |
| |
50 | 39 |
| |
51 | 40 |
| |
52 |
| - | |
53 | 41 |
| |
54 |
| - | |
55 | 42 |
| |
56 | 43 |
| |
57 | 44 |
| |
58 |
| - | |
59 | 45 |
| |
60 |
| - | |
61 | 46 |
| |
62 | 47 |
| |
63 | 48 |
| |
|
Lines changed: 0 additions & 4 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
36 | 36 |
| |
37 | 37 |
| |
38 | 38 |
| |
39 |
| - | |
40 |
| - | |
41 | 39 |
| |
42 | 40 |
| |
43 | 41 |
| |
| |||
57 | 55 |
| |
58 | 56 |
| |
59 | 57 |
| |
60 |
| - | |
61 |
| - | |
62 | 58 |
| |
63 | 59 |
| |
64 | 60 |
| |
|
Lines changed: 3 additions & 3 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
34 | 34 |
| |
35 | 35 |
| |
36 | 36 |
| |
37 |
| - | |
| 37 | + | |
38 | 38 |
| |
39 | 39 |
| |
40 | 40 |
| |
| |||
51 | 51 |
| |
52 | 52 |
| |
53 | 53 |
| |
54 |
| - | |
| 54 | + | |
55 | 55 |
| |
56 | 56 |
| |
57 | 57 |
| |
58 | 58 |
| |
59 | 59 |
| |
60 | 60 |
| |
61 | 61 |
| |
62 |
| - | |
| 62 | + | |
63 | 63 |
| |
64 | 64 |
| |
65 | 65 |
| |
|
Lines changed: 2 additions & 18 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
27 | 27 |
| |
28 | 28 |
| |
29 | 29 |
| |
30 |
| - | |
31 | 30 |
| |
32 | 31 |
| |
33 | 32 |
| |
34 |
| - | |
35 | 33 |
| |
36 |
| - | |
37 | 34 |
| |
38 |
| - | |
39 | 35 |
| |
40 |
| - | |
41 | 36 |
| |
42 | 37 |
| |
43 | 38 |
| |
44 | 39 |
| |
45 | 40 |
| |
46 |
| - | |
47 | 41 |
| |
48 |
| - | |
49 | 42 |
| |
50 |
| - | |
51 | 43 |
| |
52 |
| - | |
53 | 44 |
| |
54 | 45 |
| |
55 | 46 |
| |
56 | 47 |
| |
57 | 48 |
| |
58 |
| - | |
59 | 49 |
| |
60 |
| - | |
61 | 50 |
| |
62 |
| - | |
63 | 51 |
| |
64 | 52 |
| |
65 | 53 |
| |
66 |
| - | |
67 | 54 |
| |
68 | 55 |
| |
69 | 56 |
| |
70 |
| - | |
71 |
| - | |
72 |
| - | |
73 |
| - | |
74 |
| - | |
| 57 | + | |
| 58 | + | |
75 | 59 |
| |
76 | 60 |
| |
77 | 61 |
| |
|
Lines changed: 3 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
5 | 5 |
| |
6 | 6 |
| |
7 | 7 |
| |
| 8 | + | |
| 9 | + | |
8 | 10 |
| |
| 11 | + | |
9 | 12 |
| |
10 | 13 |
| |
11 | 14 |
| |
|
Lines changed: 3 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
5 | 5 |
| |
6 | 6 |
| |
7 | 7 |
| |
| 8 | + | |
| 9 | + | |
8 | 10 |
| |
| 11 | + | |
9 | 12 |
| |
10 | 13 |
| |
11 | 14 |
| |
|
Lines changed: 1 addition & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
13 | 13 |
| |
14 | 14 |
| |
15 | 15 |
| |
16 |
| - | |
| 16 | + | |
17 | 17 |
| |
18 | 18 |
| |
19 | 19 |
| |
|
Lines changed: 6 additions & 25 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
34 | 34 |
| |
35 | 35 |
| |
36 | 36 |
| |
37 |
| - | |
38 |
| - | |
39 |
| - | |
40 |
| - | |
41 |
| - | |
42 |
| - | |
43 |
| - | |
44 |
| - | |
45 |
| - | |
46 |
| - | |
47 |
| - | |
48 |
| - | |
49 |
| - | |
| 37 | + | |
50 | 38 |
| |
51 |
| - | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
52 | 43 |
| |
53 |
| - | |
| 44 | + | |
54 | 45 |
| |
55 | 46 |
| |
56 | 47 |
| |
57 |
| - | |
58 |
| - | |
59 | 48 |
| |
60 | 49 |
| |
61 | 50 |
| |
| |||
70 | 59 |
| |
71 | 60 |
| |
72 | 61 |
| |
73 |
| - | |
74 |
| - | |
75 |
| - | |
76 |
| - | |
77 |
| - | |
78 |
| - | |
79 |
| - | |
80 |
| - | |
81 | 62 |
| |
82 | 63 |
| |
83 | 64 |
| |
|
Lines changed: 15 additions & 29 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
30 | 30 |
| |
31 | 31 |
| |
32 | 32 |
| |
33 |
| - | |
34 |
| - | |
35 |
| - | |
36 |
| - | |
37 |
| - | |
38 |
| - | |
39 |
| - | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
40 | 36 |
| |
41 |
| - | |
42 |
| - | |
43 |
| - | |
44 |
| - | |
45 |
| - | |
46 |
| - | |
47 |
| - | |
48 |
| - | |
49 |
| - | |
50 | 37 |
| |
51 | 38 |
| |
52 |
| - | |
53 |
| - | |
54 |
| - | |
| 39 | + | |
55 | 40 |
| |
56 |
| - | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
57 | 49 |
| |
58 |
| - | |
| 50 | + | |
| 51 | + | |
59 | 52 |
| |
60 | 53 |
| |
61 | 54 |
| |
| |||
70 | 63 |
| |
71 | 64 |
| |
72 | 65 |
| |
73 |
| - | |
74 |
| - | |
75 |
| - | |
76 |
| - | |
77 |
| - | |
78 |
| - | |
79 |
| - | |
80 |
| - | |
| 66 | + | |
81 | 67 |
| |
82 | 68 |
| |
83 | 69 |
| |
|
Lines changed: 1 addition & 12 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
23 | 23 |
| |
24 | 24 |
| |
25 | 25 |
| |
26 |
| - | |
27 | 26 |
| |
28 |
| - | |
29 | 27 |
| |
30 |
| - | |
31 | 28 |
| |
32 |
| - | |
33 | 29 |
| |
34 |
| - | |
35 | 30 |
| |
36 |
| - | |
37 | 31 |
| |
38 |
| - | |
39 | 32 |
| |
40 |
| - | |
41 | 33 |
| |
42 |
| - | |
43 | 34 |
| |
44 | 35 |
| |
45 | 36 |
| |
46 |
| - | |
47 |
| - | |
48 |
| - | |
| 37 | + | |
49 | 38 |
| |
50 | 39 |
| |
51 | 40 |
| |
|
Lines changed: 6 additions & 14 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
22 | 22 |
| |
23 | 23 |
| |
24 | 24 |
| |
25 |
| - | |
26 |
| - | |
27 |
| - | |
28 |
| - | |
29 |
| - | |
30 |
| - | |
31 |
| - | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
32 | 28 |
| |
33 | 29 |
| |
34 | 30 |
| |
35 | 31 |
| |
36 | 32 |
| |
37 |
| - | |
38 |
| - | |
39 |
| - | |
40 |
| - | |
41 |
| - | |
42 |
| - | |
43 |
| - | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
44 | 36 |
| |
45 | 37 |
| |
46 | 38 |
| |
|
0 commit comments