File tree
120 files changed
+143
-379
lines changed- lcof2
- 剑指 Offer II 113. 课程顺序
- 剑指 Offer II 115. 重建序列
- lcp/LCP 05. 发 LeetCoin
- solution
- 0200-0299
- 0207.Course Schedule
- 0210.Course Schedule II
- 0300-0399/0310.Minimum Height Trees
- 0400-0499/0444.Sequence Reconstruction
- 0700-0799/0792.Number of Matching Subsequences
- 0800-0899
- 0802.Find Eventual Safe States
- 0815.Bus Routes
- 0828.Count Unique Characters of All Substrings of a Given String
- 0882.Reachable Nodes In Subdivided Graph
- 0886.Possible Bipartition
- 1000-1099
- 1042.Flower Planting With No Adjacent
- 1059.All Paths from Source Lead to Destination
- 1100-1199
- 1129.Shortest Path with Alternating Colors
- 1136.Parallel Courses
- 1200-1299/1282.Group the People Given the Group Size They Belong To
- 1300-1399/1377.Frog Position After T Seconds
- 1400-1499
- 1434.Number of Ways to Wear Different Hats to Each Other
- 1443.Minimum Time to Collect All Apples in a Tree
- 1700-1799/1719.Number Of Ways To Reconstruct A Tree
- 1800-1899/1857.Largest Color Value in a Directed Graph
- 1900-1999/1993.Operations on Tree
- 2000-2099
- 2039.The Time When the Network Becomes Idle
- 2045.Second Minimum Time to Reach Destination
- 2050.Parallel Courses III
- 2100-2199
- 2184.Number of Ways to Build Sturdy Brick Wall
- 2192.All Ancestors of a Node in a Directed Acyclic Graph
- 2200-2299
- 2242.Maximum Score of a Node Sequence
- 2250.Count Number of Rectangles Containing Each Point
- 2300-2399
- 2316.Count Unreachable Pairs of Nodes in an Undirected Graph
- 2322.Minimum Score After Removals on a Tree
- 2359.Find Closest Node to Given Two Nodes
- 2368.Reachable Nodes With Restrictions
- 2392.Build a Matrix With Conditions
- 2400-2499
- 2421.Number of Good Paths
- 2440.Create Components With Same Value
- 2467.Most Profitable Path in a Tree
- 2477.Minimum Fuel Cost to Report to the Capital
- 2479.Maximum XOR of Two Non-Overlapping Subtrees
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
120 files changed
+143
-379
lines changedOriginal file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
94 | 94 |
| |
95 | 95 |
| |
96 | 96 |
| |
97 |
| - | |
98 |
| - | |
99 |
| - | |
| 97 | + | |
100 | 98 |
| |
101 | 99 |
| |
102 | 100 |
| |
|
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1 | 1 |
| |
2 | 2 |
| |
3 | 3 |
| |
4 |
| - | |
5 |
| - | |
6 |
| - | |
| 4 | + | |
7 | 5 |
| |
8 | 6 |
| |
9 | 7 |
| |
|
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
116 | 116 |
| |
117 | 117 |
| |
118 | 118 |
| |
119 |
| - | |
120 |
| - | |
121 |
| - | |
| 119 | + | |
122 | 120 |
| |
123 | 121 |
| |
124 | 122 |
| |
|
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
3 | 3 |
| |
4 | 4 |
| |
5 | 5 |
| |
6 |
| - | |
7 |
| - | |
8 |
| - | |
| 6 | + | |
9 | 7 |
| |
10 | 8 |
| |
11 | 9 |
| |
|
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
289 | 289 |
| |
290 | 290 |
| |
291 | 291 |
| |
292 |
| - | |
293 |
| - | |
294 |
| - | |
| 292 | + | |
295 | 293 |
| |
296 | 294 |
| |
297 | 295 |
| |
|
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
96 | 96 |
| |
97 | 97 |
| |
98 | 98 |
| |
99 |
| - | |
100 |
| - | |
101 |
| - | |
| 99 | + | |
102 | 100 |
| |
103 | 101 |
| |
104 | 102 |
| |
|
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
86 | 86 |
| |
87 | 87 |
| |
88 | 88 |
| |
89 |
| - | |
90 |
| - | |
91 |
| - | |
| 89 | + | |
92 | 90 |
| |
93 | 91 |
| |
94 | 92 |
| |
|
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
74 | 74 |
| |
75 | 75 |
| |
76 | 76 |
| |
77 |
| - | |
78 |
| - | |
79 |
| - | |
| 77 | + | |
80 | 78 |
| |
81 | 79 |
| |
82 | 80 |
| |
|
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1 | 1 |
| |
2 | 2 |
| |
3 | 3 |
| |
4 |
| - | |
5 |
| - | |
6 |
| - | |
| 4 | + | |
7 | 5 |
| |
8 | 6 |
| |
9 | 7 |
| |
|
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
91 | 91 |
| |
92 | 92 |
| |
93 | 93 |
| |
94 |
| - | |
95 |
| - | |
96 |
| - | |
| 94 | + | |
97 | 95 |
| |
98 | 96 |
| |
99 | 97 |
| |
|
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
81 | 81 |
| |
82 | 82 |
| |
83 | 83 |
| |
84 |
| - | |
85 |
| - | |
86 |
| - | |
| 84 | + | |
87 | 85 |
| |
88 | 86 |
| |
89 | 87 |
| |
|
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1 | 1 |
| |
2 | 2 |
| |
3 | 3 |
| |
4 |
| - | |
5 |
| - | |
6 |
| - | |
| 4 | + | |
7 | 5 |
| |
8 | 6 |
| |
9 | 7 |
| |
|
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
102 | 102 |
| |
103 | 103 |
| |
104 | 104 |
| |
| 105 | + | |
105 | 106 |
| |
106 |
| - | |
107 |
| - | |
108 |
| - | |
109 | 107 |
| |
110 | 108 |
| |
111 | 109 |
| |
|
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
85 | 85 |
| |
86 | 86 |
| |
87 | 87 |
| |
| 88 | + | |
88 | 89 |
| |
89 |
| - | |
90 |
| - | |
91 |
| - | |
92 | 90 |
| |
93 | 91 |
| |
94 | 92 |
| |
|
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
4 | 4 |
| |
5 | 5 |
| |
6 | 6 |
| |
| 7 | + | |
7 | 8 |
| |
8 |
| - | |
9 |
| - | |
10 |
| - | |
11 | 9 |
| |
12 | 10 |
| |
13 | 11 |
| |
|
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
114 | 114 |
| |
115 | 115 |
| |
116 | 116 |
| |
117 |
| - | |
118 |
| - | |
119 |
| - | |
| 117 | + | |
120 | 118 |
| |
121 | 119 |
| |
122 | 120 |
| |
|
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
103 | 103 |
| |
104 | 104 |
| |
105 | 105 |
| |
106 |
| - | |
107 |
| - | |
108 |
| - | |
| 106 | + | |
109 | 107 |
| |
110 | 108 |
| |
111 | 109 |
| |
|
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
3 | 3 |
| |
4 | 4 |
| |
5 | 5 |
| |
6 |
| - | |
7 |
| - | |
8 |
| - | |
| 6 | + | |
9 | 7 |
| |
10 | 8 |
| |
11 | 9 |
| |
|
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
152 | 152 |
| |
153 | 153 |
| |
154 | 154 |
| |
155 |
| - | |
156 |
| - | |
157 |
| - | |
| 155 | + | |
158 | 156 |
| |
159 | 157 |
| |
160 | 158 |
| |
| |||
179 | 177 |
| |
180 | 178 |
| |
181 | 179 |
| |
182 |
| - | |
183 |
| - | |
184 |
| - | |
| 180 | + | |
185 | 181 |
| |
186 | 182 |
| |
187 | 183 |
| |
| |||
208 | 204 |
| |
209 | 205 |
| |
210 | 206 |
| |
211 |
| - | |
212 |
| - | |
213 |
| - | |
| 207 | + | |
214 | 208 |
| |
215 | 209 |
| |
216 | 210 |
| |
|
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
103 | 103 |
| |
104 | 104 |
| |
105 | 105 |
| |
106 |
| - | |
107 |
| - | |
108 |
| - | |
| 106 | + | |
109 | 107 |
| |
110 | 108 |
| |
111 | 109 |
| |
| |||
130 | 128 |
| |
131 | 129 |
| |
132 | 130 |
| |
133 |
| - | |
134 |
| - | |
135 |
| - | |
| 131 | + | |
136 | 132 |
| |
137 | 133 |
| |
138 | 134 |
| |
| |||
159 | 155 |
| |
160 | 156 |
| |
161 | 157 |
| |
162 |
| - | |
163 |
| - | |
164 |
| - | |
| 158 | + | |
165 | 159 |
| |
166 | 160 |
| |
167 | 161 |
| |
|
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1 | 1 |
| |
2 | 2 |
| |
3 | 3 |
| |
4 |
| - | |
5 |
| - | |
6 |
| - | |
| 4 | + | |
7 | 5 |
| |
8 | 6 |
| |
9 | 7 |
| |
|
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
122 | 122 |
| |
123 | 123 |
| |
124 | 124 |
| |
125 |
| - | |
126 |
| - | |
127 |
| - | |
| 125 | + | |
128 | 126 |
| |
129 | 127 |
| |
130 | 128 |
| |
|
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
95 | 95 |
| |
96 | 96 |
| |
97 | 97 |
| |
98 |
| - | |
99 |
| - | |
100 |
| - | |
| 98 | + | |
101 | 99 |
| |
102 | 100 |
| |
103 | 101 |
| |
|
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
120 | 120 |
| |
121 | 121 |
| |
122 | 122 |
| |
| 123 | + | |
| 124 | + | |
123 | 125 |
| |
124 | 126 |
| |
125 |
| - | |
126 |
| - | |
127 | 127 |
| |
128 | 128 |
| |
129 | 129 |
| |
|
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
95 | 95 |
| |
96 | 96 |
| |
97 | 97 |
| |
| 98 | + | |
| 99 | + | |
98 | 100 |
| |
99 | 101 |
| |
100 |
| - | |
101 |
| - | |
102 | 102 |
| |
103 | 103 |
| |
104 | 104 |
| |
|
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
6 | 6 |
| |
7 | 7 |
| |
8 | 8 |
| |
| 9 | + | |
| 10 | + | |
9 | 11 |
| |
10 | 12 |
| |
11 |
| - | |
12 |
| - | |
13 | 13 |
| |
14 | 14 |
| |
15 | 15 |
| |
|
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
88 | 88 |
| |
89 | 89 |
| |
90 | 90 |
| |
| 91 | + | |
91 | 92 |
| |
92 |
| - | |
93 | 93 |
| |
94 | 94 |
| |
95 | 95 |
| |
|
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
74 | 74 |
| |
75 | 75 |
| |
76 | 76 |
| |
| 77 | + | |
77 | 78 |
| |
78 |
| - | |
79 | 79 |
| |
80 | 80 |
| |
81 | 81 |
| |
|
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1 | 1 |
| |
2 | 2 |
| |
3 | 3 |
| |
| 4 | + | |
4 | 5 |
| |
5 |
| - | |
6 | 6 |
| |
7 | 7 |
| |
8 | 8 |
| |
|
0 commit comments