File tree
122 files changed
+471
-246
lines changed- .github/workflows
- lcof/面试题05. 替换空格
- solution
- 0000-0099
- 0001.Two Sum
- 0013.Roman to Integer
- 0014.Longest Common Prefix
- 0026.Remove Duplicates from Sorted Array
- 0027.Remove Element
- 0028.Find the Index of the First Occurrence in a String
- 0058.Length of Last Word
- 0100-0199
- 0100.Same Tree
- 0125.Valid Palindrome
- 0169.Majority Element
- 0200-0299
- 0229.Majority Element II
- 0263.Ugly Number
- 0268.Missing Number
- 0299.Bulls and Cows
- 0300-0399
- 0349.Intersection of Two Arrays
- 0383.Ransom Note
- 0400-0499
- 0412.Fizz Buzz
- 0434.Number of Segments in a String
- 0451.Sort Characters By Frequency
- 0485.Max Consecutive Ones
- 0500-0599/0557.Reverse Words in a String III
- 0600-0699/0674.Longest Continuous Increasing Subsequence
- 0700-0799
- 0744.Find Smallest Letter Greater Than Target
- 0796.Rotate String
- 0800-0899/0876.Middle of the Linked List
- 1000-1099/1034.Coloring A Border
- 1100-1199
- 1137.N-th Tribonacci Number
- 1160.Find Words That Can Be Formed by Characters
- 1189.Maximum Number of Balloons
- 1200-1299
- 1213.Intersection of Three Sorted Arrays
- 1287.Element Appearing More Than 25% In Sorted Array
- 1289.Minimum Falling Path Sum II
- 1300-1399
- 1323.Maximum 69 Number
- 1346.Check If N and Its Double Exist
- 1394.Find Lucky Integer in an Array
- 1400-1499
- 1426.Counting Elements
- 1451.Rearrange Words in a Sentence
- 1455.Check If a Word Occurs As a Prefix of Any Word in a Sentence
- 1464.Maximum Product of Two Elements in an Array
- 1480.Running Sum of 1d Array
- 1500-1599
- 1507.Reformat Date
- 1512.Number of Good Pairs
- 1523.Count Odd Numbers in an Interval Range
- 1600-1699/1672.Richest Customer Wealth
- 1700-1799
- 1704.Determine if String Halves Are Alike
- 1748.Sum of Unique Elements
- 1800-1899/1876.Substrings of Size Three with Distinct Characters
- 1900-1999
- 1945.Sum of Digits of String After Convert
- 1957.Delete Characters to Make Fancy String
- 2000-2099
- 2000.Reverse Prefix of Word
- 2068.Check Whether Two Strings are Almost Equivalent
- 2200-2299
- 2215.Find the Difference of Two Arrays
- 2248.Intersection of Multiple Arrays
- 2259.Remove Digit From Number to Maximize Result
- 2300-2399
- 2351.First Letter to Appear Twice
- 2390.Removing Stars From a String
- 2400-2499/2404.Most Frequent Even Element
- 2600-2699
- 2619.Array Prototype Last
- 2647.Color the Triangle Red
- 2694.Event Emitter
- 2700-2799
- 2730.Find the Longest Semi-Repetitive Substring
- 2735.Collecting Chocolates
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
122 files changed
+471
-246
lines changedThis file was deleted.
+2-1
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
6 | 6 |
| |
7 | 7 |
| |
8 | 8 |
| |
9 |
| - | |
| 9 | + | |
| 10 | + | |
10 | 11 |
|
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
227 | 227 |
| |
228 | 228 |
| |
229 | 229 |
| |
230 |
| - | |
| 230 | + | |
231 | 231 |
| |
232 |
| - | |
233 |
| - | |
| 232 | + | |
| 233 | + | |
| 234 | + | |
| 235 | + | |
| 236 | + | |
234 | 237 |
| |
235 | 238 |
| |
236 | 239 |
| |
|
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
238 | 238 |
| |
239 | 239 |
| |
240 | 240 |
| |
241 |
| - | |
242 | 241 |
| |
243 | 242 |
| |
244 | 243 |
| |
|
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
227 | 227 |
| |
228 | 228 |
| |
229 | 229 |
| |
230 |
| - | |
231 | 230 |
| |
232 | 231 |
| |
233 | 232 |
| |
|
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
243 | 243 |
| |
244 | 244 |
| |
245 | 245 |
| |
246 |
| - | |
| 246 | + | |
| 247 | + | |
| 248 | + | |
| 249 | + | |
| 250 | + | |
| 251 | + | |
| 252 | + | |
| 253 | + | |
| 254 | + | |
247 | 255 |
| |
248 | 256 |
| |
249 | 257 |
| |
250 | 258 |
| |
251 |
| - | |
252 |
| - | |
| 259 | + | |
| 260 | + | |
| 261 | + | |
| 262 | + | |
| 263 | + | |
253 | 264 |
| |
254 | 265 |
| |
255 | 266 |
| |
|
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
221 | 221 |
| |
222 | 222 |
| |
223 | 223 |
| |
224 |
| - | |
| 224 | + | |
| 225 | + | |
| 226 | + | |
| 227 | + | |
| 228 | + | |
| 229 | + | |
| 230 | + | |
| 231 | + | |
| 232 | + | |
225 | 233 |
| |
226 | 234 |
| |
227 | 235 |
| |
228 | 236 |
| |
229 |
| - | |
230 |
| - | |
| 237 | + | |
| 238 | + | |
| 239 | + | |
| 240 | + | |
| 241 | + | |
231 | 242 |
| |
232 | 243 |
| |
233 | 244 |
| |
|
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
228 | 228 |
| |
229 | 229 |
| |
230 | 230 |
| |
231 |
| - | |
| 231 | + | |
232 | 232 |
| |
233 | 233 |
| |
234 |
| - | |
| 234 | + | |
| 235 | + | |
| 236 | + | |
235 | 237 |
| |
236 |
| - | |
| 238 | + | |
237 | 239 |
| |
238 | 240 |
| |
239 | 241 |
| |
|
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
219 | 219 |
| |
220 | 220 |
| |
221 | 221 |
| |
222 |
| - | |
| 222 | + | |
223 | 223 |
| |
224 | 224 |
| |
225 |
| - | |
| 225 | + | |
| 226 | + | |
| 227 | + | |
226 | 228 |
| |
227 |
| - | |
| 229 | + | |
228 | 230 |
| |
229 | 231 |
| |
230 | 232 |
| |
|
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
229 | 229 |
| |
230 | 230 |
| |
231 | 231 |
| |
232 |
| - | |
233 | 232 |
| |
234 | 233 |
| |
235 | 234 |
| |
236 | 235 |
| |
237 | 236 |
| |
238 | 237 |
| |
239 |
| - | |
| 238 | + | |
240 | 239 |
| |
241 | 240 |
| |
242 | 241 |
| |
|
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
203 | 203 |
| |
204 | 204 |
| |
205 | 205 |
| |
206 |
| - | |
207 | 206 |
| |
208 | 207 |
| |
209 | 208 |
| |
210 | 209 |
| |
211 | 210 |
| |
212 | 211 |
| |
213 |
| - | |
| 212 | + | |
214 | 213 |
| |
215 | 214 |
| |
216 | 215 |
| |
|
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
196 | 196 |
| |
197 | 197 |
| |
198 | 198 |
| |
199 |
| - | |
200 | 199 |
| |
201 | 200 |
| |
202 | 201 |
| |
|
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
192 | 192 |
| |
193 | 193 |
| |
194 | 194 |
| |
195 |
| - | |
196 | 195 |
| |
197 | 196 |
| |
198 | 197 |
| |
|
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
355 | 355 |
| |
356 | 356 |
| |
357 | 357 |
| |
358 |
| - | |
359 |
| - | |
| 358 | + | |
| 359 | + | |
360 | 360 |
| |
361 | 361 |
| |
362 |
| - | |
| 362 | + | |
363 | 363 |
| |
364 | 364 |
| |
365 | 365 |
| |
|
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
341 | 341 |
| |
342 | 342 |
| |
343 | 343 |
| |
344 |
| - | |
345 |
| - | |
| 344 | + | |
| 345 | + | |
346 | 346 |
| |
347 | 347 |
| |
348 |
| - | |
| 348 | + | |
349 | 349 |
| |
350 | 350 |
| |
351 | 351 |
| |
|
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
210 | 210 |
| |
211 | 211 |
| |
212 | 212 |
| |
213 |
| - | |
| 213 | + | |
214 | 214 |
| |
215 | 215 |
| |
216 |
| - | |
| 216 | + | |
217 | 217 |
| |
218 | 218 |
| |
219 | 219 |
| |
|
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
200 | 200 |
| |
201 | 201 |
| |
202 | 202 |
| |
203 |
| - | |
| 203 | + | |
204 | 204 |
| |
205 | 205 |
| |
206 |
| - | |
| 206 | + | |
207 | 207 |
| |
208 | 208 |
| |
209 | 209 |
| |
|
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
589 | 589 |
| |
590 | 590 |
| |
591 | 591 |
| |
592 |
| - | |
| 592 | + | |
593 | 593 |
| |
594 | 594 |
| |
595 |
| - | |
| 595 | + | |
596 | 596 |
| |
597 | 597 |
| |
598 | 598 |
| |
599 | 599 |
| |
600 | 600 |
| |
601 |
| - | |
| 601 | + | |
| 602 | + | |
602 | 603 |
| |
603 | 604 |
| |
604 | 605 |
| |
|
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
561 | 561 |
| |
562 | 562 |
| |
563 | 563 |
| |
564 |
| - | |
| 564 | + | |
565 | 565 |
| |
566 | 566 |
| |
567 |
| - | |
| 567 | + | |
568 | 568 |
| |
569 | 569 |
| |
570 | 570 |
| |
571 | 571 |
| |
572 | 572 |
| |
573 |
| - | |
| 573 | + | |
| 574 | + | |
574 | 575 |
| |
575 | 576 |
| |
576 | 577 |
| |
|
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
273 | 273 |
| |
274 | 274 |
| |
275 | 275 |
| |
276 |
| - | |
| 276 | + | |
277 | 277 |
| |
278 | 278 |
| |
279 |
| - | |
| 279 | + | |
| 280 | + | |
| 281 | + | |
280 | 282 |
| |
281 | 283 |
| |
282 | 284 |
| |
|
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
248 | 248 |
| |
249 | 249 |
| |
250 | 250 |
| |
251 |
| - | |
| 251 | + | |
252 | 252 |
| |
253 | 253 |
| |
254 |
| - | |
| 254 | + | |
| 255 | + | |
| 256 | + | |
255 | 257 |
| |
256 | 258 |
| |
257 | 259 |
| |
|
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
217 | 217 |
| |
218 | 218 |
| |
219 | 219 |
| |
220 |
| - | |
221 | 220 |
| |
222 | 221 |
| |
223 | 222 |
| |
|
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
201 | 201 |
| |
202 | 202 |
| |
203 | 203 |
| |
204 |
| - | |
205 | 204 |
| |
206 | 205 |
| |
207 | 206 |
| |
|
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
243 | 243 |
| |
244 | 244 |
| |
245 | 245 |
| |
246 |
| - | |
| 246 | + | |
247 | 247 |
| |
| 248 | + | |
248 | 249 |
| |
249 | 250 |
| |
250 | 251 |
| |
|
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
232 | 232 |
| |
233 | 233 |
| |
234 | 234 |
| |
235 |
| - | |
| 235 | + | |
236 | 236 |
| |
| 237 | + | |
237 | 238 |
| |
238 | 239 |
| |
239 | 240 |
| |
|
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
160 | 160 |
| |
161 | 161 |
| |
162 | 162 |
| |
163 |
| - | |
164 |
| - | |
165 |
| - | |
166 |
| - | |
| 163 | + | |
| 164 | + | |
| 165 | + | |
| 166 | + | |
| 167 | + | |
| 168 | + | |
| 169 | + | |
| 170 | + | |
| 171 | + | |
167 | 172 |
| |
168 | 173 |
| |
169 | 174 |
| |
|
0 commit comments