- README
- leetcode
- array
- 001-two-sum
- 004-median-of-two-sorted-arrays
- 011-container-with-most-water
- 015-3sum
- 016-3sum-closest
- 018-4sum
- 026-remove-duplicates-from-sorted-array
- 027-remove-element
- 031-next-permutation
- 033-search-in-rotated-sorted-array
- 034-search-for-a-range
- 035-search-insert-position
- 039-combination-sum
- 040-combination-sum-ii
- 041-first-missing-positive
- 042-trapping-rain-water
- 045-jump-game-ii
- 048-rotate-image
- 053-maximum-subarray
- 054-spiral-matrix
- 055-jump-game
- 056-merge-intervals
- 057-insert-interval
- 059-spiral-matrix-ii
- 062-unique-paths
- 063-unique-paths-ii
- 064-minimum-path-sum
- 066-plus-one
- 073-set-matrix-zeroes
- 074-search-a-2d-matrix
- 075-sort-colors
- 078-remove-duplicates-from-sorted-array-ii
- 078-subsets
- 079-word-search
- 080-remove-duplicates-from-sorted-array-ii
- 081-search-in-rotated-sorted-array-ii
- 084-largest-rectangle-in-histogram
- 085-maximal-rectangle
- 088-merge-sorted-array
- 090-subsets-ii
- 105-construct-binary-tree-from-preorder-and-inorder-traversal
- 106-construct-binary-tree-from-inorder-and-postorder-traversal
- 118-pascals-triangle
- 119-pascals-triangle-ii
- 120-triangle
- 121-best-time-to-buy-and-sell-stock
- 122-best-time-to-buy-and-sell-stock-ii
- 123-best-time-to-buy-and-sell-stock-iii
- 126-word-ladder-ii
- 128-longest-consecutive-sequence
- 152-maximum-product-subarray
- divide-and-conquer
- hash-table
- 003-longest-substring-without-repeating-characters
- 030-substring-with-concatenation-of-all-words
- 036-valid-sudoku
- 037-sudoku-solver
- 049-group-anagrams
- 076-minimum-window-substring
- 094-binary-tree-inorder-traversal
- 136-single-number
- 138-copy-list-with-random-pointer
- 149-max-points-on-a-line
- 159-longest-substring-with-at-most-two-distinct-characters
- 166-fraction-to-recurring-decimal
- 170-two-sum-iii-data-structure-design
- 187-repeated-dna-sequences
- 202-happy-number
- 204-count-primes
- 205-isomorphic-strings
- 217-contains-duplicate
- 219-contains-duplicate-ii
- 242-valid-anagram
- 244-shortest-word-distance-ii
- 246-strobogrammatic-number
- 249-group-shifted-strings
- 266-palindrome-permutation
- 274-h-index
- 288-unique-word-abbreviation
- 290-word-pattern
- 299-bulls-and-cows
- 311-sparse-matrix-multiplication
- 314-binary-tree-vertical-order-traversal
- 325-maximum-size-subarray-sum-equals-k
- 336-palindrome-pairs
- 340-longest-substring-with-at-most-k-distinct-characters
- 347-top-k-frequent-elements
- 356-line-reflection
- 358-rearrange-string-k-distance-apart
- 359-logger-rate-limiter
- 380-insert-delete-getrandom-o1
- 381-insert-delete-getrandom-o1-duplicates-allowed
- 387-first-unique-character-in-a-string
- 389-find-the-difference
- 409-longest-palindrome
- 438-find-all-anagrams-in-a-string
- 447-number-of-boomerangs
- linked-list
- 002-add-two-numbers
- 019-remove-nth-node-from-end-of-list
- 021-merge-two-sorted-lists
- 023-merge-k-sorted-lists
- 024-swap-nodes-in-pairs
- 025-reverse-nodes-in-k-group
- 061-rotate-list
- 082-remove-duplicates-from-sorted-list-ii
- 083-remove-duplicates-from-sorted-list
- 086-partition-list
- 092-reverse-linked-list-ii
- 109-convert-sorted-list-to-binary-search-tree
- 141-linked-list-cycle
- 142-linked-list-cycle-ii
- 143-reorder-list
- 147-insertion-sort-list
- 148-sort-list
- 160-intersection-of-two-linked-lists
- 203-remove-linked-list-elements
- 206-reverse-linked-list
- 234-palindrome-linked-list
- 237-delete-node-in-a-linked-list
- 328-odd-even-linked-list
- 369-plus-one-linked-list
- 379-design-phone-directory
- 445-add-two-numbers-ii
- 725-split-linked-list-in-parts
- math
- 065-valid-number
- 296-best-meeting-point
- 313-super-ugly-number
- 396-rotate-function
- 007-reverse-integer
- 008-string-to-integer-atoi
- 009-palindrome-number
- 012-integer-to-roman
- 013-roman-to-integer
- 014-longest-common-prefix
- 029-divide-two-integers
- 043-multiply-strings
- 050-powx-n
- 060-permutation-sequence
- 067-add-binary
- 069-sqrtx
- 168-excel-sheet-column-title
- 171-excel-sheet-column-number
- 223-rectangle-area
- 224-basic-calculator
- 247-strobogrammatic-number-ii
- 248-strobogrammatic-number-iii
- 258-add-digits
- 263-ugly-number
- 264-ugly-number-ii
- 268-missing-number
- 273-integer-to-english-words
- 279-perfect-squares
- 319-bulb-switcher
- 326-power-of-three
- 335-self-crossing
- 343-integer-break
- 357-count-numbers-with-unique-digits
- 360-sort-transformed-array
- 365-water-and-jug-problem
- 367-valid-perfect-square
- 368-largest-divisible-subset
- 372-super-pow
- 397-integer-replacement
- 400-nth-digit
- two-pointers
- 028-implement-strstr
- 125-valid-palindrome
- 167-two-sum-ii-input-array-is-sorted
- 209-minimum-size-subarray-sum
- 259-3sum-smaller
- 283-move-zeroes
- 287-find-the-duplicate-number
- 344-reverse-string
- 345-reverse-vowels-of-a-string
- 349-intersection-of-two-arrays
- 350-intersection-of-two-arrays-ii
- 487-max-consecutive-ones-ii
- 524-longest-word-in-dictionary-through-deleting
- 532-k-diff-pairs-in-an-array
- 567-permutation-in-string
- 632-smallest-range
- 713-subarray-product-less-than-k
- 723-candy-crush
- 763-partition-labels
- string
- 005-longest-palindromic-substring
- 006-zigzag-conversion
- 010-regular-expression-matching
- 014-longest-common-prefix
- 017-letter-combinations-of-a-phone-number
- 020-valid-parentheses
- 022-generate-parentheses
- 032-longest-valid-parentheses
- 038-count-and-say
- 043-wildcard-matching
- 044-wildcard-matching
- 058-length-of-last-word
- 068-text-justification
- 071-simplify-path
- 072-edit-distance
- 087-scramble-string
- 091-decode-ways
- 093-restore-ip-addresses
- 097-interleaving-string
- 115-distinct-subsequences
- 151-reverse-words-in-a-string
- 157-read-n-characters-given-read4
- 158-read-n-characters-given-read4-ii-call-multiple-times
- 161-one-edit-distance
- 165-compare-version-numbers
- 186-reverse-words-in-a-string-ii
- 214-shortest-palindrome
- 227-basic-calculator-ii
- 271-encode-and-decode-strings
- 293-flip-game
- 344-reverse-string
- 345-reverse-vowels-of-a-string
- 383-ransom-note
- binary-search
- 153-find-minimum-in-rotated-sorted-array
- 154-find-minimum-in-rotated-sorted-array-ii
- 162-find-peak-element
- 222-count-complete-tree-nodes
- 230-kth-smallest-element-in-a-bst
- 240-search-a-2d-matrix-ii
- 270-closest-binary-search-tree-value
- 275-h-index-ii
- 278-first-bad-version
- 300-longest-increasing-subsequence
- 302-smallest-rectangle-enclosing-black-pixels
- 349-intersection-of-two-arrays
- 350-intersection-of-two-arrays-ii
- 354-russian-doll-envelopes
- 363-max-sum-of-rectangle-no-larger-than-k
- 374-guess-number-higher-or-lower
- 378-kth-smallest-element-in-a-sorted-matrix
- 392-is-subsequence
- 410-split-array-largest-sum
- 436-find-right-interval
- 441-arranging-coins
- 454-4sum-ii
- 475-heaters
- 483-smallest-good-base
- 497-random-point-in-non-overlapping-rectangles
- 528-random-pick-with-weight
- 644-maximum-average-subarray-ii
- 658-find-k-closest-elements
- 668-kth-smallest-number-in-multiplication-table
- 702-search-in-a-sorted-array-of-unknown-size
- 704-binary-search
- 710-random-pick-with-blacklist
- 718-maximum-length-of-repeated-subarray
- 719-find-k-th-smallest-pair-distance
- 744-find-smallest-letter-greater-than-target
- 774-minimize-max-distance-to-gas-station
- 778-swim-in-rising-water
- 786-k-th-smallest-prime-fraction
- 793-preimage-size-of-factorial-zeroes-function
- 852-peak-index-in-a-mountain-array
- 862-shortest-subarray-with-sum-at-least-k
- 875-koko-eating-bananas
- 878-nth-magical-number
- 887-super-egg-drop
- dynamic-programing
- bit-manipulation
- array
- other
- template