File tree
237 files changed
+2919
-1825
lines changed- problems
- 2-keys-keyboard
- 24-game
- 4sum-ii
- add-strings
- advantage-shuffle
- all-nodes-distance-k-in-binary-tree
- ambiguous-coordinates
- array-nesting
- bag-of-tokens
- basic-calculator
- basic-calculator-ii
- beautiful-array
- binary-search-tree-iterator
- binary-subarrays-with-sum
- binary-tree-inorder-traversal
- binary-tree-postorder-traversal
- binary-tree-preorder-traversal
- broken-calculator
- bulb-switcher-ii
- bulb-switcher-iv
- can-make-arithmetic-progression-from-sequence
- capacity-to-ship-packages-within-d-days
- cheapest-flights-within-k-stops
- clone-graph
- closest-binary-search-tree-value-ii
- closest-room
- coin-change-2
- concatenated-words
- consecutive-numbers-sum
- construct-string-from-binary-tree
- construct-target-array-with-multiple-sums
- convert-a-number-to-hexadecimal
- convert-binary-search-tree-to-sorted-doubly-linked-list
- convert-date-format
- convert-sorted-list-to-binary-search-tree
- count-binary-substrings
- count-complete-tree-nodes
- count-different-palindromic-subsequences
- count-of-range-sum
- count-pairs-of-equal-substrings-with-minimum-difference
- course-schedule-ii
- course-schedule-iii
- course-schedule-iv
- critical-connections-in-a-network
- custom-sort-string
- daily-temperatures
- decoded-string-at-index
- delete-and-earn
- design-circular-queue
- distinct-numbers-in-each-subarray
- distinct-subsequences-ii
- domino-and-tromino-tiling
- dota2-senate
- encode-and-decode-tinyurl
- exam-room
- expressive-words
- fair-candy-swap
- falling-squares
- find-all-duplicates-in-an-array
- find-and-replace-in-string
- find-first-and-last-position-of-element-in-sorted-array
- find-minimum-in-rotated-sorted-array
- find-peak-element
- find-the-duplicate-number
- find-the-town-judge
- first-missing-positive
- flip-string-to-monotone-increasing
- fraction-addition-and-subtraction
- furthest-building-you-can-reach
- global-and-local-inversions
- goat-latin
- groups-of-special-equivalent-strings
- h-index-ii
- hand-of-straights
- image-smoother
- inorder-successor-in-bst
- k-inverse-pairs-array
- k-th-symbol-in-grammar
- kth-smallest-element-in-a-bst
- kth-smallest-number-in-multiplication-table
- largest-color-value-in-a-directed-graph
- largest-component-size-by-common-factor
- largest-number-at-least-twice-of-others
- largest-plus-sign
- largest-sum-of-averages
- largest-time-for-given-digits
- league-statistics
- letter-case-permutation
- linked-list-components
- longest-continuous-increasing-subsequence
- longest-happy-prefix
- masking-personal-information
- max-area-of-island
- maximum-average-subarray-i
- maximum-building-height
- maximum-distance-between-a-pair-of-values
- maximum-element-after-decreasing-and-rearranging
- maximum-ice-cream-bars
- maximum-population-year
- maximum-subarray-min-product
- maximum-sum-circular-subarray
- maximum-swap
- maximum-width-of-binary-tree
- maximum-width-ramp
- median-of-two-sorted-arrays
- merge-sorted-array
- minesweeper
- minimum-add-to-make-parentheses-valid
- minimum-adjacent-swaps-to-reach-the-kth-smallest-number
- minimum-cost-to-hire-k-workers
- minimum-distance-between-bst-nodes
- minimum-distance-to-the-target-element
- minimum-increment-to-make-array-unique
- minimum-interval-to-include-each-query
- minimum-number-of-arrows-to-burst-balloons
- minimum-number-of-flips-to-convert-binary-matrix-to-zero-matrix
- minimum-number-of-k-consecutive-bit-flips
- minimum-swaps-to-make-sequences-increasing
- minimum-window-substring
- monotone-increasing-digits
- monotonic-array
- n-ary-tree-postorder-traversal
- n-repeated-element-in-size-2n-array
- new-21-game
- next-palindrome-using-same-digits
- number-of-distinct-islands
- number-of-music-playlists
- number-of-squareful-arrays
- number-of-subarrays-with-bounded-maximum
- optimal-division
- orderly-queue
- out-of-boundary-paths
- palindromic-substrings
- partition-array-for-maximum-sum
- partition-array-into-disjoint-intervals
- partition-labels
- path-crossing
- people-whose-list-of-favorite-companies-is-not-a-subset-of-another-list
- possible-bipartition
- prefix-and-suffix-search
- preimage-size-of-factorial-zeroes-function
- prime-number-of-set-bits-in-binary-representation
- prime-palindrome
- print-binary-tree
- product-of-array-except-self
- race-car
- random-pick-with-blacklist
- range-sum-of-bst
- range-sum-query-2d-immutable
- range-sum-query-immutable
- range-sum-query-mutable
- ransom-note
- rectangle-area
- redundant-connection
- redundant-connection-ii
- remove-all-adjacent-duplicates-in-string
- reorganize-string
- replace-all-digits-with-characters
- reverse-nodes-in-k-group
- reverse-only-letters
- reverse-pairs
- rle-iterator
- robot-bounded-in-circle
- rotate-string
- rotated-digits
- score-after-flipping-matrix
- score-of-parentheses
- search-in-rotated-sorted-array
- search-insert-position
- seat-reservation-manager
- shifting-letters
- shortest-bridge
- shortest-path-visiting-all-nodes
- shortest-subarray-with-sum-at-least-k
- single-number
- single-number-ii
- single-number-iii
- smallest-range-i
- smallest-range-ii
- smallest-rotation-with-highest-score
- solve-the-equation
- sort-array-by-parity
- sort-colors
- soup-servings
- special-binary-string
- spiral-matrix-iii
- split-array-into-fibonacci-sequence
- splitting-a-string-into-descending-consecutive-values
- strange-printer
- string-compression
- subarray-sums-divisible-by-k
- subarrays-with-k-different-integers
- subtree-of-another-tree
- sum-of-distances-in-tree
- sum-of-even-numbers-after-queries
- sum-of-mutated-array-closest-to-target
- sum-of-subsequence-widths
- sum-root-to-leaf-numbers
- super-palindromes
- suspicious-bank-accounts
- swap-nodes-in-pairs
- triples-with-bitwise-and-equal-to-zero
- uncommon-words-from-two-sentences
- valid-palindrome-ii
- valid-permutations-for-di-sequence
- valid-triangle-number
- validate-binary-search-tree
- wiggle-subsequence
- word-subsets
- readme
- tag
- array
- backtracking
- binary-search
- breadth-first-search
- depth-first-search
- design
- dynamic-programming
- greedy
- hash-table
- heap
- line-sweep
- queue
- recursion
- sort
- stack
- string
- topological-sort
- tree
- 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.
237 files changed
+2919
-1825
lines changed+18-1
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
78 | 78 |
| |
79 | 79 |
| |
80 | 80 |
| |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
81 | 98 |
| |
82 | 99 |
| |
83 | 100 |
| |
| |||
124 | 141 |
| |
125 | 142 |
| |
126 | 143 |
| |
127 |
| - | |
| 144 | + | |
128 | 145 |
| |
129 | 146 |
| |
130 | 147 |
| |
|
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
11 | 11 |
| |
12 | 12 |
| |
13 | 13 |
| |
14 |
| - | |
| 14 | + | |
15 | 15 |
| |
16 |
| - | |
17 |
| - | |
18 |
| - | |
19 |
| - | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
20 | 22 |
| |
21 | 23 |
| |
| 24 | + | |
22 | 25 |
| |
23 |
| - | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
24 | 34 |
| |
25 |
| - | |
| 35 | + | |
26 | 36 |
| |
27 | 37 |
| |
28 |
| - | |
29 |
| - | |
30 |
| - | |
31 |
| - | |
32 |
| - | |
33 |
| - | |
34 |
| - | |
| 38 | + | |
| 39 | + | |
35 | 40 |
| |
36 | 41 |
| |
37 | 42 |
| |
| 43 | + | |
38 | 44 |
| |
39 |
| - | |
40 |
| - | |
41 |
| - | |
42 |
| - | |
43 |
| - | |
44 |
| - | |
45 |
| - | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
46 | 48 |
| |
47 | 49 |
| |
48 | 50 |
| |
|
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
11 | 11 |
| |
12 | 12 |
| |
13 | 13 |
| |
14 |
| - | |
15 |
| - | |
16 |
| - | |
| 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 | + | |
17 | 40 |
| |
18 |
| - | |
19 | 41 |
| |
20 |
| - | |
21 |
| - | |
22 |
| - | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
23 | 45 |
| |
24 |
| - | |
25 | 46 |
| |
26 |
| - | |
| 47 | + | |
| 48 | + | |
27 | 49 |
| |
28 |
| - | |
29 |
| - | |
| 50 | + | |
| 51 | + | |
30 | 52 |
| |
31 |
| - | |
32 |
| - | |
33 |
| - | |
34 |
| - | |
35 |
| - | |
36 |
| - | |
37 |
| - | |
38 |
| - | |
39 |
| - | |
40 |
| - | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
41 | 61 |
| |
42 | 62 |
| |
43 | 63 |
|
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
15 | 15 |
| |
16 | 16 |
| |
17 | 17 |
| |
18 |
| - | |
| 18 | + | |
19 | 19 |
| |
20 | 20 |
| |
21 | 21 |
| |
|
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
13 | 13 |
| |
14 | 14 |
| |
15 | 15 |
| |
| 16 | + | |
| 17 | + | |
16 | 18 |
| |
17 | 19 |
| |
18 | 20 |
| |
| |||
44 | 46 |
| |
45 | 47 |
| |
46 | 48 |
| |
47 |
| - | |
48 |
| - | |
49 |
| - | |
50 | 49 |
| |
51 | 50 |
| |
52 | 51 |
| |
|
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 | 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 |
| |
| |||
38 | 38 |
| |
39 | 39 |
| |
40 | 40 |
| |
41 |
| - | |
42 |
| - | |
43 |
| - | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
44 | 44 |
| |
45 | 45 |
| |
46 | 46 |
| |
|
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 |
| |
| |||
24 | 24 |
| |
25 | 25 |
| |
26 | 26 |
| |
27 |
| - | |
| 27 | + | |
28 | 28 |
| |
29 | 29 |
| |
30 | 30 |
| |
| |||
46 | 46 |
| |
47 | 47 |
| |
48 | 48 |
| |
49 |
| - | |
| 49 | + | |
50 | 50 |
| |
51 | 51 |
| |
52 | 52 |
| |
|
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 | 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 | 40 |
| |
41 | 41 |
| |
42 |
| - | |
| 42 | + | |
43 | 43 |
| |
44 | 44 |
| |
45 | 45 |
| |
| |||
50 | 50 |
| |
51 | 51 |
| |
52 | 52 |
| |
53 |
| - | |
54 |
| - | |
| 53 | + | |
| 54 | + | |
55 | 55 |
| |
56 | 56 |
| |
57 | 57 |
| |
|
0 commit comments