File tree
1,974 files changed
+1988
-1974
lines changed- internal
- base
- leetcode
- version
- problems
- 01-matrix
- 1-bit-and-2-bit-characters
- 132-pattern
- 2-keys-keyboard
- 24-game
- 3sum
- 3sum-closest
- 3sum-smaller
- 3sum-with-multiplicity
- 4-keys-keyboard
- 4sum
- 4sum-ii
- accounts-merge
- add-and-search-word-data-structure-design
- add-binary
- add-bold-tag-in-string
- add-digits
- add-one-row-to-tree
- add-strings
- add-to-array-form-of-integer
- add-two-numbers
- add-two-numbers-ii
- adding-two-negabinary-numbers
- additive-number
- advantage-shuffle
- alien-dictionary
- all-nodes-distance-k-in-binary-tree
- all-oone-data-structure
- all-paths-from-source-to-target
- all-possible-full-binary-trees
- alphabet-board-path
- ambiguous-coordinates
- android-unlock-patterns
- arithmetic-slices
- arithmetic-slices-ii-subsequence
- arranging-coins
- array-nesting
- array-of-doubled-pairs
- array-partition-i
- assign-cookies
- asteroid-collision
- available-captures-for-rook
- average-of-levels-in-binary-tree
- backspace-string-compare
- bag-of-tokens
- balanced-binary-tree
- base-7
- baseball-game
- basic-calculator
- basic-calculator-ii
- basic-calculator-iii
- basic-calculator-iv
- battleships-in-a-board
- beautiful-arrangement
- beautiful-arrangement-ii
- beautiful-array
- best-meeting-point
- best-sightseeing-pair
- 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-gap
- binary-number-with-alternating-bits
- binary-prefix-divisible-by-5
- binary-search
- binary-search-tree-iterator
- binary-string-with-substrings-representing-1-to-n
- binary-subarrays-with-sum
- binary-tree-cameras
- binary-tree-inorder-traversal
- binary-tree-level-order-traversal
- binary-tree-level-order-traversal-ii
- binary-tree-longest-consecutive-sequence
- binary-tree-longest-consecutive-sequence-ii
- binary-tree-maximum-path-sum
- binary-tree-paths
- binary-tree-postorder-traversal
- binary-tree-preorder-traversal
- binary-tree-pruning
- binary-tree-right-side-view
- binary-tree-tilt
- binary-tree-upside-down
- binary-tree-vertical-order-traversal
- binary-tree-zigzag-level-order-traversal
- binary-trees-with-factors
- binary-watch
- bitwise-and-of-numbers-range
- bitwise-ors-of-subarrays
- boats-to-save-people
- bold-words-in-string
- bomb-enemy
- boundary-of-binary-tree
- brace-expansion-ii
- brick-wall
- bricks-falling-when-hit
- broken-calculator
- buddy-strings
- bulb-switcher
- bulb-switcher-ii
- bulls-and-cows
- burst-balloons
- bus-routes
- camelcase-matching
- can-i-win
- can-place-flowers
- candy
- candy-crush
- capacity-to-ship-packages-within-d-days
- car-fleet
- car-pooling
- card-flipping-game
- cat-and-mouse
- chalkboard-xor-game
- champagne-tower
- cheapest-flights-within-k-stops
- check-completeness-of-a-binary-tree
- check-if-word-is-valid-after-substitutions
- cherry-pickup
- circular-array-loop
- climbing-stairs
- clone-graph
- closest-binary-search-tree-value
- closest-binary-search-tree-value-ii
- closest-leaf-in-a-binary-tree
- clumsy-factorial
- coin-change
- coin-change-2
- coin-path
- coloring-a-border
- combination-sum
- combination-sum-ii
- combination-sum-iii
- combination-sum-iv
- combinations
- compare-version-numbers
- complement-of-base-10-integer
- complete-binary-tree-inserter
- complex-number-multiplication
- concatenated-words
- consecutive-numbers-sum
- construct-binary-tree-from-inorder-and-postorder-traversal
- construct-binary-tree-from-preorder-and-inorder-traversal
- construct-binary-tree-from-preorder-and-postorder-traversal
- construct-binary-tree-from-string
- construct-quad-tree
- construct-string-from-binary-tree
- construct-the-rectangle
- contain-virus
- container-with-most-water
- contains-duplicate
- contains-duplicate-ii
- contains-duplicate-iii
- contiguous-array
- continuous-subarray-sum
- convert-a-number-to-hexadecimal
- convert-binary-search-tree-to-sorted-doubly-linked-list
- convert-bst-to-greater-tree
- convert-sorted-array-to-binary-search-tree
- convert-sorted-list-to-binary-search-tree
- convert-to-base-2
- convex-polygon
- copy-list-with-random-pointer
- corporate-flight-bookings
- count-and-say
- count-binary-substrings
- count-complete-tree-nodes
- count-different-palindromic-subsequences
- count-numbers-with-unique-digits
- count-of-range-sum
- count-of-smaller-numbers-after-self
- count-primes
- count-the-repetitions
- count-univalue-subtrees
- counting-bits
- couples-holding-hands
- course-schedule
- course-schedule-ii
- course-schedule-iii
- cousins-in-binary-tree
- cracking-the-safe
- create-maximum-number
- custom-sort-string
- cut-off-trees-for-golf-event
- daily-temperatures
- data-stream-as-disjoint-intervals
- day-of-the-week
- day-of-the-year
- decode-string
- decode-ways
- decode-ways-ii
- decoded-string-at-index
- defanging-an-ip-address
- degree-of-an-array
- delete-and-earn
- delete-columns-to-make-sorted
- delete-columns-to-make-sorted-ii
- delete-columns-to-make-sorted-iii
- delete-node-in-a-bst
- delete-node-in-a-linked-list
- delete-nodes-and-return-forest
- delete-operation-for-two-strings
- design-circular-deque
- design-circular-queue
- design-compressed-string-iterator
- design-excel-sum-formula
- design-hashmap
- design-hashset
- design-hit-counter
- design-in-memory-file-system
- design-linked-list
- design-log-storage-system
- design-phone-directory
- design-search-autocomplete-system
- design-snake-game
- design-tic-tac-toe
- design-twitter
- detect-capital
- di-string-match
- diagonal-traverse
- diameter-of-binary-tree
- different-ways-to-add-parentheses
- distant-barcodes
- distinct-subsequences
- distinct-subsequences-ii
- distribute-candies
- distribute-candies-to-people
- distribute-coins-in-binary-tree
- divide-two-integers
- divisor-game
- domino-and-tromino-tiling
- dota2-senate
- dungeon-game
- duplicate-zeros
- edit-distance
- elimination-game
- employee-free-time
- employee-importance
- encode-and-decode-strings
- encode-and-decode-tinyurl
- encode-n-ary-tree-to-binary-tree
- encode-string-with-shortest-length
- equal-rational-numbers
- equal-tree-partition
- erect-the-fence
- escape-a-large-maze
- escape-the-ghosts
- evaluate-division
- evaluate-reverse-polish-notation
- exam-room
- excel-sheet-column-number
- excel-sheet-column-title
- exclusive-time-of-functions
- expression-add-operators
- expressive-words
- factor-combinations
- factorial-trailing-zeroes
- fair-candy-swap
- falling-squares
- fibonacci-number
- filling-bookcase-shelves
- find-all-anagrams-in-a-string
- find-all-duplicates-in-an-array
- find-all-numbers-disappeared-in-an-array
- find-anagram-mappings
- find-and-replace-in-string
- find-and-replace-pattern
- find-bottom-left-tree-value
- find-common-characters
- find-duplicate-file-in-system
- find-duplicate-subtrees
- find-eventual-safe-states
- find-first-and-last-position-of-element-in-sorted-array
- find-in-mountain-array
- find-k-closest-elements
- find-k-pairs-with-smallest-sums
- find-k-th-smallest-pair-distance
- find-largest-value-in-each-tree-row
- find-leaves-of-binary-tree
- find-median-from-data-stream
- find-minimum-in-rotated-sorted-array
- find-minimum-in-rotated-sorted-array-ii
- find-mode-in-binary-search-tree
- find-peak-element
- find-permutation
- find-pivot-index
- find-right-interval
- find-smallest-letter-greater-than-target
- find-the-celebrity
- find-the-closest-palindrome
- find-the-derangement-of-an-array
- find-the-difference
- find-the-duplicate-number
- find-the-shortest-superstring
- find-the-town-judge
- first-bad-version
- first-missing-positive
- first-unique-character-in-a-string
- fizz-buzz
- flatten-2d-vector
- flatten-a-multilevel-doubly-linked-list
- flatten-binary-tree-to-linked-list
- flatten-nested-list-iterator
- flip-binary-tree-to-match-preorder-traversal
- flip-columns-for-maximum-number-of-equal-rows
- flip-equivalent-binary-trees
- flip-game
- flip-game-ii
- flip-string-to-monotone-increasing
- flipping-an-image
- flood-fill
- flower-planting-with-no-adjacent
- fraction-addition-and-subtraction
- fraction-to-recurring-decimal
- freedom-trail
- friend-circles
- friends-of-appropriate-ages
- frog-jump
- fruit-into-baskets
- game-of-life
- gas-station
- generalized-abbreviation
- generate-parentheses
- generate-random-point-in-a-circle
- global-and-local-inversions
- goat-latin
- graph-valid-tree
- gray-code
- greatest-common-divisor-of-strings
- grid-illumination
- group-anagrams
- group-shifted-strings
- groups-of-special-equivalent-strings
- grumpy-bookstore-owner
- guess-number-higher-or-lower
- guess-number-higher-or-lower-ii
- guess-the-word
- h-index
- h-index-ii
- hamming-distance
- hand-of-straights
- happy-number
- heaters
- height-checker
- house-robber
- house-robber-ii
- house-robber-iii
- image-overlap
- image-smoother
- implement-magic-dictionary
- implement-queue-using-stacks
- implement-rand10-using-rand7
- implement-stack-using-queues
- implement-strstr
- implement-trie-prefix-tree
- increasing-order-search-tree
- increasing-subsequences
- increasing-triplet-subsequence
- inorder-successor-in-bst
- insert-delete-getrandom-o1
- insert-delete-getrandom-o1-duplicates-allowed
- insert-interval
- insert-into-a-binary-search-tree
- insert-into-a-cyclic-sorted-list
- insertion-sort-list
- integer-break
- integer-replacement
- integer-to-english-words
- integer-to-roman
- interleaving-string
- intersection-of-two-arrays
- intersection-of-two-arrays-ii
- intersection-of-two-linked-lists
- interval-list-intersections
- invert-binary-tree
- ip-to-cidr
- ipo
- is-graph-bipartite
- is-subsequence
- island-perimeter
- isomorphic-strings
- jewels-and-stones
- jump-game
- jump-game-ii
- k-closest-points-to-origin
- k-diff-pairs-in-an-array
- k-empty-slots
- k-inverse-pairs-array
- k-similar-strings
- k-th-smallest-in-lexicographical-order
- k-th-smallest-prime-fraction
- k-th-symbol-in-grammar
- keyboard-row
- keys-and-rooms
- kill-process
- knight-dialer
- knight-probability-in-chessboard
- koko-eating-bananas
- kth-largest-element-in-a-stream
- kth-largest-element-in-an-array
- kth-smallest-element-in-a-bst
- kth-smallest-element-in-a-sorted-matrix
- kth-smallest-number-in-multiplication-table
- largest-bst-subtree
- largest-component-size-by-common-factor
- largest-divisible-subset
- largest-number
- largest-number-at-least-twice-of-others
- largest-palindrome-product
- largest-perimeter-triangle
- largest-plus-sign
- largest-rectangle-in-histogram
- largest-sum-of-averages
- largest-time-for-given-digits
- largest-triangle-area
- largest-values-from-labels
- last-stone-weight
- last-stone-weight-ii
- last-substring-in-lexicographical-order
- leaf-similar-trees
- least-operators-to-express-number
- lemonade-change
- length-of-last-word
- length-of-longest-fibonacci-subsequence
- letter-case-permutation
- letter-combinations-of-a-phone-number
- letter-tile-possibilities
- lexicographical-numbers
- lfu-cache
- license-key-formatting
- line-reflection
- linked-list-components
- linked-list-cycle
- linked-list-cycle-ii
- linked-list-random-node
- logger-rate-limiter
- lonely-pixel-i
- lonely-pixel-ii
- long-pressed-name
- longest-absolute-file-path
- longest-arithmetic-sequence
- longest-common-prefix
- longest-consecutive-sequence
- longest-continuous-increasing-subsequence
- longest-duplicate-substring
- longest-harmonious-subsequence
- longest-increasing-path-in-a-matrix
- longest-increasing-subsequence
- longest-line-of-consecutive-one-in-matrix
- longest-mountain-in-array
- longest-palindrome
- longest-palindromic-subsequence
- longest-palindromic-substring
- longest-repeating-character-replacement
- longest-string-chain
- longest-substring-with-at-least-k-repeating-characters
- longest-substring-with-at-most-k-distinct-characters
- longest-substring-with-at-most-two-distinct-characters
- longest-substring-without-repeating-characters
- longest-turbulent-subarray
- longest-uncommon-subsequence-i
- longest-uncommon-subsequence-ii
- longest-univalue-path
- longest-valid-parentheses
- longest-well-performing-interval
- longest-word-in-dictionary
- longest-word-in-dictionary-through-deleting
- loud-and-rich
- lowest-common-ancestor-of-a-binary-search-tree
- lowest-common-ancestor-of-a-binary-tree
- lowest-common-ancestor-of-deepest-leaves
- lru-cache
- magic-squares-in-grid
- magical-string
- majority-element
- majority-element-ii
- making-a-large-island
- map-sum-pairs
- masking-personal-information
- matchsticks-to-square
- matrix-cells-in-distance-order
- max-area-of-island
- max-chunks-to-make-sorted
- max-chunks-to-make-sorted-ii
- max-consecutive-ones
- max-consecutive-ones-ii
- max-consecutive-ones-iii
- max-increase-to-keep-city-skyline
- max-points-on-a-line
- max-stack
- max-sum-of-rectangle-no-larger-than-k
- maximal-rectangle
- maximal-square
- maximize-distance-to-closest-person
- maximize-sum-of-array-after-k-negations
- maximum-average-subarray-i
- maximum-average-subarray-ii
- maximum-binary-tree
- maximum-binary-tree-ii
- maximum-depth-of-binary-tree
- maximum-depth-of-n-ary-tree
- maximum-distance-in-arrays
- maximum-frequency-stack
- maximum-gap
- maximum-length-of-pair-chain
- maximum-length-of-repeated-subarray
- maximum-nesting-depth-of-two-valid-parentheses-strings
- maximum-number-of-balloons
- maximum-product-of-three-numbers
- maximum-product-of-word-lengths
- maximum-product-subarray
- maximum-size-subarray-sum-equals-k
- maximum-subarray
- maximum-sum-circular-subarray
- maximum-sum-of-3-non-overlapping-subarrays
- maximum-sum-of-two-non-overlapping-subarrays
- maximum-swap
- maximum-vacation-days
- maximum-width-of-binary-tree
- maximum-width-ramp
- maximum-xor-of-two-numbers-in-an-array
- median-of-two-sorted-arrays
- meeting-rooms
- meeting-rooms-ii
- merge-intervals
- merge-k-sorted-lists
- merge-sorted-array
- merge-two-binary-trees
- merge-two-sorted-lists
- middle-of-the-linked-list
- min-cost-climbing-stairs
- min-stack
- minesweeper
- mini-parser
- minimize-malware-spread
- minimize-malware-spread-ii
- minimize-max-distance-to-gas-station
- minimum-absolute-difference-in-bst
- minimum-add-to-make-parentheses-valid
- minimum-area-rectangle
- minimum-area-rectangle-ii
- minimum-ascii-delete-sum-for-two-strings
- minimum-cost-for-tickets
- minimum-cost-to-hire-k-workers
- minimum-cost-to-merge-stones
- minimum-depth-of-binary-tree
- minimum-distance-between-bst-nodes
- minimum-domino-rotations-for-equal-row
- minimum-factorization
- minimum-falling-path-sum
- minimum-genetic-mutation
- minimum-height-trees
- minimum-increment-to-make-array-unique
- minimum-index-sum-of-two-lists
- minimum-moves-to-equal-array-elements
- minimum-moves-to-equal-array-elements-ii
- minimum-number-of-arrows-to-burst-balloons
- minimum-number-of-k-consecutive-bit-flips
- minimum-number-of-refueling-stops
- minimum-path-sum
- minimum-score-triangulation-of-polygon
- minimum-size-subarray-sum
- minimum-swaps-to-make-sequences-increasing
- minimum-time-difference
- minimum-unique-word-abbreviation
- minimum-window-subsequence
- minimum-window-substring
- mirror-reflection
- missing-number
- missing-ranges
- monotone-increasing-digits
- monotonic-array
- most-common-word
- most-frequent-subtree-sum
- most-profit-assigning-work
- most-stones-removed-with-same-row-or-column
- move-zeroes
- moving-average-from-data-stream
- moving-stones-until-consecutive
- moving-stones-until-consecutive-ii
- multiply-strings
- my-calendar-i
- my-calendar-ii
- my-calendar-iii
- n-ary-tree-level-order-traversal
- n-ary-tree-postorder-traversal
- n-ary-tree-preorder-traversal
- n-queens
- n-queens-ii
- n-repeated-element-in-size-2n-array
- nested-list-weight-sum
- nested-list-weight-sum-ii
- network-delay-time
- new-21-game
- next-closest-time
- next-greater-element-i
- next-greater-element-ii
- next-greater-element-iii
- next-permutation
- nim-game
- non-decreasing-array
- non-negative-integers-without-consecutive-ones
- non-overlapping-intervals
- nth-digit
- nth-magical-number
- number-complement
- number-of-1-bits
- number-of-atoms
- number-of-boomerangs
- number-of-connected-components-in-an-undirected-graph
- number-of-corner-rectangles
- number-of-digit-one
- number-of-distinct-islands
- number-of-distinct-islands-ii
- number-of-enclaves
- number-of-islands
- number-of-islands-ii
- number-of-lines-to-write-string
- number-of-longest-increasing-subsequence
- number-of-matching-subsequences
- number-of-music-playlists
- number-of-recent-calls
- number-of-segments-in-a-string
- number-of-squareful-arrays
- number-of-subarrays-with-bounded-maximum
- number-of-submatrices-that-sum-to-target
- numbers-at-most-n-given-digit-set
- numbers-with-repeated-digits
- numbers-with-same-consecutive-differences
- occurrences-after-bigram
- odd-even-jump
- odd-even-linked-list
- one-edit-distance
- ones-and-zeroes
- online-election
- online-stock-span
- open-the-lock
- optimal-account-balancing
- optimal-division
- orderly-queue
- out-of-boundary-paths
- output-contest-matches
- pacific-atlantic-water-flow
- paint-fence
- paint-house
- paint-house-ii
- pairs-of-songs-with-total-durations-divisible-by-60
- palindrome-linked-list
- palindrome-number
- palindrome-pairs
- palindrome-partitioning
- palindrome-partitioning-ii
- palindrome-permutation
- palindrome-permutation-ii
- palindromic-substrings
- pancake-sorting
- parse-lisp-expression
- parsing-a-boolean-expression
- partition-array-for-maximum-sum
- partition-array-into-disjoint-intervals
- partition-array-into-three-parts-with-equal-sum
- partition-equal-subset-sum
- partition-labels
- partition-list
- partition-to-k-equal-sum-subsets
- pascals-triangle
- pascals-triangle-ii
- patching-array
- path-in-zigzag-labelled-binary-tree
- path-sum
- path-sum-ii
- path-sum-iii
- path-sum-iv
- peak-index-in-a-mountain-array
- peeking-iterator
- perfect-number
- perfect-rectangle
- perfect-squares
- permutation-in-string
- permutation-sequence
- permutations
- permutations-ii
- plus-one
- plus-one-linked-list
- poor-pigs
- populating-next-right-pointers-in-each-node
- populating-next-right-pointers-in-each-node-ii
- positions-of-large-groups
- possible-bipartition
- pour-water
- power-of-four
- power-of-three
- power-of-two
- powerful-integers
- powx-n
- predict-the-winner
- prefix-and-suffix-search
- preimage-size-of-factorial-zeroes-function
- previous-permutation-with-one-swap
- prime-number-of-set-bits-in-binary-representation
- prime-palindrome
- print-binary-tree
- prison-cells-after-n-days
- product-of-array-except-self
- profitable-schemes
- projection-area-of-3d-shapes
- push-dominoes
- pyramid-transition-matrix
- quad-tree-intersection
- queue-reconstruction-by-height
- rabbits-in-forest
- race-car
- random-flip-matrix
- random-pick-index
- random-pick-with-blacklist
- random-pick-with-weight
- random-point-in-non-overlapping-rectangles
- range-addition
- range-addition-ii
- range-module
- range-sum-of-bst
- range-sum-query-2d-immutable
- range-sum-query-2d-mutable
- range-sum-query-immutable
- range-sum-query-mutable
- ransom-note
- reach-a-number
- reachable-nodes-in-subdivided-graph
- reaching-points
- read-n-characters-given-read4
- read-n-characters-given-read4-ii-call-multiple-times
- rearrange-string-k-distance-apart
- reconstruct-itinerary
- reconstruct-original-digits-from-english
- recover-binary-search-tree
- rectangle-area
- rectangle-area-ii
- rectangle-overlap
- redundant-connection
- redundant-connection-ii
- regions-cut-by-slashes
- regular-expression-matching
- relative-ranks
- relative-sort-array
- remove-9
- remove-all-adjacent-duplicates-in-string
- remove-boxes
- remove-comments
- remove-duplicate-letters
- remove-duplicates-from-sorted-array
- remove-duplicates-from-sorted-array-ii
- remove-duplicates-from-sorted-list
- remove-duplicates-from-sorted-list-ii
- remove-element
- remove-invalid-parentheses
- remove-k-digits
- remove-linked-list-elements
- remove-nth-node-from-end-of-list
- remove-outermost-parentheses
- reorder-data-in-log-files
- reorder-list
- reordered-power-of-2
- reorganize-string
- repeated-dna-sequences
- repeated-string-match
- repeated-substring-pattern
- replace-words
- reshape-the-matrix
- restore-ip-addresses
- reveal-cards-in-increasing-order
- reverse-bits
- reverse-integer
- reverse-linked-list
- reverse-linked-list-ii
- reverse-nodes-in-k-group
- reverse-only-letters
- reverse-pairs
- reverse-string
- reverse-string-ii
- reverse-vowels-of-a-string
- reverse-words-in-a-string
- reverse-words-in-a-string-ii
- reverse-words-in-a-string-iii
- rle-iterator
- robot-bounded-in-circle
- robot-return-to-origin
- robot-room-cleaner
- roman-to-integer
- rotate-array
- rotate-function
- rotate-image
- rotate-list
- rotate-string
- rotated-digits
- rotting-oranges
- russian-doll-envelopes
- same-tree
- satisfiability-of-equality-equations
- score-after-flipping-matrix
- score-of-parentheses
- scramble-string
- search-a-2d-matrix
- search-a-2d-matrix-ii
- search-in-a-binary-search-tree
- search-in-a-sorted-array-of-unknown-size
- search-in-rotated-sorted-array
- search-in-rotated-sorted-array-ii
- search-insert-position
- second-minimum-node-in-a-binary-tree
- self-crossing
- self-dividing-numbers
- sentence-screen-fitting
- sentence-similarity
- sentence-similarity-ii
- sequence-reconstruction
- serialize-and-deserialize-binary-tree
- serialize-and-deserialize-bst
- serialize-and-deserialize-n-ary-tree
- set-intersection-size-at-least-two
- set-matrix-zeroes
- set-mismatch
- shifting-letters
- shopping-offers
- short-encoding-of-words
- shortest-bridge
- shortest-common-supersequence
- shortest-completing-word
- shortest-distance-from-all-buildings
- shortest-distance-to-a-character
- shortest-palindrome
- shortest-path-in-binary-matrix
- shortest-path-to-get-all-keys
- shortest-path-visiting-all-nodes
- shortest-subarray-with-sum-at-least-k
- shortest-unsorted-continuous-subarray
- shortest-word-distance
- shortest-word-distance-ii
- shortest-word-distance-iii
- shuffle-an-array
- similar-rgb-color
- similar-string-groups
- simplify-path
- single-element-in-a-sorted-array
- single-number
- single-number-ii
- single-number-iii
- sliding-puzzle
- sliding-window-maximum
- sliding-window-median
- smallest-good-base
- smallest-integer-divisible-by-k
- smallest-range-i
- smallest-range-ii
- smallest-rectangle-enclosing-black-pixels
- smallest-rotation-with-highest-score
- smallest-string-starting-from-leaf
- smallest-subsequence-of-distinct-characters
- smallest-subtree-with-all-the-deepest-nodes
- smallest-sufficient-team
- snakes-and-ladders
- solve-the-equation
- sort-an-array
- sort-array-by-parity
- sort-array-by-parity-ii
- sort-characters-by-frequency
- sort-colors
- sort-list
- sort-transformed-array
- soup-servings
- sparse-matrix-multiplication
- special-binary-string
- spiral-matrix
- spiral-matrix-ii
- spiral-matrix-iii
- split-a-string-in-balanced-strings
- split-array-into-consecutive-subsequences
- split-array-into-fibonacci-sequence
- split-array-largest-sum
- split-array-with-equal-sum
- split-array-with-same-average
- split-bst
- split-concatenated-strings
- split-linked-list-in-parts
- sqrtx
- squares-of-a-sorted-array
- squirrel-simulation
- stamping-the-sequence
- statistics-from-a-large-sample
- stickers-to-spell-word
- stone-game
- strange-printer
- stream-of-characters
- string-compression
- string-to-integer-atoi
- string-without-aaa-or-bbb
- strobogrammatic-number
- strobogrammatic-number-ii
- strobogrammatic-number-iii
- strong-password-checker
- student-attendance-record-i
- student-attendance-record-ii
- subarray-product-less-than-k
- subarray-sum-equals-k
- subarray-sums-divisible-by-k
- subarrays-with-k-different-integers
- subdomain-visit-count
- subsets
- subsets-ii
- substring-with-concatenation-of-all-words
- subtree-of-another-tree
- sudoku-solver
- sum-of-distances-in-tree
- sum-of-even-numbers-after-queries
- sum-of-left-leaves
- sum-of-root-to-leaf-binary-numbers
- sum-of-square-numbers
- sum-of-subarray-minimums
- sum-of-subsequence-widths
- sum-of-two-integers
- sum-root-to-leaf-numbers
- summary-ranges
- super-egg-drop
- super-palindromes
- super-pow
- super-ugly-number
- super-washing-machines
- surface-area-of-3d-shapes
- surrounded-regions
- swap-adjacent-in-lr-string
- swap-nodes-in-pairs
- swim-in-rising-water
- symmetric-tree
- tag-validator
- tallest-billboard
- target-sum
- task-scheduler
- teemo-attacking
- ternary-expression-parser
- text-justification
- the-maze
- the-maze-ii
- the-maze-iii
- the-skyline-problem
- third-maximum-number
- three-equal-parts
- time-based-key-value-store
- to-lower-case
- toeplitz-matrix
- top-k-frequent-elements
- top-k-frequent-words
- total-hamming-distance
- transform-to-chessboard
- transpose-matrix
- trapping-rain-water
- trapping-rain-water-ii
- triangle
- trim-a-binary-search-tree
- triples-with-bitwise-and-equal-to-zero
- two-city-scheduling
- two-sum
- two-sum-ii-input-array-is-sorted
- two-sum-iii-data-structure-design
- two-sum-iv-input-is-a-bst
- ugly-number
- ugly-number-ii
- uncommon-words-from-two-sentences
- uncrossed-lines
- unique-binary-search-trees
- unique-binary-search-trees-ii
- unique-email-addresses
- unique-letter-string
- unique-morse-code-words
- unique-paths
- unique-paths-ii
- unique-paths-iii
- unique-substrings-in-wraparound-string
- unique-word-abbreviation
- univalued-binary-tree
- utf-8-validation
- valid-anagram
- valid-boomerang
- valid-mountain-array
- valid-number
- valid-palindrome
- valid-palindrome-ii
- valid-parentheses
- valid-parenthesis-string
- valid-perfect-square
- valid-permutations-for-di-sequence
- valid-square
- valid-sudoku
- valid-tic-tac-toe-state
- valid-triangle-number
- valid-word-abbreviation
- valid-word-square
- validate-binary-search-tree
- validate-ip-address
- validate-stack-sequences
- verify-preorder-sequence-in-binary-search-tree
- verify-preorder-serialization-of-a-binary-tree
- verifying-an-alien-dictionary
- vertical-order-traversal-of-a-binary-tree
- video-stitching
- vowel-spellchecker
- walking-robot-simulation
- walls-and-gates
- water-and-jug-problem
- wiggle-sort
- wiggle-sort-ii
- wiggle-subsequence
- wildcard-matching
- word-abbreviation
- word-break
- word-break-ii
- word-ladder
- word-ladder-ii
- word-pattern
- word-pattern-ii
- word-search
- word-search-ii
- word-squares
- word-subsets
- x-of-a-kind-in-a-deck-of-cards
- zigzag-conversion
- zigzag-iterator
- zuma-game
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
1,974 files changed
+1988
-1974
lines changedOriginal file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
13 | 13 |
| |
14 | 14 |
| |
15 | 15 |
| |
| 16 | + | |
16 | 17 |
| |
17 | 18 |
| |
18 | 19 |
| |
19 | 20 |
| |
20 | 21 |
| |
21 | 22 |
| |
22 | 23 |
| |
| 24 | + | |
23 | 25 |
| |
24 | 26 |
| |
25 | 27 |
| |
|
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
208 | 208 |
| |
209 | 209 |
| |
210 | 210 |
| |
211 |
| - | |
| 211 | + | |
212 | 212 |
| |
213 | 213 |
| |
214 | 214 |
| |
| |||
234 | 234 |
| |
235 | 235 |
| |
236 | 236 |
| |
237 |
| - | |
| 237 | + | |
238 | 238 |
| |
239 | 239 |
| |
240 | 240 |
| |
| |||
255 | 255 |
| |
256 | 256 |
| |
257 | 257 |
| |
| 258 | + | |
| 259 | + | |
| 260 | + | |
| 261 | + | |
| 262 | + | |
| 263 | + | |
| 264 | + | |
| 265 | + | |
| 266 | + | |
| 267 | + | |
| 268 | + | |
| 269 | + | |
258 | 270 |
| |
259 | 271 |
| |
260 | 272 |
| |
|
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
8 | 8 |
| |
9 | 9 |
| |
10 | 10 |
| |
11 |
| - | |
| 11 | + | |
12 | 12 |
| |
13 | 13 |
| |
14 | 14 |
| |
|
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1 |
| - | |
| 1 | + | |
2 | 2 |
| |
3 | 3 |
| |
4 | 4 |
| |
|
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1 |
| - | |
| 1 | + | |
2 | 2 |
| |
3 | 3 |
| |
4 | 4 |
| |
|
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1 |
| - | |
| 1 | + | |
2 | 2 |
| |
3 | 3 |
| |
4 | 4 |
| |
|
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1 |
| - | |
| 1 | + | |
2 | 2 |
| |
3 | 3 |
| |
4 | 4 |
| |
|
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1 |
| - | |
| 1 | + | |
2 | 2 |
| |
3 | 3 |
| |
4 | 4 |
| |
|
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1 |
| - | |
| 1 | + | |
2 | 2 |
| |
3 | 3 |
| |
4 | 4 |
| |
|
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1 |
| - | |
| 1 | + | |
2 | 2 |
| |
3 | 3 |
| |
4 | 4 |
| |
|
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1 |
| - | |
| 1 | + | |
2 | 2 |
| |
3 | 3 |
| |
4 | 4 |
| |
|
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1 |
| - | |
| 1 | + | |
2 | 2 |
| |
3 | 3 |
| |
4 | 4 |
| |
|
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1 |
| - | |
| 1 | + | |
2 | 2 |
| |
3 | 3 |
| |
4 | 4 |
| |
|
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1 |
| - | |
| 1 | + | |
2 | 2 |
| |
3 | 3 |
| |
4 | 4 |
| |
|
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1 |
| - | |
| 1 | + | |
2 | 2 |
| |
3 | 3 |
| |
4 | 4 |
| |
|
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1 |
| - | |
| 1 | + |
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1 |
| - | |
| 1 | + |
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1 |
| - | |
| 1 | + |
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1 |
| - | |
| 1 | + |
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1 |
| - | |
| 1 | + | |
2 | 2 |
| |
3 | 3 |
| |
4 | 4 |
| |
|
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1 |
| - | |
| 1 | + | |
2 | 2 |
| |
3 | 3 |
| |
4 | 4 |
| |
|
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1 |
| - | |
| 1 | + |
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1 |
| - | |
| 1 | + |
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1 |
| - | |
| 1 | + | |
2 | 2 |
| |
3 | 3 |
| |
4 | 4 |
| |
|
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1 |
| - | |
| 1 | + | |
2 | 2 |
| |
3 | 3 |
| |
4 | 4 |
| |
|
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1 |
| - | |
| 1 | + | |
2 | 2 |
| |
3 | 3 |
| |
4 | 4 |
| |
|
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1 |
| - | |
| 1 | + | |
2 | 2 |
| |
3 | 3 |
| |
4 | 4 |
| |
|
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1 |
| - | |
| 1 | + | |
2 | 2 |
| |
3 | 3 |
| |
4 | 4 |
| |
|
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1 |
| - | |
| 1 | + | |
2 | 2 |
| |
3 | 3 |
| |
4 | 4 |
| |
|
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1 |
| - | |
| 1 | + |
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1 |
| - | |
| 1 | + |
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1 |
| - | |
| 1 | + | |
2 | 2 |
| |
3 | 3 |
| |
4 | 4 |
| |
|
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1 |
| - | |
| 1 | + | |
2 | 2 |
| |
3 | 3 |
| |
4 | 4 |
| |
|
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1 |
| - | |
| 1 | + |
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1 |
| - | |
| 1 | + |
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1 |
| - | |
| 1 | + | |
2 | 2 |
| |
3 | 3 |
| |
4 | 4 |
| |
|
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1 |
| - | |
| 1 | + | |
2 | 2 |
| |
3 | 3 |
| |
4 | 4 |
| |
|
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1 |
| - | |
| 1 | + | |
2 | 2 |
| |
3 | 3 |
| |
4 | 4 |
| |
|
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1 |
| - | |
| 1 | + | |
2 | 2 |
| |
3 | 3 |
| |
4 | 4 |
| |
|
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1 |
| - | |
| 1 | + | |
2 | 2 |
| |
3 | 3 |
| |
4 | 4 |
| |
|
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1 |
| - | |
| 1 | + | |
2 | 2 |
| |
3 | 3 |
| |
4 | 4 |
| |
|
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1 |
| - | |
| 1 | + | |
2 | 2 |
| |
3 | 3 |
| |
4 | 4 |
| |
|
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1 |
| - | |
| 1 | + | |
2 | 2 |
| |
3 | 3 |
| |
4 | 4 |
| |
|
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1 |
| - | |
| 1 | + | |
2 | 2 |
| |
3 | 3 |
| |
4 | 4 |
| |
|
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1 |
| - | |
| 1 | + | |
2 | 2 |
| |
3 | 3 |
| |
4 | 4 |
| |
|
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1 |
| - | |
| 1 | + | |
2 | 2 |
| |
3 | 3 |
| |
4 | 4 |
| |
|
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1 |
| - | |
| 1 | + | |
2 | 2 |
| |
3 | 3 |
| |
4 | 4 |
| |
|
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1 |
| - | |
| 1 | + | |
2 | 2 |
| |
3 | 3 |
| |
4 | 4 |
| |
|
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1 |
| - | |
| 1 | + |
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1 |
| - | |
| 1 | + |
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1 |
| - | |
| 1 | + |
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1 |
| - | |
| 1 | + |
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1 |
| - | |
| 1 | + |
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1 |
| - | |
| 1 | + |
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1 |
| - | |
| 1 | + |
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1 |
| - | |
| 1 | + |
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1 |
| - | |
| 1 | + |
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1 |
| - | |
| 1 | + |
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1 |
| - | |
| 1 | + |
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1 |
| - | |
| 1 | + |
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1 |
| - | |
| 1 | + |
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1 |
| - | |
| 1 | + |
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1 |
| - | |
| 1 | + | |
2 | 2 |
| |
3 | 3 |
| |
4 | 4 |
| |
|
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1 |
| - | |
| 1 | + |
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1 |
| - | |
| 1 | + |
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1 |
| - | |
| 1 | + |
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1 |
| - | |
| 1 | + |
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1 |
| - | |
| 1 | + |
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1 |
| - | |
| 1 | + |
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1 |
| - | |
| 1 | + | |
2 | 2 |
| |
3 | 3 |
| |
4 | 4 |
| |
|
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1 |
| - | |
| 1 | + | |
2 | 2 |
| |
3 | 3 |
| |
4 | 4 |
| |
|
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1 |
| - | |
| 1 | + | |
2 | 2 |
| |
3 | 3 |
| |
4 | 4 |
| |
|
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1 |
| - | |
| 1 | + | |
2 | 2 |
| |
3 | 3 |
| |
4 | 4 |
| |
|
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1 |
| - | |
| 1 | + | |
2 | 2 |
| |
3 | 3 |
| |
4 | 4 |
| |
|
0 commit comments