forked from doocs/leetcode
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit 8669e5b
feat: add solutions to lc problems: No.2000+ (doocs#2095)
1 parent 25c77f3 commit 8669e5b
File tree
41 files changed
+505
-238
lines changed- solution
- 2000-2099
- 2000.Reverse Prefix of Word
- 2001.Number of Pairs of Interchangeable Rectangles
- 2002.Maximum Product of the Length of Two Palindromic Subsequences
- 2006.Count Number of Pairs With Absolute Difference K
- 2007.Find Original Array From Doubled Array
- 2009.Minimum Number of Operations to Make Array Continuous
- 2011.Final Value of Variable After Performing Operations
- 2012.Sum of Beauty in the Array
- 2013.Detect Squares
- 2015.Average Height of Buildings in Each Segment
- 2016.Maximum Difference Between Increasing Elements
- 2017.Grid Game
- 2018.Check if Word Can Be Placed In Crossword
- 2019.The Score of Students Solving Math Expression
- 2021.Brightest Position on Street
- 2022.Convert 1D Array Into 2D Array
- 2023.Number of Pairs of Strings With Concatenation Equal to Target
- 2024.Maximize the Confusion of an Exam
- 2025.Maximum Number of Ways to Partition an Array
- 2027.Minimum Moves to Convert String
- 2028.Find Missing Observations
- 2032.Two Out of Three
- 2033.Minimum Operations to Make a Uni-Value Grid
- 2036.Maximum Alternating Subarray Sum
- 2037.Minimum Number of Moves to Seat Everyone
- 2042.Check if Numbers Are Ascending in a Sentence
- 2043.Simple Bank System
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
41 files changed
+505
-238
lines changedLines changed: 6 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
51 | 51 |
| |
52 | 52 |
| |
53 | 53 |
| |
54 | + | ||
55 | + | ||
56 | + | ||
57 | + | ||
58 | + | ||
59 | + | ||
54 | 60 |
| |
55 | 61 |
| |
56 | 62 |
| |
|
Lines changed: 1 addition & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
55 | 55 |
| |
56 | 56 |
| |
57 | 57 |
| |
58 | - | ||
58 | + | ||
59 | 59 |
| |
60 | 60 |
| |
61 | 61 |
| |
|
Lines changed: 6 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
45 | 45 |
| |
46 | 46 |
| |
47 | 47 |
| |
48 | + | ||
49 | + | ||
50 | + | ||
51 | + | ||
52 | + | ||
53 | + | ||
48 | 54 |
| |
49 | 55 |
| |
50 | 56 |
| |
|
solution/2000-2099/2002.Maximum Product of the Length of Two Palindromic Subsequences/README_EN.md
Lines changed: 8 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
48 | 48 |
| |
49 | 49 |
| |
50 | 50 |
| |
51 | + | ||
52 | + | ||
53 | + | ||
54 | + | ||
55 | + | ||
56 | + | ||
57 | + | ||
58 | + | ||
51 | 59 |
| |
52 | 60 |
| |
53 | 61 |
| |
|
Lines changed: 4 additions & 4 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
61 | 61 |
| |
62 | 62 |
| |
63 | 63 |
| |
64 | - | ||
64 | + | ||
65 | 65 |
| |
66 | 66 |
| |
67 | 67 |
| |
68 | - | ||
68 | + | ||
69 | 69 |
| |
70 | 70 |
| |
71 | 71 |
| |
72 | - | ||
72 | + | ||
73 | 73 |
| |
74 | 74 |
| |
75 | 75 |
| |
76 | - | ||
76 | + | ||
77 | 77 |
| |
78 | 78 |
| |
79 | 79 |
| |
|
Lines changed: 16 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
56 | 56 |
| |
57 | 57 |
| |
58 | 58 |
| |
59 | + | ||
60 | + | ||
61 | + | ||
62 | + | ||
63 | + | ||
64 | + | ||
65 | + | ||
66 | + | ||
67 | + | ||
68 | + | ||
69 | + | ||
70 | + | ||
71 | + | ||
72 | + | ||
73 | + | ||
74 | + | ||
59 | 75 |
| |
60 | 76 |
| |
61 | 77 |
| |
|
Lines changed: 12 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
47 | 47 |
| |
48 | 48 |
| |
49 | 49 |
| |
50 | + | ||
51 | + | ||
52 | + | ||
53 | + | ||
54 | + | ||
55 | + | ||
56 | + | ||
57 | + | ||
58 | + | ||
59 | + | ||
60 | + | ||
61 | + | ||
50 | 62 |
| |
51 | 63 |
| |
52 | 64 |
| |
|
Lines changed: 20 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 | + | ||
66 | + | ||
67 | + | ||
68 | + | ||
69 | + | ||
70 | + | ||
71 | + | ||
72 | + | ||
73 | + | ||
74 | + | ||
75 | + | ||
76 | + | ||
77 | + | ||
78 | + | ||
79 | + | ||
60 | 80 |
| |
61 | 81 |
| |
62 | 82 |
| |
|
Lines changed: 1 addition & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
73 | 73 |
| |
74 | 74 |
| |
75 | 75 |
| |
76 | - | ||
76 | + | ||
77 | 77 |
| |
78 | 78 |
| |
79 | 79 |
| |
|
Lines changed: 6 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
63 | 63 |
| |
64 | 64 |
| |
65 | 65 |
| |
66 | + | ||
67 | + | ||
68 | + | ||
69 | + | ||
70 | + | ||
71 | + | ||
66 | 72 |
| |
67 | 73 |
| |
68 | 74 |
| |
|
0 commit comments