File tree
115 files changed
+1828
-1210
lines changed- problems
- average-waiting-time
- balanced-binary-tree
- basic-calculator
- binary-tree-level-order-traversal-ii
- binary-tree-maximum-path-sum
- binary-tree-zigzag-level-order-traversal
- burst-balloons
- check-if-array-pairs-are-divisible-by-k
- checking-existence-of-edge-length-limited-paths
- cherry-pickup
- concatenated-words
- consecutive-numbers
- count-ways-to-distribute-candies
- daily-leads-and-partners
- design-underground-system
- determine-if-string-halves-are-alike
- distribute-coins-in-binary-tree
- exchange-seats
- factorial-trailing-zeroes
- fibonacci-number
- find-bottom-left-tree-value
- find-the-smallest-divisor-given-a-threshold
- friend-requests-i-overall-acceptance-rate
- game-of-life
- grid-illumination
- happy-number
- implement-stack-using-queues
- increasing-triplet-subsequence
- jewels-and-stones
- jump-game
- jump-game-iii
- jump-game-vi
- length-of-longest-fibonacci-subsequence
- longest-increasing-subsequence
- longest-palindrome
- longest-repeating-character-replacement
- longest-substring-with-at-most-k-distinct-characters
- longest-substring-with-at-most-two-distinct-characters
- longest-substring-without-repeating-characters
- max-consecutive-ones-iii
- maximum-binary-string-after-change
- maximum-binary-tree
- maximum-erasure-value
- maximum-height-by-stacking-cuboids
- maximum-number-of-eaten-apples
- maximum-xor-with-an-element-from-array
- minimum-adjacent-swaps-for-k-consecutive-ones
- minimum-genetic-mutation
- minimum-moves-to-equal-array-elements
- minimum-time-visiting-all-points
- most-stones-removed-with-same-row-or-column
- nth-magical-number
- number-of-calls-between-two-persons
- number-of-digit-one
- number-of-distinct-substrings-in-a-string
- number-of-students-unable-to-eat-lunch
- numbers-with-same-consecutive-differences
- partition-array-into-three-parts-with-equal-sum
- previous-permutation-with-one-swap
- rectangle-area-ii
- redundant-connection-ii
- reformat-phone-number
- remove-duplicates-from-sorted-array-ii
- remove-element
- rising-temperature
- same-tree
- search-a-2d-matrix
- short-encoding-of-words
- single-number-iii
- sort-the-matrix-diagonally
- stone-game-vi
- string-without-aaa-or-bbb
- subarrays-with-k-different-integers
- swap-nodes-in-pairs
- triangle
- valid-mountain-array
- where-will-the-ball-fall
- word-ladder
- word-ladder-ii
- readme
- tag
- array
- backtracking
- binary-search
- bit-manipulation
- breadth-first-search
- depth-first-search
- divide-and-conquer
- dynamic-programming
- geometry
- graph
- greedy
- hash-table
- heap
- line-sweep
- linked-list
- math
- minimax
- queue
- random
- recursion
- reservoir-sampling
- sliding-window
- sort
- stack
- string
- tree
- trie
- two-pointers
- union-find
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
115 files changed
+1828
-1210
lines changedLines changed: 16 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
70 | 70 |
| |
71 | 71 |
| |
72 | 72 |
| |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
73 | 89 |
| |
74 | 90 |
| |
75 | 91 |
| |
|
Lines changed: 77 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + |
Lines changed: 1 addition & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
52 | 52 |
| |
53 | 53 |
| |
54 | 54 |
| |
| 55 | + | |
55 | 56 |
| |
56 | 57 |
| |
57 | 58 |
|
Lines changed: 15 additions & 11 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
11 | 11 |
| |
12 | 12 |
| |
13 | 13 |
| |
14 |
| - | |
15 |
| - | |
16 |
| - | |
| 14 | + | |
17 | 15 |
| |
| 16 | + | |
18 | 17 |
| |
19 | 18 |
| |
20 | 19 |
| |
21 |
| - | |
| 20 | + | |
22 | 21 |
| |
23 | 22 |
| |
24 | 23 |
| |
25 | 24 |
| |
26 | 25 |
| |
27 | 26 |
| |
28 |
| - | |
29 |
| - | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
30 | 30 |
| |
31 | 31 |
| |
32 | 32 |
| |
33 | 33 |
| |
34 |
| - | |
35 |
| - | |
36 |
| - | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
37 | 40 |
| |
38 | 41 |
| |
39 |
| - | |
40 |
| - | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
41 | 45 |
| |
42 | 46 |
| |
43 | 47 |
| |
|
Lines changed: 1 addition & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
9 | 9 |
| |
10 | 10 |
| |
11 | 11 |
| |
12 |
| - | |
| 12 | + | |
13 | 13 |
| |
14 | 14 |
| |
15 | 15 |
| |
|
Lines changed: 1 addition & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
41 | 41 |
| |
42 | 42 |
| |
43 | 43 |
| |
| 44 | + | |
44 | 45 |
| |
45 | 46 |
| |
46 | 47 |
| |
|
Lines changed: 1 addition & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
9 | 9 |
| |
10 | 10 |
| |
11 | 11 |
| |
12 |
| - | |
| 12 | + | |
13 | 13 |
| |
14 | 14 |
| |
15 | 15 |
| |
|
Lines changed: 24 additions & 12 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
11 | 11 |
| |
12 | 12 |
| |
13 | 13 |
| |
14 |
| - | |
| 14 | + | |
15 | 15 |
| |
16 |
| - | |
| 16 | + | |
17 | 17 |
| |
18 |
| - | |
| 18 | + | |
19 | 19 |
| |
20 |
| - | |
21 |
| - | |
22 |
| - | |
23 |
| - | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
24 | 29 |
| |
25 |
| - | |
| 30 | + | |
26 | 31 |
| |
27 | 32 |
| |
28 |
| - | |
29 |
| - | |
30 |
| - | |
31 |
| - | |
| 33 | + | |
| 34 | + | |
32 | 35 |
| |
33 | 36 |
| |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
34 | 46 |
| |
35 | 47 |
| |
36 | 48 |
| |
|
Lines changed: 3 additions & 3 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
61 | 61 |
| |
62 | 62 |
| |
63 | 63 |
| |
64 |
| - | |
| 64 | + | |
65 | 65 |
| |
66 |
| - | |
67 |
| - | |
| 66 | + | |
| 67 | + | |
68 | 68 |
| |
69 | 69 |
| |
70 | 70 |
| |
|
Lines changed: 62 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + |
0 commit comments