File tree
783 files changed
+10343
-5686
lines changed- problems
- 01-matrix
- a-number-after-a-double-reversal
- abbreviating-the-product-of-a-range
- accepted-candidates-from-the-interviews
- account-balance
- active-users
- add-minimum-number-of-rungs
- add-two-numbers
- adding-spaces-to-a-string
- ads-performance
- alert-using-same-key-card-three-or-more-times-in-a-one-hour-period
- all-divisions-with-the-highest-score-of-a-binary-array
- all-elements-in-two-binary-search-trees
- all-oone-data-structure
- all-possible-full-binary-trees
- allocate-mailboxes
- amount-of-new-area-painted-each-day
- android-unlock-patterns
- apples-oranges
- arithmetic-subarrays
- armstrong-number
- available-captures-for-rook
- average-salary-excluding-the-minimum-and-maximum-salary
- average-waiting-time
- avoid-flood-in-the-city
- backspace-string-compare
- bag-of-tokens
- battleships-in-a-board
- beautiful-arrangement
- best-position-for-a-service-centre
- best-time-to-buy-and-sell-stock-iii
- best-time-to-buy-and-sell-stock-with-transaction-fee
- binary-number-with-alternating-bits
- binary-searchable-numbers-in-an-unsorted-array
- binary-string-with-substrings-representing-1-to-n
- binary-subarrays-with-sum
- binary-tree-level-order-traversal
- binary-tree-right-side-view
- binary-tree-upside-down
- binary-tree-vertical-order-traversal
- break-a-palindrome
- brightest-position-on-street
- build-an-array-with-stack-operations
- build-binary-expression-tree-from-infix-expression
- build-the-equation
- burst-balloons
- calculate-salaries
- campus-bikes
- can-make-arithmetic-progression-from-sequence
- can-make-palindrome-from-substring
- capacity-to-ship-packages-within-d-days
- capital-gainloss
- capitalize-the-title
- car-fleet-ii
- car-pooling
- cat-and-mouse-ii
- cheapest-flights-within-k-stops
- check-array-formation-through-concatenation
- check-if-a-parentheses-string-can-be-valid
- check-if-a-string-contains-all-binary-codes-of-size-k
- check-if-a-word-occurs-as-a-prefix-of-any-word-in-a-sentence
- check-if-all-as-appears-before-all-bs
- check-if-all-characters-have-equal-number-of-occurrences
- check-if-an-original-string-exists-given-two-encoded-strings
- check-if-array-is-sorted-and-rotated
- check-if-array-pairs-are-divisible-by-k
- check-if-binary-string-has-at-most-one-segment-of-ones
- check-if-every-row-and-column-contains-all-numbers
- check-if-n-and-its-double-exist
- check-if-numbers-are-ascending-in-a-sentence
- check-if-one-string-swap-can-make-strings-equal
- check-if-string-is-transformable-with-substring-sort-operations
- checking-existence-of-edge-length-limited-paths
- cherry-pickup
- cherry-pickup-ii
- choose-numbers-from-two-arrays-in-range
- cinema-seat-allocation
- circle-and-rectangle-overlapping
- clone-binary-tree-with-random-pointer
- clone-n-ary-tree
- closest-binary-search-tree-value
- closest-dessert-cost
- combination-sum
- combination-sum-ii
- complement-of-base-10-integer
- concatenation-of-consecutive-binary-numbers
- consecutive-characters
- construct-binary-tree-from-inorder-and-postorder-traversal
- construct-binary-tree-from-preorder-and-postorder-traversal
- construct-binary-tree-from-string
- container-with-most-water
- contiguous-array
- continuous-subarray-sum
- convert-1d-array-into-2d-array
- convert-bst-to-greater-tree
- convert-integer-to-the-sum-of-two-no-zero-integers
- convert-sorted-array-to-binary-search-tree
- convert-sorted-list-to-binary-search-tree
- coordinate-with-maximum-network-quality
- corporate-flight-bookings
- count-all-possible-routes
- count-all-valid-pickup-and-delivery-options
- count-binary-substrings
- count-common-words-with-one-occurrence
- count-different-palindromic-subsequences
- count-elements-with-strictly-smaller-and-greater-elements
- count-fertile-pyramids-in-a-land
- count-good-meals
- count-good-nodes-in-binary-tree
- count-good-triplets
- count-largest-group
- count-negative-numbers-in-a-sorted-matrix
- count-nice-pairs-in-an-array
- count-nodes-equal-to-sum-of-descendants
- count-number-of-pairs-with-absolute-difference-k
- count-number-of-teams
- count-of-smaller-numbers-after-self
- count-operations-to-obtain-zero
- count-pairs-in-two-arrays
- count-pairs-with-xor-in-a-range
- count-servers-that-communicate
- count-student-number-in-departments
- count-sub-islands
- count-subarrays-with-more-ones-than-zeros
- count-substrings-that-differ-by-one-character
- count-subtrees-with-max-distance-between-cities
- count-the-number-of-consistent-strings
- count-the-number-of-experiments
- count-triplets-that-can-form-two-arrays-of-equal-xor
- count-vowel-substrings-of-a-string
- count-words-obtained-after-adding-a-letter
- counting-bits
- countries-you-can-safely-invest-in
- create-a-session-bar-chart
- create-target-array-in-the-given-order
- decode-the-slanted-ciphertext
- decode-ways-ii
- decode-xored-permutation
- decrypt-string-from-alphabet-to-integer-mapping
- deepest-leaves-sum
- degree-of-an-array
- delete-duplicate-emails
- delete-duplicate-folders-in-system
- delete-leaves-with-a-given-value
- delete-n-nodes-after-m-nodes-of-a-linked-list
- delete-the-middle-node-of-a-linked-list
- delivering-boxes-from-storage-to-ports
- depth-of-bst-given-insertion-order
- describe-the-painting
- design-a-file-sharing-system
- design-bitset
- design-excel-sum-formula
- design-file-system
- design-hashmap
- design-log-storage-system
- design-movie-rental-system
- design-parking-system
- design-skiplist
- design-snake-game
- design-underground-system
- destroying-asteroids
- detect-pattern-of-length-m-repeated-k-or-more-times
- determine-if-string-halves-are-alike
- determine-if-two-strings-are-close
- determine-whether-matrix-can-be-obtained-by-rotation
- detonate-the-maximum-bombs
- diagonal-traverse-ii
- diameter-of-binary-tree
- distant-barcodes
- distinct-echo-substrings
- distribute-coins-in-binary-tree
- distribute-repeating-integers
- divide-a-string-into-groups-of-size-k
- dot-product-of-two-sparse-vectors
- drop-type-1-orders-for-customers-with-type-0-orders
- earliest-possible-day-of-full-bloom
- egg-drop-with-2-eggs-and-n-floors
- elements-in-array-after-removing-and-replacing-elements
- eliminate-maximum-number-of-monsters
- elimination-game
- employees-whose-manager-left-the-company
- encode-and-decode-strings
- encode-and-decode-tinyurl
- encode-n-ary-tree-to-binary-tree
- equal-rational-numbers
- erect-the-fence-ii
- escape-a-large-maze
- evaluate-reverse-polish-notation
- evaluate-the-bracket-pairs-of-a-string
- even-odd-tree
- excel-sheet-column-number
- execution-of-all-suffix-instructions-staying-in-a-grid
- fair-candy-swap
- filling-bookcase-shelves
- final-prices-with-a-special-discount-in-a-shop
- find-a-corresponding-node-of-a-binary-tree-in-a-clone-of-that-tree
- find-a-peak-element-ii
- find-a-value-of-a-mysterious-function-closest-to-target
- find-all-duplicates-in-an-array
- find-all-lonely-numbers-in-the-array
- find-all-people-with-secret
- find-all-possible-recipes-from-given-supplies
- find-all-the-lonely-nodes
- find-and-replace-in-string
- find-and-replace-pattern
- find-critical-and-pseudo-critical-edges-in-minimum-spanning-tree
- find-cutoff-score-for-each-school
- find-duplicate-subtrees
- find-first-and-last-position-of-element-in-sorted-array
- find-first-palindromic-string-in-the-array
- find-good-days-to-rob-the-bank
- find-if-path-exists-in-graph
- find-k-closest-elements
- find-k-length-substrings-with-no-repeated-characters
- find-kth-bit-in-nth-binary-string
- find-kth-largest-xor-coordinate-value
- find-latest-group-of-size-m
- find-longest-awesome-substring
- find-lucky-integer-in-an-array
- find-minimum-in-rotated-sorted-array-ii
- find-missing-observations
- find-nearest-point-that-has-the-same-x-or-y-coordinate
- find-numbers-with-even-number-of-digits
- find-root-of-n-ary-tree
- find-servers-that-handled-most-number-of-requests
- find-subsequence-of-length-k-with-the-largest-sum
- find-substring-with-given-hash-value
- find-target-indices-after-sorting-array
- find-the-city-with-the-smallest-number-of-neighbors-at-a-threshold-distance
- find-the-index-of-the-large-integer
- find-the-kth-smallest-sum-of-a-matrix-with-sorted-rows
- find-the-middle-index-in-array
- find-the-minimum-and-maximum-number-of-nodes-between-critical-points
- find-the-missing-ids
- find-the-most-competitive-subsequence
- find-the-smallest-divisor-given-a-threshold
- find-the-winner-of-an-array-game
- find-the-winner-of-the-circular-game
- find-two-non-overlapping-sub-arrays-each-with-target-sum
- find-valid-matrix-given-row-and-column-sums
- find-winner-on-a-tic-tac-toe-game
- finding-3-digit-even-numbers
- finding-mk-average
- finding-pairs-with-a-certain-sum
- first-and-last-call-on-the-same-day
- first-unique-character-in-a-string
- fizz-buzz-multithreaded
- flatten-binary-tree-to-linked-list
- flip-game-ii
- flip-string-to-monotone-increasing
- form-largest-integer-with-digits-that-add-up-to-target
- four-divisors
- frog-position-after-t-seconds
- fruit-into-baskets
- game-play-analysis-i
- get-the-maximum-score
- get-the-second-most-recent-activity
- group-employees-of-the-same-salary
- group-sold-products-by-the-date
- groups-of-strings
- guess-number-higher-or-lower
- guess-the-word
- hexspeak
- hopper-company-queries-i
- hopper-company-queries-iii
- house-robber
- house-robber-iii
- how-many-numbers-are-smaller-than-the-current-number
- html-entity-parser
- image-overlap
- immediate-food-delivery-i
- immediate-food-delivery-ii
- implement-rand10-using-rand7
- implement-strstr
- increasing-decreasing-string
- integer-replacement
- integer-to-english-words
- intervals-between-identical-elements
- is-graph-bipartite
- jump-game-iii
- jump-game-v
- jump-game-vi
- k-highest-ranked-items-within-a-price-range
- k-radius-subarray-averages
- k-th-smallest-in-lexicographical-order
- keep-multiplying-found-values-by-two
- kill-process
- koko-eating-bananas
- kth-largest-element-in-a-stream
- largest-1-bordered-square
- largest-magic-square
- largest-multiple-of-three
- largest-number
- largest-odd-number-in-string
- largest-perimeter-triangle
- largest-subarray-length-k
- largest-submatrix-with-rearrangements
- largest-substring-between-two-equal-characters
- last-moment-before-all-ants-fall-out-of-a-plank
- least-number-of-unique-integers-after-k-removals
- leetcodify-friends-recommendations
- leetcodify-similar-friends
- leftmost-column-with-at-least-a-one
- letter-case-permutation
- lexicographically-smallest-string-after-applying-operations
- line-reflection
- linked-list-in-binary-tree
- logger-rate-limiter
- longer-contiguous-segments-of-ones-than-zeros
- longest-arithmetic-subsequence
- longest-arithmetic-subsequence-of-given-difference
- longest-chunked-palindrome-decomposition
- longest-common-subsequence-between-sorted-arrays
- longest-continuous-subarray-with-absolute-diff-less-than-or-equal-to-limit
- longest-duplicate-substring
- longest-happy-prefix
- longest-happy-string
- longest-harmonious-subsequence
- longest-increasing-path-in-a-matrix
- longest-mountain-in-array
- longest-nice-substring
- longest-palindrome-by-concatenating-two-letter-words
- longest-palindromic-subsequence-ii
- longest-subarray-of-1s-after-deleting-one-element
- longest-subsequence-repeated-k-times
- longest-uncommon-subsequence-ii
- longest-univalue-path
- longest-winning-streak
- low-quality-problems
- lowest-common-ancestor-of-a-binary-tree
- lowest-common-ancestor-of-a-binary-tree-iv
- majority-element
- majority-element-ii
- make-sum-divisible-by-p
- make-two-arrays-equal-by-reversing-sub-arrays
- making-file-names-unique
- map-sum-pairs
- matrix-block-sum
- matrix-cells-in-distance-order
- matrix-diagonal-sum
- max-consecutive-ones-iii
- max-dot-product-of-two-subsequences
- max-value-of-equation
- maximal-rectangle
- maximize-number-of-nice-divisors
- maximum-alternating-subarray-sum
- maximum-alternating-subsequence-sum
- maximum-and-sum-of-array
- maximum-area-of-a-piece-of-cake-after-horizontal-and-vertical-cuts
- maximum-ascending-subarray-sum
- maximum-binary-string-after-change
- maximum-candies-you-can-get-from-boxes
- maximum-difference-between-node-and-ancestor
- maximum-distance-between-a-pair-of-values
- maximum-distance-in-arrays
- maximum-element-after-decreasing-and-rearranging
- maximum-employees-to-be-invited-to-a-meeting
- maximum-fruits-harvested-after-at-most-k-steps
- maximum-genetic-difference-query
- maximum-good-people-based-on-statements
- maximum-ice-cream-bars
- maximum-length-of-a-concatenated-string-with-unique-characters
- maximum-length-of-subarray-with-positive-product
- maximum-nesting-depth-of-the-parentheses
- maximum-non-negative-product-in-a-matrix
- maximum-number-of-achievable-transfer-requests
- maximum-number-of-consecutive-values-you-can-make
- maximum-number-of-darts-inside-of-a-circular-dartboard
- maximum-number-of-eaten-apples
- maximum-number-of-events-that-can-be-attended
- maximum-number-of-non-overlapping-subarrays-with-sum-equals-target
- maximum-number-of-non-overlapping-substrings
- maximum-number-of-occurrences-of-a-substring
- maximum-number-of-tasks-you-can-assign
- maximum-number-of-visible-points
- maximum-number-of-vowels-in-a-substring-of-given-length
- maximum-number-of-weeks-for-which-you-can-work
- maximum-number-of-words-found-in-sentences
- maximum-path-quality-of-a-graph
- maximum-performance-of-a-team
- maximum-points-you-can-obtain-from-cards
- maximum-product-of-splitted-binary-tree
- maximum-product-of-word-lengths
- maximum-profit-of-operating-a-centennial-wheel
- maximum-repeating-substring
- maximum-running-time-of-n-computers
- maximum-score-from-performing-multiplication-operations
- maximum-score-from-removing-substrings
- maximum-score-of-a-good-subarray
- maximum-score-words-formed-by-letters
- maximum-students-taking-exam
- maximum-sum-bst-in-binary-tree
- maximum-sum-of-3-non-overlapping-subarrays
- maximum-twin-sum-of-a-linked-list
- maximum-units-on-a-truck
- maximum-value-at-a-given-index-in-a-bounded-array
- mean-of-array-after-removing-some-elements
- meeting-rooms-ii
- merge-bsts-to-create-single-bst
- merge-in-between-linked-lists
- merge-intervals
- merge-strings-alternately
- merge-triplets-to-form-target-triplet
- min-cost-to-connect-all-points
- mini-parser
- minimize-deviation-in-array
- minimize-hamming-distance-after-swap-operations
- minimum-absolute-difference
- minimum-add-to-make-parentheses-valid
- minimum-adjacent-swaps-for-k-consecutive-ones
- minimum-area-rectangle-ii
- minimum-cost-homecoming-of-a-robot-in-a-grid
- minimum-cost-of-buying-candies-with-discount
- minimum-cost-to-connect-two-groups-of-points
- minimum-cost-to-cut-a-stick
- minimum-cost-to-merge-stones
- minimum-cost-to-reach-city-with-discounts
- minimum-cost-to-reach-destination-in-time
- minimum-cost-to-separate-sentence-into-rows
- minimum-cost-to-set-cooking-time
- minimum-deletions-to-make-string-balanced
- minimum-difference-between-highest-and-lowest-of-k-scores
- minimum-difference-between-largest-and-smallest-value-in-three-moves
- minimum-difference-in-sums-after-removal-of-elements
- minimum-difficulty-of-a-job-schedule
- minimum-distance-to-type-a-word-using-two-fingers
- minimum-domino-rotations-for-equal-row
- minimum-elements-to-add-to-form-a-given-sum
- minimum-falling-path-sum
- minimum-falling-path-sum-ii
- minimum-genetic-mutation
- minimum-incompatibility
- minimum-insertion-steps-to-make-a-string-palindrome
- minimum-insertions-to-balance-a-parentheses-string
- minimum-interval-to-include-each-query
- minimum-jumps-to-reach-home
- minimum-moves-to-move-a-box-to-their-target-location
- minimum-moves-to-reach-target-score
- minimum-number-of-buckets-required-to-collect-rainwater-from-houses
- minimum-number-of-days-to-disconnect-island
- minimum-number-of-days-to-eat-n-oranges
- minimum-number-of-days-to-make-m-bouquets
- minimum-number-of-flips-to-convert-binary-matrix-to-zero-matrix
- minimum-number-of-increments-on-subarrays-to-form-a-target-array
- minimum-number-of-lines-to-cover-points
- minimum-number-of-operations-to-make-string-sorted
- minimum-number-of-operations-to-move-all-balls-to-each-box
- minimum-number-of-refueling-stops
- minimum-number-of-removals-to-make-mountain-array
- minimum-number-of-steps-to-make-two-strings-anagram
- minimum-number-of-swaps-to-make-the-binary-string-alternating
- minimum-number-of-taps-to-open-to-water-a-garden
- minimum-numbers-of-function-calls-to-make-target-array
- minimum-one-bit-operations-to-make-integers-zero
- minimum-operations-to-convert-number
- minimum-operations-to-make-the-array-alternating
- minimum-operations-to-make-the-array-k-increasing
- minimum-operations-to-remove-adjacent-ones-in-matrix
- minimum-possible-integer-after-at-most-k-adjacent-swaps-on-digits
- minimum-remove-to-make-valid-parentheses
- minimum-skips-to-arrive-at-meeting-on-time
- minimum-space-wasted-from-packaging
- minimum-subsequence-in-non-increasing-order
- minimum-suffix-flips
- minimum-sum-of-four-digit-number-after-splitting-digits
- minimum-swaps-to-group-all-1s-together-ii
- minimum-swaps-to-make-sequences-increasing
- minimum-swaps-to-make-strings-equal
- minimum-time-for-k-virus-variants-to-spread
- minimum-time-to-collect-all-apples-in-a-tree
- minimum-time-to-make-rope-colorful
- minimum-time-to-remove-all-cars-containing-illegal-goods
- minimum-time-visiting-all-points
- missing-number
- monotone-increasing-digits
- monthly-transactions-ii
- my-calendar-i
- my-calendar-ii
- nearest-exit-from-entrance-in-maze
- new-users-daily-count
- non-decreasing-array
- nth-highest-salary
- number-of-1-bits
- number-of-corner-rectangles
- number-of-dice-rolls-with-target-sum
- number-of-digit-one
- number-of-distinct-substrings-in-a-string
- number-of-good-leaf-nodes-pairs
- number-of-good-ways-to-split-a-string
- number-of-laser-beams-in-a-bank
- number-of-lines-to-write-string
- number-of-longest-increasing-subsequence
- number-of-nodes-in-the-sub-tree-with-the-same-label
- number-of-operations-to-make-network-connected
- number-of-segments-in-a-string
- number-of-sets-of-k-non-overlapping-line-segments
- number-of-smooth-descent-periods-of-a-stock
- number-of-spaces-cleaning-robot-cleaned
- number-of-steps-to-reduce-a-number-in-binary-representation-to-one
- number-of-steps-to-reduce-a-number-to-zero
- number-of-students-doing-homework-at-a-given-time
- number-of-students-unable-to-eat-lunch
- number-of-sub-arrays-of-size-k-and-average-greater-than-or-equal-to-threshold
- number-of-sub-arrays-with-odd-sum
- number-of-subsequences-that-satisfy-the-given-sum-condition
- number-of-substrings-with-only-1s
- number-of-transactions-per-visit
- number-of-unique-flavors-after-sharing-k-candies
- number-of-valid-move-combinations-on-chessboard
- number-of-valid-words-in-a-sentence
- number-of-ways-to-divide-a-long-corridor
- number-of-ways-to-form-a-target-string-given-a-dictionary
- number-of-ways-to-paint-n-3-grid
- number-of-ways-to-reorder-array-to-get-same-bst
- number-of-ways-to-separate-numbers
- number-of-ways-to-split-a-string
- number-of-ways-to-wear-different-hats-to-each-other
- number-of-ways-where-square-of-number-is-equal-to-product-of-two-numbers
- numbers-with-repeated-digits
- odd-even-jump
- online-majority-element-in-subarray
- order-two-columns-independently
- orders-with-maximum-quantity-above-average
- paint-fence
- paint-house-iii
- palindrome-linked-list
- palindrome-pairs
- palindrome-partitioning-iii
- palindrome-removal
- parallel-courses-ii
- partition-array-according-to-given-pivot
- partition-list
- path-sum
- path-sum-ii
- path-with-minimum-effort
- perfect-rectangle
- pizza-with-3n-slices
- plus-one-linked-list
- poor-pigs
- populating-next-right-pointers-in-each-node-ii
- possible-bipartition
- pour-water-between-buckets-to-make-water-levels-equal
- power-of-three
- prime-arrangements
- print-in-order
- prison-cells-after-n-days
- probability-of-a-two-boxes-having-the-same-number-of-distinct-balls
- product-of-array-except-self
- products-price-for-each-store
- projection-area-of-3d-shapes
- put-boxes-into-the-warehouse-ii
- queries-on-a-permutation-with-key
- queries-quality-and-percentage
- queue-reconstruction-by-height
- race-car
- random-pick-index
- random-pick-with-weight
- range-sum-query-mutable
- rank-scores
- rank-transform-of-a-matrix
- reach-a-number
- rearrange-array-elements-by-sign
- rearrange-spaces-between-words
- rearrange-string-k-distance-apart
- rearrange-words-in-a-sentence
- recover-the-original-array
- rectangle-overlap
- rectangles-area
- reduce-array-size-to-the-half
- reducing-dishes
- reformat-phone-number
- remove-all-ones-with-row-and-column-flips
- remove-covered-intervals
- remove-interval
- remove-max-number-of-edges-to-keep-graph-fully-traversable
- remove-one-element-to-make-the-array-strictly-increasing
- remove-zero-sum-consecutive-nodes-from-linked-list
- removing-minimum-and-maximum-from-array
- removing-minimum-number-of-magic-beans
- reorder-routes-to-make-all-paths-lead-to-the-city-zero
- repeated-string-match
- replace-all-s-to-avoid-consecutive-repeating-characters
- reported-posts-ii
- restore-the-array
- reverse-bits
- reverse-linked-list
- reverse-nodes-in-even-length-groups
- reverse-words-in-a-string
- rings-and-rods
- rotate-array
- rotate-function
- running-total-for-different-genders
- russian-doll-envelopes
- sales-analysis-ii
- sales-by-day-of-the-week
- search-insert-position
- search-suggestions-system
- second-highest-salary
- second-minimum-time-to-reach-destination
- self-crossing
- sell-diminishing-valued-colored-balls
- sentence-similarity-iii
- sequentially-ordinal-rank-tracker
- set-matrix-zeroes
- set-mismatch
- shift-2d-grid
- shortest-bridge
- shortest-completing-word
- shortest-distance-from-all-buildings
- shortest-path-to-get-food
- shortest-subarray-to-be-removed-to-make-array-sorted
- shortest-way-to-form-string
- shuffle-string
- shuffle-the-array
- simplify-path
- single-row-keyboard
- smallest-greater-multiple-made-of-two-digits
- smallest-index-with-equal-value
- smallest-range-covering-elements-from-k-lists
- smallest-string-starting-from-leaf
- smallest-subtree-with-all-the-deepest-nodes
- smallest-value-of-the-rearranged-number
- solving-questions-with-brainpower
- sort-an-array
- sort-array-by-increasing-frequency
- sort-even-and-odd-indices-independently
- sort-integers-by-the-number-of-1-bits
- sort-integers-by-the-power-value
- sort-linked-list-already-sorted-using-absolute-values
- sort-transformed-array
- sorting-the-sentence
- special-array-with-x-elements-greater-than-or-equal-x
- special-positions-in-a-binary-matrix
- split-array-into-fibonacci-sequence
- split-array-with-same-average
- split-two-strings-to-make-palindrome
- splitting-a-string-into-descending-consecutive-values
- squares-of-a-sorted-array
- stamping-the-grid
- stamping-the-sequence
- step-by-step-directions-from-a-binary-tree-node-to-another
- stepping-numbers
- stock-price-fluctuation
- stone-game-ii
- stone-game-iii
- stone-game-iv
- stone-game-vii
- strange-printer-ii
- stream-of-characters
- string-matching-in-an-array
- string-to-integer-atoi
- strings-differ-by-one-character
- strobogrammatic-number
- strobogrammatic-number-iii
- strong-friendship
- student-attendance-record-ii
- subrectangle-queries
- subsequence-of-size-k-with-the-largest-even-sum
- substrings-of-size-three-with-distinct-characters
- substrings-that-begin-and-end-with-the-same-letter
- subtree-removal-game-with-fibonacci-tree
- sudoku-solver
- sum-of-square-numbers
- sum-of-subarray-minimums
- sum-of-subarray-ranges
- sum-of-subsequence-widths
- surface-area-of-3d-shapes
- surrounded-regions
- suspicious-bank-accounts
- swap-adjacent-in-lr-string
- swap-for-longest-repeated-character-substring
- swapping-nodes-in-a-linked-list
- symmetric-tree
- synonymous-sentences
- the-airport-with-the-most-traffic
- the-earliest-moment-when-everyone-become-friends
- the-k-strongest-values-in-an-array
- the-kth-factor-of-n
- the-most-frequently-ordered-products-for-each-customer
- the-number-of-full-rounds-you-have-played
- the-number-of-passengers-in-each-bus-i
- the-number-of-passengers-in-each-bus-ii
- the-number-of-rich-customers
- the-score-of-students-solving-math-expression
- the-winner-university
- thousand-separator
- three-divisors
- throne-inheritance
- time-based-key-value-store
- time-needed-to-inform-all-employees
- total-sales-amount-by-year
- trapping-rain-water
- tuple-with-same-product
- two-sum
- unique-substrings-with-equal-digit-frequency
- user-activity-for-the-past-30-days-i
- users-that-actively-request-confirmation-messages
- utf-8-validation
- valid-arrangement-of-pairs
- valid-parenthesis-string
- valid-word-abbreviation
- verbal-arithmetic-puzzle
- video-stitching
- vowels-of-all-substrings
- water-bottles
- watering-plants-ii
- ways-to-split-array-into-three-subarrays
- weather-type-in-each-country
- where-will-the-ball-fall
- wiggle-subsequence
- word-abbreviation
- word-pattern-ii
- word-squares
- word-subsets
- xor-operation-in-an-array
- xor-queries-of-a-subarray
- readme
- tag
- array
- backtracking
- binary-indexed-tree
- binary-search
- binary-search-tree
- binary-tree
- bit-manipulation
- bitmask
- breadth-first-search
- concurrency
- counting
- data-stream
- depth-first-search
- design
- divide-and-conquer
- doubly-linked-list
- dynamic-programming
- enumeration
- eulerian-circuit
- geometry
- graph
- greedy
- hash-function
- hash-table
- heap-priority-queue
- iterator
- linked-list
- math
- matrix
- merge-sort
- monotonic-stack
- number-theory
- ordered-set
- prefix-sum
- queue
- recursion
- rolling-hash
- segment-tree
- shortest-path
- simulation
- sliding-window
- sorting
- 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.
783 files changed
+10343
-5686
lines changed+169-372
Large diffs are not rendered by default.
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1 | 1 |
| |
2 | 2 |
| |
3 |
| - | |
4 |
| - | |
5 |
| - | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
6 | 6 |
| |
7 | 7 |
| |
8 | 8 |
| |
|
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 | + |
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 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + |
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
9 | 9 |
| |
10 | 10 |
| |
11 | 11 |
| |
12 |
| - | |
| 12 | + | |
13 | 13 |
| |
14 | 14 |
| |
15 | 15 |
| |
|
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
9 | 9 |
| |
10 | 10 |
| |
11 | 11 |
| |
12 |
| - | |
| 12 | + | |
13 | 13 |
| |
14 | 14 |
| |
15 | 15 |
| |
|
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1 | 1 |
| |
2 | 2 |
| |
3 |
| - | |
4 |
| - | |
5 |
| - | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
6 | 6 |
| |
7 | 7 |
| |
8 | 8 |
| |
|
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
49 | 49 |
| |
50 | 50 |
| |
51 | 51 |
| |
52 |
| - | |
53 |
| - | |
54 |
| - | |
55 |
| - | |
56 |
| - | |
57 |
| - | |
58 |
| - | |
59 |
| - | |
60 |
| - | |
61 | 52 |
| |
62 | 53 |
| |
63 | 54 |
| |
| |||
68 | 59 |
| |
69 | 60 |
| |
70 | 61 |
| |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
71 | 66 |
| |
72 | 67 |
| |
73 | 68 |
| |
|
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1 | 1 |
| |
2 | 2 |
| |
3 |
| - | |
4 |
| - | |
5 |
| - | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
6 | 6 |
| |
7 | 7 |
| |
8 | 8 |
| |
|
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 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + |
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1 | 1 |
| |
2 | 2 |
| |
3 |
| - | |
4 |
| - | |
5 |
| - | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
6 | 6 |
| |
7 | 7 |
| |
8 | 8 |
| |
|
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
38 | 38 |
| |
39 | 39 |
| |
40 | 40 |
| |
41 |
| - | |
42 |
| - | |
43 |
| - | |
44 |
| - | |
45 |
| - | |
46 |
| - | |
47 |
| - | |
48 |
| - | |
49 |
| - | |
50 |
| - | |
51 |
| - | |
52 |
| - | |
53 |
| - | |
54 |
| - | |
55 | 41 |
| |
56 | 42 |
| |
57 | 43 |
| |
58 | 44 |
| |
59 | 45 |
| |
60 | 46 |
| |
61 |
| - | |
| 47 | + | |
62 | 48 |
| |
63 | 49 |
| |
64 | 50 |
| |
|
0 commit comments