File tree
219 files changed
+3575
-3575
lines changed- internal/leetcode
- problems
- 01-matrix
- 1-bit-and-2-bit-characters
- 132-pattern
- 2-keys-keyboard
- 24-game
- 3sum
- 3sum-closest
- 4sum
- 4sum-ii
- accounts-merge
- add-binary
- add-digits
- add-one-row-to-tree
- add-strings
- add-to-array-form-of-integer
- add-two-numbers
- add-two-numbers-ii
- arithmetic-slices
- arranging-coins
- array-nesting
- array-partition-i
- assign-cookies
- available-captures-for-rook
- base-7
- best-time-to-buy-and-sell-stock
- best-time-to-buy-and-sell-stock-ii
- binary-prefix-divisible-by-5
- buddy-strings
- bulb-switcher
- camelcase-matching
- can-place-flowers
- climbing-stairs
- compare-version-numbers
- complement-of-base-10-integer
- construct-string-from-binary-tree
- container-with-most-water
- contains-duplicate-ii
- convert-sorted-array-to-binary-search-tree
- count-and-say
- count-binary-substrings
- count-primes
- cousins-in-binary-tree
- day-of-the-week
- day-of-the-year
- defanging-an-ip-address
- degree-of-an-array
- delete-columns-to-make-sorted
- delete-node-in-a-linked-list
- design-hashmap
- design-hashset
- design-linked-list
- detect-capital
- di-string-match
- divisor-game
- excel-sheet-column-number
- excel-sheet-column-title
- factorial-trailing-zeroes
- fair-candy-swap
- fibonacci-number
- find-all-numbers-disappeared-in-an-array
- find-common-characters
- find-pivot-index
- find-smallest-letter-greater-than-target
- find-the-town-judge
- first-unique-character-in-a-string
- fizz-buzz
- flipping-an-image
- flower-planting-with-no-adjacent
- generate-parentheses
- goat-latin
- groups-of-special-equivalent-strings
- hamming-distance
- happy-number
- height-checker
- house-robber
- image-smoother
- implement-strstr
- integer-to-roman
- intersection-of-two-arrays-ii
- intersection-of-two-linked-lists
- jewels-and-stones
- k-closest-points-to-origin
- k-diff-pairs-in-an-array
- kth-largest-element-in-an-array
- largest-number-at-least-twice-of-others
- largest-perimeter-triangle
- largest-time-for-given-digits
- last-stone-weight
- last-substring-in-lexicographical-order
- length-of-last-word
- letter-combinations-of-a-phone-number
- linked-list-cycle
- long-pressed-name
- longest-common-prefix
- longest-continuous-increasing-subsequence
- longest-palindromic-substring
- longest-substring-without-repeating-characters
- longest-uncommon-subsequence-i
- magic-squares-in-grid
- majority-element
- max-consecutive-ones
- maximize-distance-to-closest-person
- maximize-sum-of-array-after-k-negations
- maximum-average-subarray-i
- maximum-depth-of-binary-tree
- maximum-number-of-balloons
- maximum-product-of-three-numbers
- maximum-subarray
- median-of-two-sorted-arrays
- merge-sorted-array
- merge-two-binary-trees
- merge-two-sorted-lists
- min-cost-climbing-stairs
- min-stack
- missing-number
- monotonic-array
- most-common-word
- move-zeroes
- n-repeated-element-in-size-2n-array
- nim-game
- non-decreasing-array
- number-of-1-bits
- number-of-digit-one
- number-of-recent-calls
- number-of-segments-in-a-string
- pairs-of-songs-with-total-durations-divisible-by-60
- palindrome-linked-list
- palindrome-number
- partition-array-into-three-parts-with-equal-sum
- pascals-triangle
- pascals-triangle-ii
- plus-one
- positions-of-large-groups
- power-of-four
- power-of-three
- power-of-two
- powerful-integers
- powx-n
- preimage-size-of-factorial-zeroes-function
- range-sum-of-bst
- range-sum-query-immutable
- ransom-note
- regular-expression-matching
- remove-all-adjacent-duplicates-in-string
- remove-duplicates-from-sorted-array
- remove-duplicates-from-sorted-list
- remove-element
- remove-outermost-parentheses
- reorder-data-in-log-files
- repeated-string-match
- repeated-substring-pattern
- reshape-the-matrix
- reverse-bits
- reverse-integer
- reverse-linked-list
- reverse-only-letters
- reverse-string
- reverse-string-ii
- reverse-vowels-of-a-string
- reverse-words-in-a-string
- reverse-words-in-a-string-iii
- robot-bounded-in-circle
- robot-return-to-origin
- roman-to-integer
- rotate-array
- rotate-image
- rotate-string
- rotated-digits
- rotting-oranges
- same-tree
- search-insert-position
- self-dividing-numbers
- shortest-unsorted-continuous-subarray
- simplify-path
- single-number
- single-number-ii
- smallest-range-i
- sort-array-by-parity
- sort-array-by-parity-ii
- split-a-string-in-balanced-strings
- sqrtx
- squares-of-a-sorted-array
- stone-game
- string-compression
- string-to-integer-atoi
- string-without-aaa-or-bbb
- student-attendance-record-i
- sum-of-even-numbers-after-queries
- sum-of-root-to-leaf-binary-numbers
- sum-of-two-integers
- symmetric-tree
- third-maximum-number
- to-lower-case
- toeplitz-matrix
- transpose-matrix
- two-city-scheduling
- two-sum
- two-sum-ii-input-array-is-sorted
- ugly-number
- ugly-number-ii
- unique-email-addresses
- unique-morse-code-words
- univalued-binary-tree
- utf-8-validation
- valid-anagram
- valid-boomerang
- valid-mountain-array
- valid-number
- valid-palindrome
- valid-palindrome-ii
- valid-parentheses
- valid-sudoku
- validate-ip-address
- verifying-an-alien-dictionary
- word-break
- word-pattern
- x-of-a-kind-in-a-deck-of-cards
- zigzag-conversion
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
219 files changed
+3575
-3575
lines changedOriginal file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
332 | 332 |
| |
333 | 333 |
| |
334 | 334 |
| |
335 |
| - | |
336 |
| - | |
337 |
| - | |
| 335 | + | |
| 336 | + | |
| 337 | + | |
338 | 338 |
| |
339 | 339 |
| |
340 | 340 |
| |
341 |
| - | |
| 341 | + | |
342 | 342 |
| |
343 |
| - | |
344 |
| - | |
| 343 | + | |
| 344 | + | |
345 | 345 |
| |
346 | 346 |
| |
347 |
| - | |
348 |
| - | |
349 |
| - | |
350 |
| - | |
| 347 | + | |
| 348 | + | |
| 349 | + | |
| 350 | + | |
351 | 351 |
| |
352 | 352 |
| |
353 | 353 |
| |
|
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
5 | 5 |
| |
6 | 6 |
| |
7 | 7 |
| |
8 |
| - | |
9 |
| - | |
10 |
| - | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
11 | 11 |
| |
12 | 12 |
| |
13 | 13 |
| |
14 |
| - | |
| 14 | + | |
15 | 15 |
| |
16 |
| - | |
| 16 | + | |
17 | 17 |
| |
18 | 18 |
| |
19 | 19 |
| |
20 | 20 |
| |
21 |
| - | |
| 21 | + | |
22 | 22 |
| |
23 | 23 |
| |
24 | 24 |
| |
25 | 25 |
| |
26 | 26 |
| |
27 | 27 |
| |
28 |
| - | |
| 28 | + | |
29 | 29 |
| |
30 | 30 |
| |
31 | 31 |
| |
32 | 32 |
| |
33 |
| - | |
| 33 | + | |
34 | 34 |
| |
35 | 35 |
| |
36 | 36 |
| |
37 | 37 |
| |
38 | 38 |
| |
39 | 39 |
| |
40 |
| - | |
41 |
| - | |
42 |
| - | |
43 |
| - | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
44 | 44 |
| |
45 | 45 |
| |
46 | 46 |
|
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
2 | 2 |
| |
3 | 3 |
| |
4 | 4 |
| |
5 |
| - | |
6 |
| - | |
7 |
| - | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
8 | 8 |
| |
9 | 9 |
| |
10 | 10 |
| |
11 |
| - | |
| 11 | + | |
12 | 12 |
| |
13 |
| - | |
14 |
| - | |
| 13 | + | |
| 14 | + | |
15 | 15 |
| |
16 | 16 |
| |
17 |
| - | |
18 |
| - | |
| 17 | + | |
| 18 | + | |
19 | 19 |
| |
20 | 20 |
| |
21 |
| - | |
22 |
| - | |
23 |
| - | |
24 |
| - | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
25 | 25 |
| |
26 | 26 |
| |
27 | 27 |
|
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
2 | 2 |
| |
3 | 3 |
| |
4 | 4 |
| |
5 |
| - | |
6 |
| - | |
7 |
| - | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
8 | 8 |
| |
9 | 9 |
| |
10 | 10 |
| |
11 |
| - | |
| 11 | + | |
12 | 12 |
| |
13 |
| - | |
14 |
| - | |
| 13 | + | |
| 14 | + | |
15 | 15 |
| |
16 | 16 |
| |
17 |
| - | |
18 |
| - | |
| 17 | + | |
| 18 | + | |
19 | 19 |
| |
20 | 20 |
| |
21 |
| - | |
22 |
| - | |
| 21 | + | |
| 22 | + | |
23 | 23 |
| |
24 | 24 |
| |
25 |
| - | |
26 |
| - | |
27 |
| - | |
28 |
| - | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
29 | 29 |
| |
30 | 30 |
| |
31 | 31 |
|
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
2 | 2 |
| |
3 | 3 |
| |
4 | 4 |
| |
5 |
| - | |
6 |
| - | |
7 |
| - | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
8 | 8 |
| |
9 | 9 |
| |
10 | 10 |
| |
11 |
| - | |
| 11 | + | |
12 | 12 |
| |
13 |
| - | |
14 |
| - | |
| 13 | + | |
| 14 | + | |
15 | 15 |
| |
16 | 16 |
| |
17 |
| - | |
18 |
| - | |
| 17 | + | |
| 18 | + | |
19 | 19 |
| |
20 | 20 |
| |
21 |
| - | |
22 |
| - | |
| 21 | + | |
| 22 | + | |
23 | 23 |
| |
24 | 24 |
| |
25 |
| - | |
26 |
| - | |
| 25 | + | |
| 26 | + | |
27 | 27 |
| |
28 | 28 |
| |
29 |
| - | |
30 |
| - | |
31 |
| - | |
32 |
| - | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
33 | 33 |
| |
34 | 34 |
| |
35 | 35 |
|
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
2 | 2 |
| |
3 | 3 |
| |
4 | 4 |
| |
5 |
| - | |
6 |
| - | |
7 |
| - | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
8 | 8 |
| |
9 | 9 |
| |
10 | 10 |
| |
11 |
| - | |
| 11 | + | |
12 | 12 |
| |
13 |
| - | |
14 |
| - | |
| 13 | + | |
| 14 | + | |
15 | 15 |
| |
16 | 16 |
| |
17 |
| - | |
18 |
| - | |
| 17 | + | |
| 18 | + | |
19 | 19 |
| |
20 | 20 |
| |
21 |
| - | |
22 |
| - | |
23 |
| - | |
24 |
| - | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
25 | 25 |
| |
26 | 26 |
| |
27 | 27 |
|
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
2 | 2 |
| |
3 | 3 |
| |
4 | 4 |
| |
5 |
| - | |
6 |
| - | |
7 |
| - | |
8 |
| - | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
9 | 9 |
| |
10 | 10 |
| |
11 | 11 |
| |
12 |
| - | |
| 12 | + | |
13 | 13 |
| |
14 |
| - | |
15 |
| - | |
16 |
| - | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
17 | 17 |
| |
18 | 18 |
| |
19 |
| - | |
20 |
| - | |
21 |
| - | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
22 | 22 |
| |
23 | 23 |
| |
24 |
| - | |
25 |
| - | |
26 |
| - | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
27 | 27 |
| |
28 | 28 |
| |
29 |
| - | |
30 |
| - | |
31 |
| - | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
32 | 32 |
| |
33 | 33 |
| |
34 |
| - | |
35 |
| - | |
36 |
| - | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
37 | 37 |
| |
38 | 38 |
| |
39 |
| - | |
40 |
| - | |
41 |
| - | |
42 |
| - | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
43 | 43 |
| |
44 | 44 |
| |
45 | 45 |
|
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
5 | 5 |
| |
6 | 6 |
| |
7 | 7 |
| |
8 |
| - | |
9 |
| - | |
10 |
| - | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
11 | 11 |
| |
12 | 12 |
| |
13 | 13 |
| |
14 |
| - | |
| 14 | + | |
15 | 15 |
| |
16 |
| - | |
17 |
| - | |
| 16 | + | |
| 17 | + | |
18 | 18 |
| |
19 | 19 |
| |
20 | 20 |
| |
21 | 21 |
| |
22 | 22 |
| |
23 |
| - | |
24 |
| - | |
| 23 | + | |
| 24 | + | |
25 | 25 |
| |
26 | 26 |
| |
27 | 27 |
| |
28 | 28 |
| |
29 |
| - | |
30 |
| - | |
| 29 | + | |
| 30 | + | |
31 | 31 |
| |
32 | 32 |
| |
33 | 33 |
| |
34 | 34 |
| |
35 |
| - | |
36 |
| - | |
| 35 | + | |
| 36 | + | |
37 | 37 |
| |
38 | 38 |
| |
39 | 39 |
| |
40 | 40 |
| |
41 |
| - | |
42 |
| - | |
43 |
| - | |
44 |
| - | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
45 | 45 |
| |
46 | 46 |
| |
47 | 47 |
|
0 commit comments