File tree
218 files changed
+3810
-1565
lines changed- problems
- 3sum-closest
- all-the-pairs-with-the-maximum-number-of-common-followers
- apply-discount-every-n-orders
- arithmetic-slices-ii-subsequence
- array-of-doubled-pairs
- array-with-elements-not-equal-to-average-of-neighbors
- balance-a-binary-search-tree
- basic-calculator
- basic-calculator-ii
- best-time-to-buy-and-sell-stock
- best-time-to-buy-and-sell-stock-ii
- best-time-to-buy-and-sell-stock-iii
- best-time-to-buy-and-sell-stock-iv
- best-time-to-buy-and-sell-stock-with-cooldown
- best-time-to-buy-and-sell-stock-with-transaction-fee
- binary-searchable-numbers-in-an-unsorted-array
- binary-string-with-substrings-representing-1-to-n
- binary-tree-coloring-game
- build-an-array-with-stack-operations
- building-h2o
- camelcase-matching
- can-make-palindrome-from-substring
- car-pooling
- check-if-move-is-legal
- check-if-string-is-a-prefix-of-array
- check-if-string-is-decomposable-into-value-equal-substrings
- clumsy-factorial
- coloring-a-border
- complement-of-base-10-integer
- complete-binary-tree-inserter
- consecutive-characters
- convert-to-base-2
- count-nodes-equal-to-sum-of-descendants
- count-number-of-special-subsequences
- cracking-the-safe
- critical-connections-in-a-network
- delete-characters-to-make-fancy-string
- distinct-subsequences-ii
- duplicate-zeros
- employees-whose-manager-left-the-company
- employees-with-missing-information
- erect-the-fence-ii
- filling-bookcase-shelves
- find-all-anagrams-in-a-string
- find-array-given-subset-sums
- find-common-characters
- find-cutoff-score-for-each-school
- find-greatest-common-divisor-of-array
- find-if-path-exists-in-graph
- find-the-kth-largest-integer-in-the-array
- find-the-longest-valid-obstacle-course-at-each-position
- find-unique-binary-string
- find-words-that-can-be-formed-by-characters
- first-and-last-call-on-the-same-day
- four-divisors
- game-of-nim
- group-anagrams
- grumpy-bookstore-owner
- house-robber-ii
- image-overlap
- implement-queue-using-stacks
- insert-interval
- insufficient-nodes-in-root-to-leaf-paths
- interval-list-intersections
- kth-ancestor-of-a-tree-node
- kth-largest-element-in-a-stream
- kth-smallest-subarray-sum
- largest-number-after-mutating-substring
- largest-values-from-labels
- last-day-where-you-can-still-cross
- last-stone-weight
- length-of-last-word
- linked-list-cycle-ii
- linked-list-random-node
- longest-common-subsequence-between-sorted-arrays
- longest-uncommon-subsequence-ii
- longest-well-performing-interval
- magical-string
- make-the-xor-of-all-segments-equal-to-zero
- map-sum-pairs
- masking-personal-information
- matrix-cells-in-distance-order
- maximize-sum-of-array-after-k-negations
- maximum-binary-tree-ii
- maximum-length-of-pair-chain
- maximum-matrix-sum
- maximum-number-of-weeks-for-which-you-can-work
- maximum-product-of-the-length-of-two-palindromic-substrings
- maximum-sum-of-two-non-overlapping-subarrays
- maximum-width-ramp
- minimize-the-difference-between-target-and-chosen-elements
- minimum-area-rectangle
- minimum-cost-to-hire-k-workers
- minimum-cost-tree-from-leaf-values
- minimum-difference-between-highest-and-lowest-of-k-scores
- minimum-falling-path-sum
- minimum-falling-path-sum-ii
- minimum-moves-to-move-a-box-to-their-target-location
- minimum-non-zero-product-of-the-array-elements
- minimum-number-of-arrows-to-burst-balloons
- minimum-number-of-k-consecutive-bit-flips
- minimum-number-of-swaps-to-make-the-string-balanced
- minimum-number-of-work-sessions-to-finish-the-tasks
- minimum-time-for-k-virus-variants-to-spread
- minimum-time-to-type-word-using-special-typewriter
- minimum-total-space-wasted-with-k-resizing-operations
- moving-stones-until-consecutive
- moving-stones-until-consecutive-ii
- next-greater-node-in-linked-list
- number-complement
- number-of-equivalent-domino-pairs
- number-of-good-pairs
- number-of-squareful-arrays
- number-of-strings-that-appear-as-substrings-in-word
- number-of-sub-arrays-with-odd-sum
- number-of-unique-good-subsequences
- number-of-valid-words-for-each-puzzle
- number-of-ways-to-arrive-at-destination
- number-of-ways-to-separate-numbers
- numbers-with-repeated-digits
- odd-even-jump
- online-election
- online-stock-span
- path-sum-ii
- permutation-in-string
- plus-one
- populating-next-right-pointers-in-each-node
- populating-next-right-pointers-in-each-node-ii
- print-foobar-alternately
- print-in-order
- product-of-the-last-k-numbers
- pyramid-transition-matrix
- range-addition-ii
- range-module
- range-sum-query-2d-immutable
- recover-binary-search-tree
- reduce-array-size-to-the-half
- relative-sort-array
- remove-covered-intervals
- remove-stones-to-minimize-the-total
- replace-all-s-to-avoid-consecutive-repeating-characters
- reverse-only-letters
- robot-return-to-origin
- rotate-list
- satisfiability-of-equality-equations
- search-a-2d-matrix-ii
- shortest-common-supersequence
- shortest-distance-to-a-character
- shortest-path-in-a-grid-with-obstacles-elimination
- shuffle-an-array
- smallest-string-starting-from-leaf
- stone-game
- stream-of-characters
- string-compression
- subarray-sums-divisible-by-k
- subarrays-with-k-different-integers
- subdomain-visit-count
- sudoku-solver
- sum-of-even-numbers-after-queries
- sum-of-nodes-with-even-valued-grandparent
- third-maximum-number
- three-divisors
- tiling-a-rectangle-with-the-fewest-squares
- top-k-frequent-words
- trapping-rain-water
- triples-with-bitwise-and-equal-to-zero
- tuple-with-same-product
- uncrossed-lines
- unique-paths-iii
- univalued-binary-tree
- valid-sudoku
- verify-preorder-serialization-of-a-binary-tree
- verifying-an-alien-dictionary
- video-stitching
- widest-pair-of-indices-with-equal-range-sum
- readme
- tag
- array
- backtracking
- binary-indexed-tree
- binary-search
- bit-manipulation
- bitmask
- breadth-first-search
- counting
- depth-first-search
- divide-and-conquer
- dynamic-programming
- enumeration
- game-theory
- geometry
- graph
- greedy
- hash-function
- hash-table
- heap-priority-queue
- math
- matrix
- quickselect
- recursion
- rolling-hash
- shortest-path
- simulation
- sliding-window
- sorting
- stack
- string
- suffix-array
- topological-sort
- 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.
218 files changed
+3810
-1565
lines changed+36-3
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 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
81 | 114 |
| |
82 | 115 |
| |
83 | 116 |
| |
84 | 117 |
| |
85 |
| - | |
| 118 | + | |
86 | 119 |
| |
87 | 120 |
| |
88 | 121 |
| |
| |||
115 | 148 |
| |
116 | 149 |
| |
117 | 150 |
| |
118 |
| - | |
| 151 | + | |
119 | 152 |
| |
120 | 153 |
| |
121 | 154 |
| |
| |||
125 | 158 |
| |
126 | 159 |
| |
127 | 160 |
| |
128 |
| - | |
| 161 | + | |
129 | 162 |
| |
130 | 163 |
| |
131 | 164 |
| |
|
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
11 | 11 |
| |
12 | 12 |
| |
13 | 13 |
| |
14 |
| - | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
15 | 19 |
| |
16 | 20 |
| |
17 | 21 |
| |
| |||
22 | 26 |
| |
23 | 27 |
| |
24 | 28 |
| |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
25 | 36 |
| |
26 | 37 |
| |
27 | 38 |
| |
28 | 39 |
| |
29 |
| - | |
30 |
| - | |
31 |
| - | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
32 | 43 |
| |
33 | 44 |
| |
34 | 45 |
| |
|
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
9 | 9 |
| |
10 | 10 |
| |
11 | 11 |
| |
12 |
| - | |
| 12 | + | |
13 | 13 |
| |
14 | 14 |
|
0 commit comments