目录

A collection of LeetCode questions to ace the coding interview! - Created using LeetHub v2

LeetCode Topics

Math

0002-add-two-numbers
0012-integer-to-roman
0048-rotate-image
0066-plus-one
0067-add-binary
0069-sqrtx
0166-fraction-to-recurring-decimal
0172-factorial-trailing-zeroes
0231-power-of-two
0282-expression-add-operators
0292-nim-game
0326-power-of-three
0342-power-of-four
0368-largest-divisible-subset
0380-insert-delete-getrandom-o1
0445-add-two-numbers-ii
0486-predict-the-winner
0523-continuous-subarray-sum
0628-maximum-product-of-three-numbers
0633-sum-of-square-numbers
0650-2-keys-keyboard
0679-24-game
0762-prime-number-of-set-bits-in-binary-representation
0797-rabbits-in-forest
0826-soup-servings
0830-largest-triangle-area
0840-magic-squares-in-grid
0867-new-21-game
0900-reordered-power-of-2
1015-smallest-integer-divisible-by-k
1018-largest-perimeter-triangle
1033-broken-calculator
1266-minimum-time-visiting-all-points
1303-minimum-moves-to-reach-target-score
1390-four-divisors
1411-convert-binary-number-in-a-linked-list-to-integer
1421-find-numbers-with-even-number-of-digits
1426-find-n-unique-integers-sum-up-to-zero
1440-convert-integer-to-the-sum-of-two-no-zero-integers
1448-maximum-69-number
1477-product-of-the-last-k-numbers
1500-count-largest-group
1523-count-odd-numbers-in-an-interval-range
1529-max-difference-you-can-get-from-changing-an-integer
1622-fancy-sequence
1631-number-of-sub-arrays-with-odd-sum
1636-number-of-substrings-with-only-1s
1642-water-bottles
1680-concatenation-of-consecutive-binary-numbers
1683-maximum-number-of-coins-you-can-get
1787-sum-of-absolute-differences-in-a-sorted-array
1817-calculate-money-in-leetcode-bank
1878-get-biggest-three-rhombus-sums-in-a-grid
1889-check-if-number-is-a-sum-of-powers-of-three
1925-count-square-sum-triples
1951-find-the-winner-of-the-circular-game
1993-sum-of-all-subset-xor-totals
2050-count-good-numbers
2110-number-of-smooth-descent-periods-of-a-stock
2147-number-of-ways-to-divide-a-long-corridor
2160-minimum-operations-to-make-a-uni-value-grid
2174-next-greater-numerically-balanced-number
2202-sum-of-k-mirror-numbers
2244-number-of-laser-beams-in-a-bank
2278-find-three-consecutive-integers-that-sum-to-a-given-number
2288-count-operations-to-obtain-zero
2307-replace-non-coprime-numbers-in-array
2324-find-triangular-sum-of-an-array
2415-count-the-number-of-ideal-arrays
2432-number-of-zero-filled-subarrays
2448-count-number-of-bad-pairs
2610-closest-prime-numbers-in-range
2621-find-xor-beauty-of-array
2645-pass-the-pillow
2649-count-total-number-of-colored-cells
2661-smallest-missing-non-negative-integer-after-operations
2704-maximum-difference-by-remapping-a-digit
2753-minimum-number-of-operations-to-make-all-array-elements-equal-to-1
2802-find-the-punishment-number-of-an-integer
2812-find-the-maximum-achievable-number
2998-count-symmetric-integers
3001-apply-operations-to-maximize-score
3047-find-the-largest-area-of-square-inside-two-rectangles
3055-maximum-odd-binary-number
3172-divisible-and-non-divisible-sums-difference
3190-find-minimum-operations-to-make-all-elements-divisible-by-three
3201-distribute-candies-among-children-ii
3227-find-missing-and-repeated-values
3243-count-the-number-of-powerful-integers
3277-find-the-number-of-ways-to-place-people-ii
3278-find-the-number-of-ways-to-place-people-i
3279-alice-and-bob-playing-flower-game
3296-minimum-number-of-seconds-to-make-mountain-height-zero
3321-type-of-triangle
3336-water-bottles-ii
3432-count-partitions-with-even-sum-difference
3433-count-mentions-per-user
3462-vowels-game-in-a-string
3512-minimum-operations-to-make-array-sum-divisible-by-k
3548-find-the-count-of-good-integers
3577-count-the-number-of-computer-unlocking-permutations
3581-the-two-sneaky-numbers-of-digitville
3600-find-the-k-th-character-in-string-game-i
3601-find-the-k-th-character-in-string-game-ii
3623-count-number-of-trapezoids-i
3629-total-characters-in-string-after-transformations-i
3630-total-characters-in-string-after-transformations-ii
3637-count-number-of-balanced-permutations
3666-minimum-operations-to-equalize-binary-string
3676-smallest-number-with-all-set-bits
3682-count-the-number-of-arrays-with-k-matching-adjacent-elements
3744-minimum-operations-to-make-array-elements-zero
3754-maximum-manhattan-distance-after-k-changes
3768-check-if-digits-are-equal-in-string-after-operations-i
3774-check-if-digits-are-equal-in-string-after-operations-ii
3830-find-closest-person
3851-find-sum-of-array-product-of-magical-sequences

Simulation

0054-spiral-matrix
0059-spiral-matrix-ii
0067-add-binary
0498-diagonal-traverse
0861-flipping-an-image
0874-backspace-string-compare
0987-reveal-cards-in-increasing-order
1027-sum-of-even-numbers-after-queries
1404-number-of-steps-to-reduce-a-number-in-binary-representation-to-one
1545-find-kth-bit-in-nth-binary-string
1642-water-bottles
1667-find-kth-bit-in-nth-binary-string
1680-concatenation-of-consecutive-binary-numbers
1951-find-the-winner-of-the-circular-game
2021-remove-all-occurrences-of-a-substring
2048-build-array-from-permutation
2137-final-value-of-variable-after-performing-operations
2169-simple-bank-system
2211-count-collisions-on-a-road
2260-divide-a-string-into-groups-of-size-k
2265-partition-array-according-to-given-pivot
2274-keep-multiplying-found-values-by-two
2278-find-three-consecutive-integers-that-sum-to-a-given-number
2288-count-operations-to-obtain-zero
2324-find-triangular-sum-of-an-array
2343-count-unguarded-cells-in-the-grid
2402-meeting-rooms-iii
2408-number-of-people-aware-of-a-secret
2470-removing-stars-from-a-string
2479-meeting-rooms-iii
2551-apply-operations-to-an-array
2645-pass-the-pillow
3332-minimum-operations-to-exceed-threshold-value-ii
3336-water-bottles-ii
3379-transformed-array
3433-count-mentions-per-user
3434-find-the-number-of-distinct-colors-among-the-balls
3447-clear-digits
3507-minimum-pair-removal-to-sort-array-i
3510-minimum-pair-removal-to-sort-array-ii
3600-find-the-k-th-character-in-string-game-i
3616-make-array-elements-equal-to-zero
3651-transformed-array
3768-check-if-digits-are-equal-in-string-after-operations-i
3790-fruits-into-baskets-ii
3794-find-the-minimum-amount-of-time-to-brew-potions

Array

0001-two-sum
0011-container-with-most-water
0015-3sum
0016-3sum-closest
0034-find-first-and-last-position-of-element-in-sorted-array
0036-valid-sudoku
0037-sudoku-solver
0046-permutations
0047-permutations-ii
0048-rotate-image
0049-group-anagrams
0051-n-queens
0053-maximum-subarray
0054-spiral-matrix
0055-jump-game
0059-spiral-matrix-ii
0066-plus-one
0073-set-matrix-zeroes
0075-sort-colors
0079-word-search
0108-convert-sorted-array-to-binary-search-tree
0118-pascals-triangle
0119-pascals-triangle-ii
0120-triangle
0128-longest-consecutive-sequence
0134-gas-station
0135-candy
0136-single-number
0153-find-minimum-in-rotated-sorted-array
0169-majority-element
0179-largest-number
0200-number-of-islands
0229-majority-element-ii
0238-product-of-array-except-self
0274-h-index
0283-move-zeroes
0287-find-the-duplicate-number
0303-range-sum-query-immutable
0304-range-sum-query-2d-immutable
0347-top-k-frequent-elements
0368-largest-divisible-subset
0380-insert-delete-getrandom-o1
0399-evaluate-division
0407-trapping-rain-water-ii
0410-split-array-largest-sum
0416-partition-equal-subset-sum
0417-pacific-atlantic-water-flow
0442-find-all-duplicates-in-an-array
0448-find-all-numbers-disappeared-in-an-array
0452-minimum-number-of-arrows-to-burst-balloons
0456-132-pattern
0463-island-perimeter
0474-ones-and-zeroes
0475-heaters
0486-predict-the-winner
0498-diagonal-traverse
0500-keyboard-row
0523-continuous-subarray-sum
0525-contiguous-array
0529-minesweeper
0542-01-matrix
0560-subarray-sum-equals-k
0594-longest-harmonious-subsequence
0599-minimum-index-sum-of-two-lists
0605-can-place-flowers
0609-find-duplicate-file-in-system
0611-valid-triangle-number
0628-maximum-product-of-three-numbers
0643-maximum-average-subarray-i
0645-set-mismatch
0661-image-smoother
0679-24-game
0690-employee-importance
0695-max-area-of-island
0717-1-bit-and-2-bit-characters
0721-accounts-merge
0722-remove-comments
0724-find-pivot-index
0733-flood-fill
0739-daily-temperatures
0744-find-smallest-letter-greater-than-target
0757-set-intersection-size-at-least-two
0759-set-intersection-size-at-least-two
0794-swim-in-rising-water
0797-rabbits-in-forest
0829-subdomain-visit-count
0830-largest-triangle-area
0840-magic-squares-in-grid
0859-design-circular-deque
0861-flipping-an-image
0881-loud-and-rich
0890-lemonade-change
0905-length-of-longest-fibonacci-subsequence
0907-koko-eating-bananas
0917-boats-to-save-people
0925-construct-binary-tree-from-preorder-and-postorder-traversal
0934-bitwise-ors-of-subarrays
0940-fruit-into-baskets
0943-sum-of-subarray-minimums
0944-delete-columns-to-make-sorted
0945-snakes-and-ladders
0948-sort-an-array
0955-delete-columns-to-make-sorted-ii
0960-minimize-malware-spread
0960-delete-columns-to-make-sorted-iii
0961-n-repeated-element-in-size-2n-array
0966-binary-subarrays-with-sum
0979-di-string-match
0987-reveal-cards-in-increasing-order
0999-regions-cut-by-slashes
1006-vowel-spellchecker
1016-subarray-sums-divisible-by-k
1018-largest-perimeter-triangle
1018-binary-prefix-divisible-by-5
1020-longest-turbulent-subarray
1027-sum-of-even-numbers-after-queries
1032-satisfiability-of-equality-equations
1036-rotting-oranges
1039-find-the-town-judge
1049-minimum-domino-rotations-for-equal-row
1056-capacity-to-ship-packages-within-d-days
1095-two-city-scheduling
1111-minimum-score-triangulation-of-polygon
1112-find-words-that-can-be-formed-by-characters
1145-number-of-submatrices-that-sum-to-target
1168-duplicate-zeros
1200-minimum-absolute-difference
1227-number-of-equivalent-domino-pairs
1262-greatest-sum-divisible-by-three
1266-minimum-time-visiting-all-points
1292-maximum-side-length-of-a-square-with-sum-less-than-or-equal-to-threshold
1293-three-consecutive-odds
1325-path-with-maximum-probability
1335-maximum-candies-allocated-to-k-children
1350-remove-sub-folders-from-the-filesystem
1351-count-negative-numbers-in-a-sorted-matrix
1353-find-resultant-array-after-removing-anagrams
1354-find-players-with-zero-or-one-losses
1356-sort-integers-by-the-number-of-1-bits
1364-tuple-with-same-product
1381-maximum-score-words-formed-by-letters
1390-four-divisors
1402-count-square-submatrices-with-all-ones
1421-find-numbers-with-even-number-of-digits
1424-maximum-candies-you-can-get-from-boxes
1426-find-n-unique-integers-sum-up-to-zero
1435-xor-queries-of-a-subarray
1458-max-dot-product-of-two-subsequences
1477-product-of-the-last-k-numbers
1478-maximum-number-of-events-that-can-be-attended
1482-how-many-numbers-are-smaller-than-the-current-number
1507-check-if-there-is-a-valid-path-in-a-grid
1510-find-lucky-integer-in-an-array
1536-minimum-swaps-to-arrange-a-binary-grid
1538-maximum-points-you-can-obtain-from-cards
1548-check-if-all-1s-are-at-least-length-k-places-away
1549-longest-continuous-subarray-with-absolute-diff-less-than-or-equal-to-limit
1570-final-prices-with-a-special-discount-in-a-shop
1582-design-browser-history
1582-special-positions-in-a-binary-matrix
1586-longest-subarray-of-1s-after-deleting-one-element
1590-make-sum-divisible-by-p
1603-running-sum-of-1d-array
1612-avoid-flood-in-the-city
1621-number-of-subsequences-that-satisfy-the-given-sum-condition
1628-count-submatrices-with-all-ones
1631-number-of-sub-arrays-with-odd-sum
1633-minimum-number-of-increments-on-subarrays-to-form-a-target-array
1651-shuffle-string
1656-count-good-triplets
1675-magnetic-force-between-two-balls
1683-maximum-number-of-coins-you-can-get
1695-maximum-sum-obtained-of-any-permutation
1696-strange-printer-ii
1700-minimum-time-to-make-rope-colorful
1706-min-cost-to-connect-all-points
1720-crawler-log-folder
1762-furthest-building-you-can-reach
1772-create-sorted-array-through-instructions
1783-ways-to-make-a-fair-array
1787-sum-of-absolute-differences-in-a-sorted-array
1791-richest-customer-wealth
1813-maximum-erasure-value
1819-construct-the-lexicographically-largest-valid-sequence
1834-minimum-number-of-people-to-teach
1849-maximum-absolute-sum-of-any-subarray
1851-maximum-number-of-events-that-can-be-attended-ii
1876-map-of-highest-peak
1877-minimize-maximum-pair-sum-in-array
1878-get-biggest-three-rhombus-sums-in-a-grid
1886-determine-whether-matrix-can-be-obtained-by-rotation
1895-largest-magic-square
1917-maximum-average-pass-ratio
1927-maximum-ascending-subarray-sum
1951-find-the-winner-of-the-circular-game
1961-maximum-ice-cream-bars
1970-last-day-where-you-can-still-cross
1975-maximum-matrix-sum
1980-find-unique-binary-string
1984-minimum-difference-between-highest-and-lowest-of-k-scores
1993-sum-of-all-subset-xor-totals
1995-finding-pairs-with-a-certain-sum
2005-check-if-all-the-integers-in-a-range-are-covered
2015-determine-whether-matrix-can-be-obtained-by-rotation
2023-design-movie-rental-system
2048-build-array-from-permutation
2054-two-best-non-overlapping-events
2079-delete-duplicate-folders-in-system
2102-find-the-middle-index-in-array
2107-find-unique-binary-string
2110-number-of-smooth-descent-periods-of-a-stock
2137-final-value-of-variable-after-performing-operations
2141-maximum-running-time-of-n-computers
2144-maximum-difference-between-increasing-elements
2145-grid-game
2148-minimum-number-of-moves-to-seat-everyone
2150-kth-smallest-product-of-two-sorted-arrays
2160-minimum-operations-to-make-a-uni-value-grid
2169-simple-bank-system
2170-count-number-of-maximum-bitwise-or-subsets
2180-maximum-number-of-tasks-you-can-assign
2204-find-subsequence-of-length-k-with-the-largest-sum
2210-find-target-indices-after-sorting-array
2215-finding-3-digit-even-numbers
2220-find-all-possible-recipes-from-given-supplies
2229-maximum-fruits-harvested-after-at-most-k-steps
2237-longest-palindrome-by-concatenating-two-letter-words
2244-number-of-laser-beams-in-a-bank
2249-count-the-hidden-sequences
2262-solving-questions-with-brainpower
2265-partition-array-according-to-given-pivot
2267-minimum-difference-in-sums-after-removal-of-elements
2274-keep-multiplying-found-values-by-two
2277-count-equal-and-divisible-pairs-in-an-array
2280-count-good-triplets-in-an-array
2307-replace-non-coprime-numbers-in-array
2308-divide-array-into-equal-pairs
2316-count-hills-and-valleys-in-an-array
2320-find-all-k-distant-indices-in-an-array
2324-find-triangular-sum-of-an-array
2343-count-unguarded-cells-in-the-grid
2387-partition-array-such-that-maximum-difference-is-k
2392-successful-pairs-of-spells-and-potions
2394-count-subarrays-with-score-less-than-k
2400-minimum-score-after-removals-on-a-tree
2402-meeting-rooms-iii
2421-maximum-number-of-pairs-in-array
2429-design-a-food-rating-system
2432-number-of-zero-filled-subarrays
2435-paths-in-matrix-whose-sum-is-divisible-by-k
2448-count-number-of-bad-pairs
2465-shifting-letters-ii
2473-max-sum-of-a-pair-with-equal-sum-of-digits
2478-longest-nice-subarray
2479-meeting-rooms-iii
2497-maximum-matching-of-players-with-trainers
2498-smallest-subarrays-with-maximum-bitwise-or
2502-sort-the-people
2503-longest-subarray-with-maximum-bitwise-and
2513-number-of-pairs-satisfying-inequality
2527-count-subarrays-with-fixed-bounds
2529-range-product-queries-of-powers
2533-bitwise-xor-of-all-pairings
2551-apply-operations-to-an-array
2564-most-profitable-path-in-a-tree
2581-divide-players-into-teams-of-equal-skill
2588-maximum-number-of-points-from-grid-queries
2614-maximum-count-of-positive-integer-and-negative-integer
2618-maximize-the-minimum-powered-city
2621-find-xor-beauty-of-array
2625-increment-submatrices-by-one
2626-count-the-number-of-good-subarrays
2631-sort-the-students-by-their-kth-score
2661-smallest-missing-non-negative-integer-after-operations
2665-minimum-time-to-repair-cars
2669-find-the-substring-with-maximum-cost
2681-put-marbles-in-bags
2685-first-completely-painted-row-or-column
2689-rearranging-fruits
2690-house-robber-iv
2699-count-the-number-of-fair-pairs
2707-merge-two-2d-arrays-by-summing-values
2720-minimize-the-maximum-difference-of-pairs
2737-row-with-maximum-ones
2753-minimum-number-of-operations-to-make-all-array-elements-equal-to-1
2856-count-complete-subarrays-in-an-array
2888-minimum-index-of-a-valid-split
2915-count-of-interesting-subarrays
2943-maximize-area-of-square-hole-in-grid
2975-maximum-square-area-by-removing-fences-from-a-field
2976-minimum-cost-to-convert-string-i
2977-minimum-cost-to-convert-string-ii
3001-apply-operations-to-maximize-score
3010-divide-an-array-into-subarrays-with-minimum-cost-i
3047-find-the-largest-area-of-square-inside-two-rectangles
3070-count-submatrices-with-top-left-element-and-sum-less-than-k
3074-apple-redistribution-into-boxes
3075-maximize-happiness-of-selected-children
3142-longest-unequal-adjacent-groups-subsequence-ii
3143-longest-unequal-adjacent-groups-subsequence-i
3152-maximum-value-of-an-ordered-triplet-ii
3154-maximum-value-of-an-ordered-triplet-i
3171-minimum-equal-sum-of-two-arrays-after-replacing-zeros
3190-find-minimum-operations-to-make-all-elements-divisible-by-three
3194-find-words-containing-character
3212-count-submatrices-with-equal-frequency-of-x-and-y
3213-count-subarrays-where-max-element-appears-at-least-k-times
3227-find-missing-and-repeated-values
3241-divide-array-into-arrays-with-max-difference
3242-count-elements-with-maximum-frequency
3251-maximum-area-of-longest-diagonal-rectangle
3277-find-the-number-of-ways-to-place-people-ii
3278-find-the-number-of-ways-to-place-people-i
3296-minimum-number-of-seconds-to-make-mountain-height-zero
3307-find-the-maximum-sum-of-node-values
3314-construct-the-minimum-bitwise-array-i
3315-construct-the-minimum-bitwise-array-ii
3321-type-of-triangle
3332-minimum-operations-to-exceed-threshold-value-ii
3348-minimum-cost-walk-in-weighted-graph
3351-maximize-happiness-of-selected-children
3372-longest-strictly-increasing-or-strictly-decreasing-subarray
3379-transformed-array
3381-maximum-subarray-sum-with-length-divisible-by-k
3383-taking-maximum-energy-from-the-mystic-dungeon
3430-count-days-without-meetings
3432-count-partitions-with-even-sum-difference
3433-count-mentions-per-user
3434-find-the-number-of-distinct-colors-among-the-balls
3437-maximum-total-damage-with-spell-casting
3453-separate-squares-i
3454-separate-squares-ii
3459-find-the-minimum-area-to-cover-all-ones-ii
3461-find-the-minimum-area-to-cover-all-ones-i
3475-minimum-operations-to-make-binary-array-elements-equal-to-one-i
3483-alternating-groups-ii
3490-find-the-maximum-length-of-valid-subsequence-i
3491-find-the-maximum-length-of-valid-subsequence-ii
3501-delete-nodes-from-linked-list-present-in-array
3507-minimum-pair-removal-to-sort-array-i
3510-minimum-pair-removal-to-sort-array-ii
3512-minimum-operations-to-make-array-sum-divisible-by-k
3523-find-the-power-of-k-size-subarrays-ii
3531-count-covered-buildings
3562-maximum-profit-from-trading-stocks-with-discounts
3573-best-time-to-buy-and-sell-stock-v
3577-count-the-number-of-computer-unlocking-permutations
3578-count-partitions-with-max-min-difference-at-most-k
3581-the-two-sneaky-numbers-of-digitville
3583-count-special-triplets
3592-find-x-sum-of-all-k-long-subarrays-ii
3606-coupon-code-validator
3610-find-x-sum-of-all-k-long-subarrays-i
3612-adjacent-increasing-subarrays-detection-i
3616-make-array-elements-equal-to-zero
3619-adjacent-increasing-subarrays-detection-ii
3620-maximum-number-of-distinct-elements-after-operations
3621-minimum-operations-to-make-array-values-equal-to-k
3622-maximum-frequency-of-an-element-after-performing-operations-i
3623-count-number-of-trapezoids-i
3627-find-minimum-time-to-reach-last-room-i
3628-find-minimum-time-to-reach-last-room-ii
3634-minimum-removals-to-balance-array
3637-trionic-array-i
3639-zero-array-transformation-i
3640-maximum-frequency-of-an-element-after-performing-operations-ii
3640-trionic-array-ii
3643-zero-array-transformation-ii
3643-flip-square-submatrix-vertically
3647-zero-array-transformation-iii
3648-find-the-maximum-number-of-fruits-collected
3651-transformed-array
3651-minimum-cost-path-with-teleportations
3652-best-time-to-buy-and-sell-stock-using-strategy
3656-minimum-number-of-operations-to-make-elements-in-array-distinct
3657-check-if-grid-can-be-cut-into-sections
3685-count-subarrays-of-length-three-with-a-condition
3733-length-of-longest-v-shaped-diagonal-segment
3741-reschedule-meetings-for-maximum-free-time-ii
3743-reschedule-meetings-for-maximum-free-time-i
3744-minimum-operations-to-make-array-elements-zero
3747-maximum-difference-between-adjacent-elements-in-a-circular-array
3748-sort-matrix-by-diagonals
3764-maximum-sum-with-at-most-k-elements
3788-maximum-unique-subarray-sum-after-deletion
3789-maximize-subarrays-after-removing-one-conflicting-pair
3790-fruits-into-baskets-ii
3791-fruits-into-baskets-iii
3794-find-the-minimum-amount-of-time-to-brew-potions
3797-design-spreadsheet
3827-implement-router
3834-minimum-operations-to-convert-all-elements-to-zero
3851-find-sum-of-array-product-of-magical-sequences
3863-power-grid-maintenance

Hash Table

0001-two-sum
0003-longest-substring-without-repeating-characters
0012-integer-to-roman
0036-valid-sudoku
0037-sudoku-solver
0049-group-anagrams
0073-set-matrix-zeroes
0076-minimum-window-substring
0128-longest-consecutive-sequence
0141-linked-list-cycle
0142-linked-list-cycle-ii
0146-lru-cache
0166-fraction-to-recurring-decimal
0169-majority-element
0229-majority-element-ii
0242-valid-anagram
0347-top-k-frequent-elements
0380-insert-delete-getrandom-o1
0387-first-unique-character-in-a-string
0438-find-all-anagrams-in-a-string
0442-find-all-duplicates-in-an-array
0448-find-all-numbers-disappeared-in-an-array
0451-sort-characters-by-frequency
0500-keyboard-row
0523-continuous-subarray-sum
0525-contiguous-array
0560-subarray-sum-equals-k
0567-permutation-in-string
0594-longest-harmonious-subsequence
0599-minimum-index-sum-of-two-lists
0609-find-duplicate-file-in-system
0645-set-mismatch
0690-employee-importance
0721-accounts-merge
0756-pyramid-transition-matrix
0768-partition-labels
0797-rabbits-in-forest
0829-subdomain-visit-count
0840-magic-squares-in-grid
0865-smallest-subtree-with-all-the-deepest-nodes
0900-reordered-power-of-2
0905-length-of-longest-fibonacci-subsequence
0925-construct-binary-tree-from-preorder-and-postorder-traversal
0940-fruit-into-baskets
0960-minimize-malware-spread
0961-n-repeated-element-in-size-2n-array
0966-binary-subarrays-with-sum
0999-regions-cut-by-slashes
1006-vowel-spellchecker
1015-smallest-integer-divisible-by-k
1016-subarray-sums-divisible-by-k
1023-time-based-key-value-store
1039-find-the-town-judge
1065-binary-string-with-substrings-representing-1-to-n
1112-find-words-that-can-be-formed-by-characters
1145-number-of-submatrices-that-sum-to-target
1160-letter-tile-possibilities
1218-lowest-common-ancestor-of-deepest-leaves
1227-number-of-equivalent-domino-pairs
1264-maximum-number-of-words-you-can-type
1353-find-resultant-array-after-removing-anagrams
1354-find-players-with-zero-or-one-losses
1364-tuple-with-same-product
1387-find-elements-in-a-contaminated-binary-tree
1460-number-of-substrings-containing-all-three-characters
1461-check-if-a-string-contains-all-binary-codes-of-size-k
1469-minimum-number-of-steps-to-make-two-strings-anagram
1482-how-many-numbers-are-smaller-than-the-current-number
1500-count-largest-group
1510-find-lucky-integer-in-an-array
1590-make-sum-divisible-by-p
1612-avoid-flood-in-the-city
1813-maximum-erasure-value
1834-minimum-number-of-people-to-teach
1873-longest-nice-substring
1905-design-authentication-manager
1915-check-if-one-string-swap-can-make-strings-equal
1930-unique-length-3-palindromic-subsequences
1980-find-unique-binary-string
1986-largest-color-value-in-a-directed-graph
1995-finding-pairs-with-a-certain-sum
2005-check-if-all-the-integers-in-a-range-are-covered
2023-design-movie-rental-system
2053-check-if-all-characters-have-equal-number-of-occurrences
2079-delete-duplicate-folders-in-system
2107-find-unique-binary-string
2169-simple-bank-system
2174-next-greater-numerically-balanced-number
2204-find-subsequence-of-length-k-with-the-largest-sum
2215-finding-3-digit-even-numbers
2220-find-all-possible-recipes-from-given-supplies
2237-longest-palindrome-by-concatenating-two-letter-words
2274-keep-multiplying-found-values-by-two
2308-divide-array-into-equal-pairs
2402-meeting-rooms-iii
2421-maximum-number-of-pairs-in-array
2429-design-a-food-rating-system
2448-count-number-of-bad-pairs
2473-max-sum-of-a-pair-with-equal-sum-of-digits
2479-meeting-rooms-iii
2502-sort-the-people
2520-using-a-robot-to-print-the-lexicographically-smallest-string
2581-divide-players-into-teams-of-equal-skill
2620-find-consecutive-integers-from-a-data-stream
2626-count-the-number-of-good-subarrays
2661-smallest-missing-non-negative-integer-after-operations
2669-find-the-substring-with-maximum-cost
2685-first-completely-painted-row-or-column
2689-rearranging-fruits
2707-merge-two-2d-arrays-by-summing-values
2856-count-complete-subarrays-in-an-array
2888-minimum-index-of-a-valid-split
2915-count-of-interesting-subarrays
2975-maximum-square-area-by-removing-fences-from-a-field
3227-find-missing-and-repeated-values
3242-count-elements-with-maximum-frequency
3360-minimum-deletions-to-make-string-k-special
3381-maximum-subarray-sum-with-length-divisible-by-k
3434-find-the-number-of-distinct-colors-among-the-balls
3437-maximum-total-damage-with-spell-casting
3445-lexicographically-minimum-string-after-removing-stars
3501-delete-nodes-from-linked-list-present-in-array
3507-minimum-pair-removal-to-sort-array-i
3510-minimum-pair-removal-to-sort-array-ii
3531-count-covered-buildings
3548-find-the-count-of-good-integers
3581-the-two-sneaky-numbers-of-digitville
3583-count-special-triplets
3592-find-x-sum-of-all-k-long-subarrays-ii
3606-coupon-code-validator
3610-find-x-sum-of-all-k-long-subarrays-i
3621-minimum-operations-to-make-array-values-equal-to-k
3623-count-number-of-trapezoids-i
3629-total-characters-in-string-after-transformations-i
3630-total-characters-in-string-after-transformations-ii
3656-minimum-number-of-operations-to-make-elements-in-array-distinct
3678-design-task-manager
3714-longest-balanced-substring-ii
3753-maximum-difference-between-even-and-odd-frequency-i
3754-maximum-manhattan-distance-after-k-changes
3788-maximum-unique-subarray-sum-after-deletion
3797-design-spreadsheet
3827-implement-router
3834-minimum-operations-to-convert-all-elements-to-zero
3863-power-grid-maintenance
3872-find-most-frequent-vowel-and-consonant

Prefix Sum

0238-product-of-array-except-self
0303-range-sum-query-immutable
0304-range-sum-query-2d-immutable
0410-split-array-largest-sum
0523-continuous-subarray-sum
0525-contiguous-array
0560-subarray-sum-equals-k
0724-find-pivot-index
0966-binary-subarrays-with-sum
1016-subarray-sums-divisible-by-k
1145-number-of-submatrices-that-sum-to-target
1292-maximum-side-length-of-a-square-with-sum-less-than-or-equal-to-threshold
1435-xor-queries-of-a-subarray
1477-product-of-the-last-k-numbers
1538-maximum-points-you-can-obtain-from-cards
1590-make-sum-divisible-by-p
1603-running-sum-of-1d-array
1631-number-of-sub-arrays-with-odd-sum
1695-maximum-sum-obtained-of-any-permutation
1783-ways-to-make-a-fair-array
1787-sum-of-absolute-differences-in-a-sorted-array
1878-get-biggest-three-rhombus-sums-in-a-grid
1895-largest-magic-square
1930-unique-length-3-palindromic-subsequences
2005-check-if-all-the-integers-in-a-range-are-covered
2102-find-the-middle-index-in-array
2145-grid-game
2229-maximum-fruits-harvested-after-at-most-k-steps
2249-count-the-hidden-sequences
2325-number-of-ways-to-select-buildings
2394-count-subarrays-with-score-less-than-k
2465-shifting-letters-ii
2483-minimum-penalty-for-a-shop
2529-range-product-queries-of-powers
2618-maximize-the-minimum-powered-city
2625-increment-submatrices-by-one
2915-count-of-interesting-subarrays
3070-count-submatrices-with-top-left-element-and-sum-less-than-k
3129-find-all-possible-stable-binary-arrays-i
3130-find-all-possible-stable-binary-arrays-ii
3212-count-submatrices-with-equal-frequency-of-x-and-y
3381-maximum-subarray-sum-with-length-divisible-by-k
3383-taking-maximum-energy-from-the-mystic-dungeon
3432-count-partitions-with-even-sum-difference
3475-minimum-operations-to-make-binary-array-elements-equal-to-one-i
3578-count-partitions-with-max-min-difference-at-most-k
3616-make-array-elements-equal-to-zero
3618-find-the-original-typed-string-ii
3622-maximum-frequency-of-an-element-after-performing-operations-i
3639-zero-array-transformation-i
3640-maximum-frequency-of-an-element-after-performing-operations-ii
3643-zero-array-transformation-ii
3647-zero-array-transformation-iii
3652-best-time-to-buy-and-sell-stock-using-strategy
3714-longest-balanced-substring-ii
3761-maximum-difference-between-even-and-odd-frequency-ii
3789-maximize-subarrays-after-removing-one-conflicting-pair
3794-find-the-minimum-amount-of-time-to-brew-potions

String

0003-longest-substring-without-repeating-characters
0005-longest-palindromic-substring
0012-integer-to-roman
0022-generate-parentheses
0028-find-the-index-of-the-first-occurrence-in-a-string
0032-longest-valid-parentheses
0038-count-and-say
0049-group-anagrams
0058-length-of-last-word
0067-add-binary
0071-simplify-path
0076-minimum-window-substring
0079-word-search
0093-restore-ip-addresses
0165-compare-version-numbers
0166-fraction-to-recurring-decimal
0179-largest-number
0242-valid-anagram
0282-expression-add-operators
0306-additive-number
0387-first-unique-character-in-a-string
0394-decode-string
0399-evaluate-division
0438-find-all-anagrams-in-a-string
0451-sort-characters-by-frequency
0474-ones-and-zeroes
0500-keyboard-row
0567-permutation-in-string
0599-minimum-index-sum-of-two-lists
0609-find-duplicate-file-in-system
0680-valid-palindrome-ii
0696-count-binary-substrings
0712-minimum-ascii-delete-sum-for-two-strings
0721-accounts-merge
0722-remove-comments
0756-pyramid-transition-matrix
0761-special-binary-string
0768-partition-labels
0800-letter-case-permutation
0812-rotate-string
0829-subdomain-visit-count
0868-push-dominoes
0874-backspace-string-compare
0944-delete-columns-to-make-sorted
0955-delete-columns-to-make-sorted-ii
0960-delete-columns-to-make-sorted-iii
0979-di-string-match
1006-vowel-spellchecker
1023-time-based-key-value-store
1032-satisfiability-of-equality-equations
1058-lexicographically-smallest-equivalent-string
1065-binary-string-with-substrings-representing-1-to-n
1093-recover-a-tree-from-preorder-traversal
1112-find-words-that-can-be-formed-by-characters
1160-letter-tile-possibilities
1170-shortest-common-supersequence
1264-maximum-number-of-words-you-can-type
1302-delete-characters-to-make-fancy-string
1341-split-a-string-in-balanced-strings
1350-remove-sub-folders-from-the-filesystem
1353-find-resultant-array-after-removing-anagrams
1381-maximum-score-words-formed-by-letters
1404-number-of-steps-to-reduce-a-number-in-binary-representation-to-one
1415-the-k-th-lexicographical-string-of-all-happy-strings-of-length-n
1460-number-of-substrings-containing-all-three-characters
1461-check-if-a-string-contains-all-binary-codes-of-size-k
1469-minimum-number-of-steps-to-make-two-strings-anagram
1516-the-k-th-lexicographical-string-of-all-happy-strings-of-length-n
1545-find-kth-bit-in-nth-binary-string
1567-maximum-number-of-vowels-in-a-substring-of-given-length
1636-number-of-substrings-with-only-1s
1651-shuffle-string
1667-find-kth-bit-in-nth-binary-string
1689-partitioning-into-minimum-number-of-deci-binary-numbers
1700-minimum-time-to-make-rope-colorful
1720-crawler-log-folder
1747-lexicographically-smallest-string-after-applying-operations
1758-minimum-changes-to-make-alternating-binary-string
1784-check-if-binary-string-has-at-most-one-segment-of-ones
1818-maximum-score-from-removing-substrings
1873-longest-nice-substring
1888-minimum-number-of-flips-to-make-the-binary-string-alternating
1915-check-if-one-string-swap-can-make-strings-equal
1930-unique-length-3-palindromic-subsequences
1976-splitting-a-string-into-descending-consecutive-values
1980-find-unique-binary-string
2021-remove-all-occurrences-of-a-substring
2053-check-if-all-characters-have-equal-number-of-occurrences
2079-delete-duplicate-folders-in-system
2107-find-unique-binary-string
2137-final-value-of-variable-after-performing-operations
2140-longest-subsequence-repeated-k-times
2147-number-of-ways-to-divide-a-long-corridor
2211-count-collisions-on-a-road
2220-find-all-possible-recipes-from-given-supplies
2237-longest-palindrome-by-concatenating-two-letter-words
2244-number-of-laser-beams-in-a-bank
2260-divide-a-string-into-groups-of-size-k
2325-number-of-ways-to-select-buildings
2346-largest-3-same-digit-number-in-string
2395-longest-binary-subsequence-less-than-or-equal-to-k
2429-design-a-food-rating-system
2456-construct-smallest-number-from-di-string
2463-minimum-recolors-to-get-k-consecutive-black-blocks
2465-shifting-letters-ii
2470-removing-stars-from-a-string
2483-minimum-penalty-for-a-shop
2502-sort-the-people
2520-using-a-robot-to-print-the-lexicographically-smallest-string
2669-find-the-substring-with-maximum-cost
2786-find-the-longest-semi-repetitive-substring
2887-sort-vowels-in-a-string
2976-minimum-cost-to-convert-string-i
2977-minimum-cost-to-convert-string-ii
3055-maximum-odd-binary-number
3142-longest-unequal-adjacent-groups-subsequence-ii
3143-longest-unequal-adjacent-groups-subsequence-i
3194-find-words-containing-character
3195-separate-black-and-white-balls
3233-maximize-the-number-of-partitions-after-operations
3243-count-the-number-of-powerful-integers
3360-minimum-deletions-to-make-string-k-special
3445-lexicographically-minimum-string-after-removing-stars
3447-clear-digits
3453-generate-binary-strings-without-adjacent-zeros
3462-vowels-game-in-a-string
3479-count-the-number-of-substrings-with-dominant-ones
3493-maximum-number-of-operations-to-move-ones-to-the-end
3606-coupon-code-validator
3617-find-the-original-typed-string-i
3618-find-the-original-typed-string-ii
3629-total-characters-in-string-after-transformations-i
3630-total-characters-in-string-after-transformations-ii
3637-count-number-of-balanced-permutations
3666-minimum-operations-to-equalize-binary-string
3683-find-the-lexicographically-largest-string-from-the-box-i
3714-longest-balanced-substring-ii
3753-maximum-difference-between-even-and-odd-frequency-i
3754-maximum-manhattan-distance-after-k-changes
3761-maximum-difference-between-even-and-odd-frequency-ii
3768-check-if-digits-are-equal-in-string-after-operations-i
3774-check-if-digits-are-equal-in-string-after-operations-ii
3797-design-spreadsheet
3872-find-most-frequent-vowel-and-consonant

Dynamic Programming

0005-longest-palindromic-substring
0022-generate-parentheses
0032-longest-valid-parentheses
0053-maximum-subarray
0055-jump-game
0118-pascals-triangle
0119-pascals-triangle-ii
0120-triangle
0338-counting-bits
0368-largest-divisible-subset
0410-split-array-largest-sum
0416-partition-equal-subset-sum
0474-ones-and-zeroes
0486-predict-the-winner
0542-01-matrix
0650-2-keys-keyboard
0712-minimum-ascii-delete-sum-for-two-strings
0799-champagne-tower
0806-domino-and-tromino-tiling
0826-soup-servings
0867-new-21-game
0868-push-dominoes
0905-length-of-longest-fibonacci-subsequence
0934-bitwise-ors-of-subarrays
0943-sum-of-subarray-minimums
0960-delete-columns-to-make-sorted-iii
1020-longest-turbulent-subarray
1111-minimum-score-triangulation-of-polygon
1170-shortest-common-supersequence
1262-greatest-sum-divisible-by-three
1381-maximum-score-words-formed-by-letters
1402-count-square-submatrices-with-all-ones
1411-number-of-ways-to-paint-n-3-grid
1458-max-dot-product-of-two-subsequences
1586-longest-subarray-of-1s-after-deleting-one-element
1628-count-submatrices-with-all-ones
1631-number-of-sub-arrays-with-odd-sum
1633-minimum-number-of-increments-on-subarrays-to-form-a-target-array
1700-minimum-time-to-make-rope-colorful
1732-minimum-one-bit-operations-to-make-integers-zero
1849-maximum-absolute-sum-of-any-subarray
1851-maximum-number-of-events-that-can-be-attended-ii
1888-minimum-number-of-flips-to-make-the-binary-string-alternating
1912-number-of-restricted-paths-from-first-to-last-node
1986-largest-color-value-in-a-directed-graph
2028-the-earliest-and-latest-rounds-where-players-compete
2054-two-best-non-overlapping-events
2061-painting-a-grid-with-three-different-colors
2110-number-of-smooth-descent-periods-of-a-stock
2147-number-of-ways-to-divide-a-long-corridor
2262-solving-questions-with-brainpower
2267-minimum-difference-in-sums-after-removal-of-elements
2325-number-of-ways-to-select-buildings
2395-longest-binary-subsequence-less-than-or-equal-to-k
2408-number-of-people-aware-of-a-secret
2415-count-the-number-of-ideal-arrays
2435-paths-in-matrix-whose-sum-is-divisible-by-k
2669-find-the-substring-with-maximum-cost
2882-ways-to-express-an-integer-as-sum-of-powers
2977-minimum-cost-to-convert-string-ii
3129-find-all-possible-stable-binary-arrays-i
3130-find-all-possible-stable-binary-arrays-ii
3142-longest-unequal-adjacent-groups-subsequence-ii
3143-longest-unequal-adjacent-groups-subsequence-i
3233-maximize-the-number-of-partitions-after-operations
3243-count-the-number-of-powerful-integers
3307-find-the-maximum-sum-of-node-values
3437-maximum-total-damage-with-spell-casting
3490-find-the-maximum-length-of-valid-subsequence-i
3491-find-the-maximum-length-of-valid-subsequence-ii
3562-maximum-profit-from-trading-stocks-with-discounts
3573-best-time-to-buy-and-sell-stock-v
3578-count-partitions-with-max-min-difference-at-most-k
3618-find-the-original-typed-string-ii
3629-total-characters-in-string-after-transformations-i
3630-total-characters-in-string-after-transformations-ii
3637-count-number-of-balanced-permutations
3640-trionic-array-ii
3648-find-the-maximum-number-of-fruits-collected
3651-minimum-cost-path-with-teleportations
3733-length-of-longest-v-shaped-diagonal-segment
3851-find-sum-of-array-product-of-magical-sequences

Stack

0032-longest-valid-parentheses
0071-simplify-path
0144-binary-tree-preorder-traversal
0234-palindrome-linked-list
0394-decode-string
0445-add-two-numbers-ii
0456-132-pattern
0739-daily-temperatures
0874-backspace-string-compare
0943-sum-of-subarray-minimums
1570-final-prices-with-a-special-discount-in-a-shop
1582-design-browser-history
1628-count-submatrices-with-all-ones
1633-minimum-number-of-increments-on-subarrays-to-form-a-target-array
1720-crawler-log-folder
1818-maximum-score-from-removing-substrings
2021-remove-all-occurrences-of-a-substring
2211-count-collisions-on-a-road
2236-maximum-twin-sum-of-a-linked-list
2307-replace-non-coprime-numbers-in-array
2456-construct-smallest-number-from-di-string
2470-removing-stars-from-a-string
2520-using-a-robot-to-print-the-lexicographically-smallest-string
3001-apply-operations-to-maximize-score
3445-lexicographically-minimum-string-after-removing-stars
3447-clear-digits
3834-minimum-operations-to-convert-all-elements-to-zero

String Matching

0028-find-the-index-of-the-first-occurrence-in-a-string
0812-rotate-string

Queue

0387-first-unique-character-in-a-string
0859-design-circular-deque
0969-number-of-recent-calls
0987-reveal-cards-in-increasing-order
1549-longest-continuous-subarray-with-absolute-diff-less-than-or-equal-to-limit
1951-find-the-winner-of-the-circular-game
2180-maximum-number-of-tasks-you-can-assign
2408-number-of-people-aware-of-a-secret
2527-count-subarrays-with-fixed-bounds
2618-maximize-the-minimum-powered-city
2620-find-consecutive-integers-from-a-data-stream
3475-minimum-operations-to-make-binary-array-elements-equal-to-one-i
3578-count-partitions-with-max-min-difference-at-most-k
3827-implement-router

Counting

0169-majority-element
0229-majority-element-ii
0347-top-k-frequent-elements
0387-first-unique-character-in-a-string
0451-sort-characters-by-frequency
0594-longest-harmonious-subsequence
0829-subdomain-visit-count
0900-reordered-power-of-2
1112-find-words-that-can-be-formed-by-characters
1160-letter-tile-possibilities
1227-number-of-equivalent-domino-pairs
1341-split-a-string-in-balanced-strings
1354-find-players-with-zero-or-one-losses
1356-sort-integers-by-the-number-of-1-bits
1364-tuple-with-same-product
1469-minimum-number-of-steps-to-make-two-strings-anagram
1482-how-many-numbers-are-smaller-than-the-current-number
1510-find-lucky-integer-in-an-array
1915-check-if-one-string-swap-can-make-strings-equal
1986-largest-color-value-in-a-directed-graph
2053-check-if-all-characters-have-equal-number-of-occurrences
2140-longest-subsequence-repeated-k-times
2174-next-greater-numerically-balanced-number
2237-longest-palindrome-by-concatenating-two-letter-words
2308-divide-array-into-equal-pairs
2421-maximum-number-of-pairs-in-array
2448-count-number-of-bad-pairs
2614-maximum-count-of-positive-integer-and-negative-integer
2620-find-consecutive-integers-from-a-data-stream
3242-count-elements-with-maximum-frequency
3360-minimum-deletions-to-make-string-k-special
3437-maximum-total-damage-with-spell-casting
3493-maximum-number-of-operations-to-move-ones-to-the-end
3583-count-special-triplets
3629-total-characters-in-string-after-transformations-i
3630-total-characters-in-string-after-transformations-ii
3753-maximum-difference-between-even-and-odd-frequency-i
3754-maximum-manhattan-distance-after-k-changes
3872-find-most-frequent-vowel-and-consonant

Design

0146-lru-cache
0303-range-sum-query-immutable
0304-range-sum-query-2d-immutable
0380-insert-delete-getrandom-o1
0789-kth-largest-element-in-a-stream
0838-design-linked-list
0859-design-circular-deque
0969-number-of-recent-calls
1023-time-based-key-value-store
1387-find-elements-in-a-contaminated-binary-tree
1477-product-of-the-last-k-numbers
1582-design-browser-history
1622-fancy-sequence
1905-design-authentication-manager
1955-seat-reservation-manager
1995-finding-pairs-with-a-certain-sum
2023-design-movie-rental-system
2169-simple-bank-system
2429-design-a-food-rating-system
2620-find-consecutive-integers-from-a-data-stream
3678-design-task-manager
3797-design-spreadsheet
3827-implement-router

Randomized

0380-insert-delete-getrandom-o1

Matrix

0036-valid-sudoku
0037-sudoku-solver
0048-rotate-image
0054-spiral-matrix
0059-spiral-matrix-ii
0073-set-matrix-zeroes
0079-word-search
0200-number-of-islands
0304-range-sum-query-2d-immutable
0407-trapping-rain-water-ii
0417-pacific-atlantic-water-flow
0463-island-perimeter
0498-diagonal-traverse
0529-minesweeper
0542-01-matrix
0661-image-smoother
0695-max-area-of-island
0733-flood-fill
0794-swim-in-rising-water
0840-magic-squares-in-grid
0861-flipping-an-image
0945-snakes-and-ladders
0999-regions-cut-by-slashes
1036-rotting-oranges
1145-number-of-submatrices-that-sum-to-target
1292-maximum-side-length-of-a-square-with-sum-less-than-or-equal-to-threshold
1351-count-negative-numbers-in-a-sorted-matrix
1402-count-square-submatrices-with-all-ones
1507-check-if-there-is-a-valid-path-in-a-grid
1536-minimum-swaps-to-arrange-a-binary-grid
1582-special-positions-in-a-binary-matrix
1628-count-submatrices-with-all-ones
1696-strange-printer-ii
1791-richest-customer-wealth
1876-map-of-highest-peak
1878-get-biggest-three-rhombus-sums-in-a-grid
1886-determine-whether-matrix-can-be-obtained-by-rotation
1895-largest-magic-square
1970-last-day-where-you-can-still-cross
1975-maximum-matrix-sum
2015-determine-whether-matrix-can-be-obtained-by-rotation
2145-grid-game
2160-minimum-operations-to-make-a-uni-value-grid
2244-number-of-laser-beams-in-a-bank
2343-count-unguarded-cells-in-the-grid
2435-paths-in-matrix-whose-sum-is-divisible-by-k
2588-maximum-number-of-points-from-grid-queries
2625-increment-submatrices-by-one
2631-sort-the-students-by-their-kth-score
2685-first-completely-painted-row-or-column
2737-row-with-maximum-ones
3070-count-submatrices-with-top-left-element-and-sum-less-than-k
3212-count-submatrices-with-equal-frequency-of-x-and-y
3227-find-missing-and-repeated-values
3459-find-the-minimum-area-to-cover-all-ones-ii
3461-find-the-minimum-area-to-cover-all-ones-i
3627-find-minimum-time-to-reach-last-room-i
3628-find-minimum-time-to-reach-last-room-ii
3643-flip-square-submatrix-vertically
3648-find-the-maximum-number-of-fruits-collected
3651-minimum-cost-path-with-teleportations
3733-length-of-longest-v-shaped-diagonal-segment
3748-sort-matrix-by-diagonals
3764-maximum-sum-with-at-most-k-elements
3797-design-spreadsheet

Sorting

0015-3sum
0016-3sum-closest
0047-permutations-ii
0049-group-anagrams
0075-sort-colors
0148-sort-list
0169-majority-element
0179-largest-number
0229-majority-element-ii
0242-valid-anagram
0274-h-index
0347-top-k-frequent-elements
0368-largest-divisible-subset
0451-sort-characters-by-frequency
0452-minimum-number-of-arrows-to-burst-balloons
0475-heaters
0594-longest-harmonious-subsequence
0611-valid-triangle-number
0628-maximum-product-of-three-numbers
0645-set-mismatch
0721-accounts-merge
0757-set-intersection-size-at-least-two
0759-set-intersection-size-at-least-two
0761-special-binary-string
0900-reordered-power-of-2
0917-boats-to-save-people
0948-sort-an-array
0987-reveal-cards-in-increasing-order
1018-largest-perimeter-triangle
1095-two-city-scheduling
1200-minimum-absolute-difference
1262-greatest-sum-divisible-by-three
1353-find-resultant-array-after-removing-anagrams
1354-find-players-with-zero-or-one-losses
1356-sort-integers-by-the-number-of-1-bits
1478-maximum-number-of-events-that-can-be-attended
1482-how-many-numbers-are-smaller-than-the-current-number
1621-number-of-subsequences-that-satisfy-the-given-sum-condition
1675-magnetic-force-between-two-balls
1683-maximum-number-of-coins-you-can-get
1695-maximum-sum-obtained-of-any-permutation
1851-maximum-number-of-events-that-can-be-attended-ii
1877-minimize-maximum-pair-sum-in-array
1878-get-biggest-three-rhombus-sums-in-a-grid
1961-maximum-ice-cream-bars
1984-minimum-difference-between-highest-and-lowest-of-k-scores
2054-two-best-non-overlapping-events
2092-find-all-people-with-secret
2141-maximum-running-time-of-n-computers
2148-minimum-number-of-moves-to-seat-everyone
2160-minimum-operations-to-make-a-uni-value-grid
2180-maximum-number-of-tasks-you-can-assign
2204-find-subsequence-of-length-k-with-the-largest-sum
2210-find-target-indices-after-sorting-array
2215-finding-3-digit-even-numbers
2274-keep-multiplying-found-values-by-two
2387-partition-array-such-that-maximum-difference-is-k
2392-successful-pairs-of-spells-and-potions
2402-meeting-rooms-iii
2473-max-sum-of-a-pair-with-equal-sum-of-digits
2479-meeting-rooms-iii
2497-maximum-matching-of-players-with-trainers
2502-sort-the-people
2581-divide-players-into-teams-of-equal-skill
2588-maximum-number-of-points-from-grid-queries
2631-sort-the-students-by-their-kth-score
2681-put-marbles-in-bags
2689-rearranging-fruits
2699-count-the-number-of-fair-pairs
2887-sort-vowels-in-a-string
2888-minimum-index-of-a-valid-split
2943-maximize-area-of-square-hole-in-grid
3001-apply-operations-to-maximize-score
3010-divide-an-array-into-subarrays-with-minimum-cost-i
3074-apple-redistribution-into-boxes
3075-maximize-happiness-of-selected-children
3241-divide-array-into-arrays-with-max-difference
3277-find-the-number-of-ways-to-place-people-ii
3278-find-the-number-of-ways-to-place-people-i
3307-find-the-maximum-sum-of-node-values
3321-type-of-triangle
3351-maximize-happiness-of-selected-children
3360-minimum-deletions-to-make-string-k-special
3430-count-days-without-meetings
3433-count-mentions-per-user
3437-maximum-total-damage-with-spell-casting
3531-count-covered-buildings
3606-coupon-code-validator
3620-maximum-number-of-distinct-elements-after-operations
3622-maximum-frequency-of-an-element-after-performing-operations-i
3634-minimum-removals-to-balance-array
3640-maximum-frequency-of-an-element-after-performing-operations-ii
3647-zero-array-transformation-iii
3657-check-if-grid-can-be-cut-into-sections
3748-sort-matrix-by-diagonals
3764-maximum-sum-with-at-most-k-elements

Divide and Conquer

0053-maximum-subarray
0108-convert-sorted-array-to-binary-search-tree
0148-sort-list
0169-majority-element
0190-reverse-bits
0191-number-of-1-bits
0347-top-k-frequent-elements
0761-special-binary-string
0925-construct-binary-tree-from-preorder-and-postorder-traversal
0948-sort-an-array
1772-create-sorted-array-through-instructions
1873-longest-nice-substring
2280-count-good-triplets-in-an-array
2513-number-of-pairs-satisfying-inequality

Two Pointers

0005-longest-palindromic-substring
0011-container-with-most-water
0015-3sum
0016-3sum-closest
0019-remove-nth-node-from-end-of-list
0028-find-the-index-of-the-first-occurrence-in-a-string
0075-sort-colors
0086-partition-list
0141-linked-list-cycle
0142-linked-list-cycle-ii
0148-sort-list
0165-compare-version-numbers
0234-palindrome-linked-list
0283-move-zeroes
0287-find-the-duplicate-number
0475-heaters
0567-permutation-in-string
0611-valid-triangle-number
0633-sum-of-square-numbers
0680-valid-palindrome-ii
0696-count-binary-substrings
0768-partition-labels
0861-flipping-an-image
0868-push-dominoes
0874-backspace-string-compare
0917-boats-to-save-people
0979-di-string-match
1168-duplicate-zeros
1621-number-of-subsequences-that-satisfy-the-given-sum-condition
1877-minimize-maximum-pair-sum-in-array
2236-maximum-twin-sum-of-a-linked-list
2265-partition-array-according-to-given-pivot
2320-find-all-k-distant-indices-in-an-array
2392-successful-pairs-of-spells-and-potions
2497-maximum-matching-of-players-with-trainers
2551-apply-operations-to-an-array
2581-divide-players-into-teams-of-equal-skill
2588-maximum-number-of-points-from-grid-queries
2699-count-the-number-of-fair-pairs
2707-merge-two-2d-arrays-by-summing-values
3195-separate-black-and-white-balls
3437-maximum-total-damage-with-spell-casting
3643-flip-square-submatrix-vertically
3683-find-the-lexicographically-largest-string-from-the-box-i

Bit Manipulation

0067-add-binary
0136-single-number
0190-reverse-bits
0191-number-of-1-bits
0201-bitwise-and-of-numbers-range
0231-power-of-two
0287-find-the-duplicate-number
0338-counting-bits
0342-power-of-four
0401-binary-watch
0461-hamming-distance
0645-set-mismatch
0693-binary-number-with-alternating-bits
0756-pyramid-transition-matrix
0762-prime-number-of-set-bits-in-binary-representation
0800-letter-case-permutation
0861-flipping-an-image
0934-bitwise-ors-of-subarrays
1009-complement-of-base-10-integer
1018-binary-prefix-divisible-by-5
1065-binary-string-with-substrings-representing-1-to-n
1356-sort-integers-by-the-number-of-1-bits
1381-maximum-score-words-formed-by-letters
1404-number-of-steps-to-reduce-a-number-in-binary-representation-to-one
1435-xor-queries-of-a-subarray
1461-check-if-a-string-contains-all-binary-codes-of-size-k
1680-concatenation-of-consecutive-binary-numbers
1732-minimum-one-bit-operations-to-make-integers-zero
1873-longest-nice-substring
1930-unique-length-3-palindromic-subsequences
1993-sum-of-all-subset-xor-totals
2170-count-number-of-maximum-bitwise-or-subsets
2308-divide-array-into-equal-pairs
2400-minimum-score-after-removals-on-a-tree
2478-longest-nice-subarray
2498-smallest-subarrays-with-maximum-bitwise-or
2503-longest-subarray-with-maximum-bitwise-and
2529-range-product-queries-of-powers
2533-bitwise-xor-of-all-pairings
2621-find-xor-beauty-of-array
2837-minimum-operations-to-make-the-integer-zero
3233-maximize-the-number-of-partitions-after-operations
3307-find-the-maximum-sum-of-node-values
3314-construct-the-minimum-bitwise-array-i
3315-construct-the-minimum-bitwise-array-ii
3348-minimum-cost-walk-in-weighted-graph
3453-generate-binary-strings-without-adjacent-zeros
3475-minimum-operations-to-make-binary-array-elements-equal-to-one-i
3600-find-the-k-th-character-in-string-game-i
3601-find-the-k-th-character-in-string-game-ii
3676-smallest-number-with-all-set-bits
3744-minimum-operations-to-make-array-elements-zero
3851-find-sum-of-array-product-of-magical-sequences

Heap (Priority Queue)

0347-top-k-frequent-elements
0407-trapping-rain-water-ii
0451-sort-characters-by-frequency
0789-kth-largest-element-in-a-stream
0794-swim-in-rising-water
0948-sort-an-array
1325-path-with-maximum-probability
1478-maximum-number-of-events-that-can-be-attended
1549-longest-continuous-subarray-with-absolute-diff-less-than-or-equal-to-limit
1612-avoid-flood-in-the-city
1762-furthest-building-you-can-reach
1878-get-biggest-three-rhombus-sums-in-a-grid
1912-number-of-restricted-paths-from-first-to-last-node
1917-maximum-average-pass-ratio
1955-seat-reservation-manager
2023-design-movie-rental-system
2054-two-best-non-overlapping-events
2204-find-subsequence-of-length-k-with-the-largest-sum
2267-minimum-difference-in-sums-after-removal-of-elements
2402-meeting-rooms-iii
2429-design-a-food-rating-system
2473-max-sum-of-a-pair-with-equal-sum-of-digits
2479-meeting-rooms-iii
2588-maximum-number-of-points-from-grid-queries
2681-put-marbles-in-bags
3296-minimum-number-of-seconds-to-make-mountain-height-zero
3332-minimum-operations-to-exceed-threshold-value-ii
3445-lexicographically-minimum-string-after-removing-stars
3507-minimum-pair-removal-to-sort-array-i
3510-minimum-pair-removal-to-sort-array-ii
3592-find-x-sum-of-all-k-long-subarrays-ii
3610-find-x-sum-of-all-k-long-subarrays-i
3627-find-minimum-time-to-reach-last-room-i
3628-find-minimum-time-to-reach-last-room-ii
3647-zero-array-transformation-iii
3650-minimum-cost-path-with-edge-reversals
3678-design-task-manager
3764-maximum-sum-with-at-most-k-elements
3863-power-grid-maintenance

Bucket Sort

0347-top-k-frequent-elements
0451-sort-characters-by-frequency
0948-sort-an-array

Quickselect

0347-top-k-frequent-elements

Brainteaser

0292-nim-game
2503-longest-subarray-with-maximum-bitwise-and
2533-bitwise-xor-of-all-pairings
2837-minimum-operations-to-make-the-integer-zero
3462-vowels-game-in-a-string
3577-count-the-number-of-computer-unlocking-permutations

Game Theory

0292-nim-game
0486-predict-the-winner
1683-maximum-number-of-coins-you-can-get
3462-vowels-game-in-a-string

Merge Sort

0148-sort-list
0948-sort-an-array
1772-create-sorted-array-through-instructions
2280-count-good-triplets-in-an-array
2513-number-of-pairs-satisfying-inequality

Radix Sort

0948-sort-an-array

Counting Sort

0274-h-index
0948-sort-an-array
1961-maximum-ice-cream-bars
2148-minimum-number-of-moves-to-seat-everyone

Greedy

0011-container-with-most-water
0055-jump-game
0134-gas-station
0135-candy
0179-largest-number
0410-split-array-largest-sum
0452-minimum-number-of-arrows-to-burst-balloons
0605-can-place-flowers
0611-valid-triangle-number
0680-valid-palindrome-ii
0757-set-intersection-size-at-least-two
0759-set-intersection-size-at-least-two
0768-partition-labels
0797-rabbits-in-forest
0890-lemonade-change
0917-boats-to-save-people
0955-delete-columns-to-make-sorted-ii
0979-di-string-match
1018-largest-perimeter-triangle
1033-broken-calculator
1049-minimum-domino-rotations-for-equal-row
1095-two-city-scheduling
1262-greatest-sum-divisible-by-three
1303-minimum-moves-to-reach-target-score
1341-split-a-string-in-balanced-strings
1448-maximum-69-number
1478-maximum-number-of-events-that-can-be-attended
1529-max-difference-you-can-get-from-changing-an-integer
1536-minimum-swaps-to-arrange-a-binary-grid
1612-avoid-flood-in-the-city
1633-minimum-number-of-increments-on-subarrays-to-form-a-target-array
1683-maximum-number-of-coins-you-can-get
1689-partitioning-into-minimum-number-of-deci-binary-numbers
1695-maximum-sum-obtained-of-any-permutation
1700-minimum-time-to-make-rope-colorful
1762-furthest-building-you-can-reach
1818-maximum-score-from-removing-substrings
1834-minimum-number-of-people-to-teach
1877-minimize-maximum-pair-sum-in-array
1917-maximum-average-pass-ratio
1961-maximum-ice-cream-bars
1975-maximum-matrix-sum
2140-longest-subsequence-repeated-k-times
2141-maximum-running-time-of-n-computers
2148-minimum-number-of-moves-to-seat-everyone
2180-maximum-number-of-tasks-you-can-assign
2237-longest-palindrome-by-concatenating-two-letter-words
2387-partition-array-such-that-maximum-difference-is-k
2395-longest-binary-subsequence-less-than-or-equal-to-k
2456-construct-smallest-number-from-di-string
2497-maximum-matching-of-players-with-trainers
2520-using-a-robot-to-print-the-lexicographically-smallest-string
2618-maximize-the-minimum-powered-city
2661-smallest-missing-non-negative-integer-after-operations
2681-put-marbles-in-bags
2689-rearranging-fruits
2704-maximum-difference-by-remapping-a-digit
2720-minimize-the-maximum-difference-of-pairs
3001-apply-operations-to-maximize-score
3055-maximum-odd-binary-number
3074-apple-redistribution-into-boxes
3075-maximize-happiness-of-selected-children
3143-longest-unequal-adjacent-groups-subsequence-i
3171-minimum-equal-sum-of-two-arrays-after-replacing-zeros
3195-separate-black-and-white-balls
3241-divide-array-into-arrays-with-max-difference
3296-minimum-number-of-seconds-to-make-mountain-height-zero
3307-find-the-maximum-sum-of-node-values
3351-maximize-happiness-of-selected-children
3360-minimum-deletions-to-make-string-k-special
3445-lexicographically-minimum-string-after-removing-stars
3493-maximum-number-of-operations-to-move-ones-to-the-end
3600-maximize-spanning-tree-stability-with-upgrades
3620-maximum-number-of-distinct-elements-after-operations
3647-zero-array-transformation-iii
3741-reschedule-meetings-for-maximum-free-time-ii
3743-reschedule-meetings-for-maximum-free-time-i
3764-maximum-sum-with-at-most-k-elements
3788-maximum-unique-subarray-sum-after-deletion
3834-minimum-operations-to-convert-all-elements-to-zero
0034-find-first-and-last-position-of-element-in-sorted-array
0069-sqrtx
0153-find-minimum-in-rotated-sorted-array
0278-first-bad-version
0287-find-the-duplicate-number
0410-split-array-largest-sum
0456-132-pattern
0475-heaters
0611-valid-triangle-number
0633-sum-of-square-numbers
0744-find-smallest-letter-greater-than-target
0794-swim-in-rising-water
0907-koko-eating-bananas
1023-time-based-key-value-store
1056-capacity-to-ship-packages-within-d-days
1292-maximum-side-length-of-a-square-with-sum-less-than-or-equal-to-threshold
1335-maximum-candies-allocated-to-k-children
1351-count-negative-numbers-in-a-sorted-matrix
1612-avoid-flood-in-the-city
1621-number-of-subsequences-that-satisfy-the-given-sum-condition
1675-magnetic-force-between-two-balls
1772-create-sorted-array-through-instructions
1851-maximum-number-of-events-that-can-be-attended-ii
1970-last-day-where-you-can-still-cross
2054-two-best-non-overlapping-events
2141-maximum-running-time-of-n-computers
2150-kth-smallest-product-of-two-sorted-arrays
2180-maximum-number-of-tasks-you-can-assign
2210-find-target-indices-after-sorting-array
2229-maximum-fruits-harvested-after-at-most-k-steps
2280-count-good-triplets-in-an-array
2392-successful-pairs-of-spells-and-potions
2394-count-subarrays-with-score-less-than-k
2498-smallest-subarrays-with-maximum-bitwise-or
2513-number-of-pairs-satisfying-inequality
2614-maximum-count-of-positive-integer-and-negative-integer
2618-maximize-the-minimum-powered-city
2665-minimum-time-to-repair-cars
2690-house-robber-iv
2699-count-the-number-of-fair-pairs
2720-minimize-the-maximum-difference-of-pairs
3296-minimum-number-of-seconds-to-make-mountain-height-zero
3437-maximum-total-damage-with-spell-casting
3453-separate-squares-i
3454-separate-squares-ii
3600-maximize-spanning-tree-stability-with-upgrades
3619-adjacent-increasing-subarrays-detection-ii
3622-maximum-frequency-of-an-element-after-performing-operations-i
3640-maximum-frequency-of-an-element-after-performing-operations-ii
3643-zero-array-transformation-ii
3790-fruits-into-baskets-ii
3791-fruits-into-baskets-iii
3827-implement-router

Sliding Window

0003-longest-substring-without-repeating-characters
0076-minimum-window-substring
0438-find-all-anagrams-in-a-string
0567-permutation-in-string
0594-longest-harmonious-subsequence
0643-maximum-average-subarray-i
0867-new-21-game
0940-fruit-into-baskets
0966-binary-subarrays-with-sum
1020-longest-turbulent-subarray
1065-binary-string-with-substrings-representing-1-to-n
1460-number-of-substrings-containing-all-three-characters
1538-maximum-points-you-can-obtain-from-cards
1549-longest-continuous-subarray-with-absolute-diff-less-than-or-equal-to-limit
1567-maximum-number-of-vowels-in-a-substring-of-given-length
1586-longest-subarray-of-1s-after-deleting-one-element
1813-maximum-erasure-value
1873-longest-nice-substring
1888-minimum-number-of-flips-to-make-the-binary-string-alternating
1984-minimum-difference-between-highest-and-lowest-of-k-scores
2229-maximum-fruits-harvested-after-at-most-k-steps
2394-count-subarrays-with-score-less-than-k
2463-minimum-recolors-to-get-k-consecutive-black-blocks
2478-longest-nice-subarray
2498-smallest-subarrays-with-maximum-bitwise-or
2527-count-subarrays-with-fixed-bounds
2618-maximize-the-minimum-powered-city
2626-count-the-number-of-good-subarrays
2786-find-the-longest-semi-repetitive-substring
2856-count-complete-subarrays-in-an-array
3213-count-subarrays-where-max-element-appears-at-least-k-times
3475-minimum-operations-to-make-binary-array-elements-equal-to-one-i
3479-count-the-number-of-substrings-with-dominant-ones
3483-alternating-groups-ii
3523-find-the-power-of-k-size-subarrays-ii
3578-count-partitions-with-max-min-difference-at-most-k
3592-find-x-sum-of-all-k-long-subarrays-ii
3610-find-x-sum-of-all-k-long-subarrays-i
3622-maximum-frequency-of-an-element-after-performing-operations-i
3634-minimum-removals-to-balance-array
3640-maximum-frequency-of-an-element-after-performing-operations-ii
3652-best-time-to-buy-and-sell-stock-using-strategy
3743-reschedule-meetings-for-maximum-free-time-i
3761-maximum-difference-between-even-and-odd-frequency-ii

Data Stream

0789-kth-largest-element-in-a-stream
0969-number-of-recent-calls
1477-product-of-the-last-k-numbers
1582-design-browser-history
2620-find-consecutive-integers-from-a-data-stream

Backtracking

0022-generate-parentheses
0037-sudoku-solver
0046-permutations
0047-permutations-ii
0051-n-queens
0052-n-queens-ii
0077-combinations
0079-word-search
0093-restore-ip-addresses
0282-expression-add-operators
0306-additive-number
0401-binary-watch
0679-24-game
0756-pyramid-transition-matrix
0800-letter-case-permutation
1160-letter-tile-possibilities
1381-maximum-score-words-formed-by-letters
1415-the-k-th-lexicographical-string-of-all-happy-strings-of-length-n
1516-the-k-th-lexicographical-string-of-all-happy-strings-of-length-n
1819-construct-the-lexicographically-largest-valid-sequence
1976-splitting-a-string-into-descending-consecutive-values
1980-find-unique-binary-string
1993-sum-of-all-subset-xor-totals
2107-find-unique-binary-string
2140-longest-subsequence-repeated-k-times
2170-count-number-of-maximum-bitwise-or-subsets
2174-next-greater-numerically-balanced-number
2456-construct-smallest-number-from-di-string
2802-find-the-punishment-number-of-an-integer
3453-generate-binary-strings-without-adjacent-zeros

Linked List

0002-add-two-numbers
0019-remove-nth-node-from-end-of-list
0083-remove-duplicates-from-sorted-list
0086-partition-list
0092-reverse-linked-list-ii
0141-linked-list-cycle
0142-linked-list-cycle-ii
0146-lru-cache
0148-sort-list
0203-remove-linked-list-elements
0206-reverse-linked-list
0234-palindrome-linked-list
0237-delete-node-in-a-linked-list
0328-odd-even-linked-list
0445-add-two-numbers-ii
0838-design-linked-list
0859-design-circular-deque
1411-convert-binary-number-in-a-linked-list-to-integer
1582-design-browser-history
1905-design-authentication-manager
2236-maximum-twin-sum-of-a-linked-list
3501-delete-nodes-from-linked-list-present-in-array
3507-minimum-pair-removal-to-sort-array-i
3510-minimum-pair-removal-to-sort-array-ii

Recursion

0002-add-two-numbers
0203-remove-linked-list-elements
0206-reverse-linked-list
0231-power-of-two
0234-palindrome-linked-list
0326-power-of-three
0342-power-of-four
0394-decode-string
0486-predict-the-winner
1545-find-kth-bit-in-nth-binary-string
1667-find-kth-bit-in-nth-binary-string
1951-find-the-winner-of-the-circular-game
2050-count-good-numbers
3600-find-the-k-th-character-in-string-game-i
3601-find-the-k-th-character-in-string-game-ii

Doubly-Linked List

0146-lru-cache
1582-design-browser-history
1905-design-authentication-manager
3507-minimum-pair-removal-to-sort-array-i
3510-minimum-pair-removal-to-sort-array-ii

Tree

0098-validate-binary-search-tree
0099-recover-binary-search-tree
0100-same-tree
0101-symmetric-tree
0102-binary-tree-level-order-traversal
0103-binary-tree-zigzag-level-order-traversal
0104-maximum-depth-of-binary-tree
0108-convert-sorted-array-to-binary-search-tree
0129-sum-root-to-leaf-numbers
0144-binary-tree-preorder-traversal
0235-lowest-common-ancestor-of-a-binary-search-tree
0450-delete-node-in-a-bst
0515-find-largest-value-in-each-tree-row
0690-employee-importance
0783-search-in-a-binary-search-tree
0784-insert-into-a-binary-search-tree
0789-kth-largest-element-in-a-stream
0865-smallest-subtree-with-all-the-deepest-nodes
0925-construct-binary-tree-from-preorder-and-postorder-traversal
1022-sum-of-root-to-leaf-binary-numbers
1092-maximum-difference-between-node-and-ancestor
1093-recover-a-tree-from-preorder-traversal
1114-binary-search-tree-to-greater-sum-tree
1161-maximum-level-sum-of-a-binary-tree
1218-lowest-common-ancestor-of-deepest-leaves
1339-maximum-product-of-splitted-binary-tree
1387-find-elements-in-a-contaminated-binary-tree
1492-time-needed-to-inform-all-employees
2347-count-nodes-equal-to-average-of-subtree
2400-minimum-score-after-removals-on-a-tree
2564-most-profitable-path-in-a-tree
2872-maximum-number-of-k-divisible-components
3307-find-the-maximum-sum-of-node-values
3562-maximum-profit-from-trading-stocks-with-discounts
3633-maximize-the-number-of-target-nodes-after-connecting-trees-i
3645-maximize-the-number-of-target-nodes-after-connecting-trees-ii
0079-word-search
0098-validate-binary-search-tree
0099-recover-binary-search-tree
0100-same-tree
0101-symmetric-tree
0104-maximum-depth-of-binary-tree
0129-sum-root-to-leaf-numbers
0144-binary-tree-preorder-traversal
0200-number-of-islands
0235-lowest-common-ancestor-of-a-binary-search-tree
0310-minimum-height-trees
0386-lexicographical-numbers
0399-evaluate-division
0417-pacific-atlantic-water-flow
0463-island-perimeter
0515-find-largest-value-in-each-tree-row
0529-minesweeper
0547-number-of-provinces
0684-redundant-connection
0690-employee-importance
0695-max-area-of-island
0721-accounts-merge
0733-flood-fill
0794-swim-in-rising-water
0801-is-graph-bipartite
0865-smallest-subtree-with-all-the-deepest-nodes
0871-keys-and-rooms
0881-loud-and-rich
0922-possible-bipartition
0960-minimize-malware-spread
0999-regions-cut-by-slashes
1022-sum-of-root-to-leaf-binary-numbers
1092-maximum-difference-between-node-and-ancestor
1093-recover-a-tree-from-preorder-traversal
1114-binary-search-tree-to-greater-sum-tree
1161-maximum-level-sum-of-a-binary-tree
1218-lowest-common-ancestor-of-deepest-leaves
1339-maximum-product-of-splitted-binary-tree
1350-remove-sub-folders-from-the-filesystem
1387-find-elements-in-a-contaminated-binary-tree
1431-all-ancestors-of-a-node-in-a-directed-acyclic-graph
1492-time-needed-to-inform-all-employees
1507-check-if-there-is-a-valid-path-in-a-grid
1747-lexicographically-smallest-string-after-applying-operations
1970-last-day-where-you-can-still-cross
2092-find-all-people-with-secret
2121-find-if-path-exists-in-graph
2347-count-nodes-equal-to-average-of-subtree
2400-minimum-score-after-removals-on-a-tree
2438-find-closest-node-to-given-two-nodes
2564-most-profitable-path-in-a-tree
2793-count-the-number-of-complete-components
2872-maximum-number-of-k-divisible-components
3562-maximum-profit-from-trading-stocks-with-discounts
3633-maximize-the-number-of-target-nodes-after-connecting-trees-i
3645-maximize-the-number-of-target-nodes-after-connecting-trees-ii
3863-power-grid-maintenance
0100-same-tree
0101-symmetric-tree
0102-binary-tree-level-order-traversal
0103-binary-tree-zigzag-level-order-traversal
0104-maximum-depth-of-binary-tree
0200-number-of-islands
0310-minimum-height-trees
0399-evaluate-division
0407-trapping-rain-water-ii
0417-pacific-atlantic-water-flow
0463-island-perimeter
0515-find-largest-value-in-each-tree-row
0529-minesweeper
0542-01-matrix
0547-number-of-provinces
0684-redundant-connection
0690-employee-importance
0695-max-area-of-island
0721-accounts-merge
0733-flood-fill
0794-swim-in-rising-water
0801-is-graph-bipartite
0865-smallest-subtree-with-all-the-deepest-nodes
0871-keys-and-rooms
0922-possible-bipartition
0945-snakes-and-ladders
0960-minimize-malware-spread
0999-regions-cut-by-slashes
1036-rotting-oranges
1161-maximum-level-sum-of-a-binary-tree
1218-lowest-common-ancestor-of-deepest-leaves
1229-shortest-path-with-alternating-colors
1387-find-elements-in-a-contaminated-binary-tree
1424-maximum-candies-you-can-get-from-boxes
1431-all-ancestors-of-a-node-in-a-directed-acyclic-graph
1492-time-needed-to-inform-all-employees
1507-check-if-there-is-a-valid-path-in-a-grid
1747-lexicographically-smallest-string-after-applying-operations
1876-map-of-highest-peak
1970-last-day-where-you-can-still-cross
2092-find-all-people-with-secret
2121-find-if-path-exists-in-graph
2564-most-profitable-path-in-a-tree
2588-maximum-number-of-points-from-grid-queries
2793-count-the-number-of-complete-components
3633-maximize-the-number-of-target-nodes-after-connecting-trees-i
3645-maximize-the-number-of-target-nodes-after-connecting-trees-ii
3666-minimum-operations-to-equalize-binary-string
3863-power-grid-maintenance

Binary Tree

0098-validate-binary-search-tree
0099-recover-binary-search-tree
0100-same-tree
0101-symmetric-tree
0102-binary-tree-level-order-traversal
0103-binary-tree-zigzag-level-order-traversal
0104-maximum-depth-of-binary-tree
0108-convert-sorted-array-to-binary-search-tree
0129-sum-root-to-leaf-numbers
0144-binary-tree-preorder-traversal
0235-lowest-common-ancestor-of-a-binary-search-tree
0450-delete-node-in-a-bst
0515-find-largest-value-in-each-tree-row
0783-search-in-a-binary-search-tree
0784-insert-into-a-binary-search-tree
0789-kth-largest-element-in-a-stream
0865-smallest-subtree-with-all-the-deepest-nodes
0925-construct-binary-tree-from-preorder-and-postorder-traversal
1022-sum-of-root-to-leaf-binary-numbers
1092-maximum-difference-between-node-and-ancestor
1093-recover-a-tree-from-preorder-traversal
1114-binary-search-tree-to-greater-sum-tree
1161-maximum-level-sum-of-a-binary-tree
1218-lowest-common-ancestor-of-deepest-leaves
1339-maximum-product-of-splitted-binary-tree
1387-find-elements-in-a-contaminated-binary-tree
2347-count-nodes-equal-to-average-of-subtree

Graph

0310-minimum-height-trees
0399-evaluate-division
0547-number-of-provinces
0684-redundant-connection
0801-is-graph-bipartite
0871-keys-and-rooms
0881-loud-and-rich
0922-possible-bipartition
0960-minimize-malware-spread
1032-satisfiability-of-equality-equations
1039-find-the-town-judge
1229-shortest-path-with-alternating-colors
1325-path-with-maximum-probability
1424-maximum-candies-you-can-get-from-boxes
1431-all-ancestors-of-a-node-in-a-directed-acyclic-graph
1696-strange-printer-ii
1706-min-cost-to-connect-all-points
1912-number-of-restricted-paths-from-first-to-last-node
1986-largest-color-value-in-a-directed-graph
2092-find-all-people-with-secret
2121-find-if-path-exists-in-graph
2220-find-all-possible-recipes-from-given-supplies
2438-find-closest-node-to-given-two-nodes
2564-most-profitable-path-in-a-tree
2793-count-the-number-of-complete-components
3189-find-champion-ii
3348-minimum-cost-walk-in-weighted-graph
3627-find-minimum-time-to-reach-last-room-i
3628-find-minimum-time-to-reach-last-room-ii
3863-power-grid-maintenance

Monotonic Stack

0456-132-pattern
0739-daily-temperatures
0943-sum-of-subarray-minimums
1570-final-prices-with-a-special-discount-in-a-shop
1628-count-submatrices-with-all-ones
1633-minimum-number-of-increments-on-subarrays-to-form-a-target-array
3001-apply-operations-to-maximize-score
3834-minimum-operations-to-convert-all-elements-to-zero

Ordered Set

0456-132-pattern
1549-longest-continuous-subarray-with-absolute-diff-less-than-or-equal-to-limit
1772-create-sorted-array-through-instructions
2023-design-movie-rental-system
2280-count-good-triplets-in-an-array
2429-design-a-food-rating-system
2513-number-of-pairs-satisfying-inequality
3507-minimum-pair-removal-to-sort-array-i
3510-minimum-pair-removal-to-sort-array-ii
3666-minimum-operations-to-equalize-binary-string
3678-design-task-manager
3790-fruits-into-baskets-ii
3791-fruits-into-baskets-iii
3827-implement-router
3863-power-grid-maintenance

Number Theory

2307-replace-non-coprime-numbers-in-array
2415-count-the-number-of-ideal-arrays
2610-closest-prime-numbers-in-range
2753-minimum-number-of-operations-to-make-all-array-elements-equal-to-1
3001-apply-operations-to-maximize-score
3768-check-if-digits-are-equal-in-string-after-operations-i
3774-check-if-digits-are-equal-in-string-after-operations-ii

Topological Sort

0310-minimum-height-trees
0881-loud-and-rich
1431-all-ancestors-of-a-node-in-a-directed-acyclic-graph
1696-strange-printer-ii
1912-number-of-restricted-paths-from-first-to-last-node
1986-largest-color-value-in-a-directed-graph
2220-find-all-possible-recipes-from-given-supplies

Shortest Path

0399-evaluate-division
1325-path-with-maximum-probability
1912-number-of-restricted-paths-from-first-to-last-node
2976-minimum-cost-to-convert-string-i
2977-minimum-cost-to-convert-string-ii
3627-find-minimum-time-to-reach-last-room-i
3628-find-minimum-time-to-reach-last-room-ii
3650-minimum-cost-path-with-edge-reversals

Monotonic Queue

1549-longest-continuous-subarray-with-absolute-diff-less-than-or-equal-to-limit
2180-maximum-number-of-tasks-you-can-assign
2527-count-subarrays-with-fixed-bounds
3578-count-partitions-with-max-min-difference-at-most-k
0098-validate-binary-search-tree
0099-recover-binary-search-tree
0108-convert-sorted-array-to-binary-search-tree
0235-lowest-common-ancestor-of-a-binary-search-tree
0450-delete-node-in-a-bst
0783-search-in-a-binary-search-tree
0784-insert-into-a-binary-search-tree
0789-kth-largest-element-in-a-stream
1114-binary-search-tree-to-greater-sum-tree

Union Find

0128-longest-consecutive-sequence
0200-number-of-islands
0399-evaluate-division
0547-number-of-provinces
0684-redundant-connection
0695-max-area-of-island
0721-accounts-merge
0794-swim-in-rising-water
0801-is-graph-bipartite
0922-possible-bipartition
0960-minimize-malware-spread
0999-regions-cut-by-slashes
1032-satisfiability-of-equality-equations
1058-lexicographically-smallest-equivalent-string
1507-check-if-there-is-a-valid-path-in-a-grid
1706-min-cost-to-connect-all-points
1970-last-day-where-you-can-still-cross
2092-find-all-people-with-secret
2121-find-if-path-exists-in-graph
2588-maximum-number-of-points-from-grid-queries
2793-count-the-number-of-complete-components
3348-minimum-cost-walk-in-weighted-graph
3863-power-grid-maintenance

Interactive

0278-first-bad-version

Bitmask

1381-maximum-score-words-formed-by-letters
3233-maximize-the-number-of-partitions-after-operations
3851-find-sum-of-array-product-of-magical-sequences

Combinatorics

1993-sum-of-all-subset-xor-totals
2324-find-triangular-sum-of-an-array
2415-count-the-number-of-ideal-arrays
3201-distribute-candies-among-children-ii
3548-find-the-count-of-good-integers
3577-count-the-number-of-computer-unlocking-permutations
3637-count-number-of-balanced-permutations
3682-count-the-number-of-arrays-with-k-matching-adjacent-elements
3768-check-if-digits-are-equal-in-string-after-operations-i
3774-check-if-digits-are-equal-in-string-after-operations-ii
3851-find-sum-of-array-product-of-magical-sequences

Enumeration

0900-reordered-power-of-2
1656-count-good-triplets
1747-lexicographically-smallest-string-after-applying-operations
1925-count-square-sum-triples
1993-sum-of-all-subset-xor-totals
2140-longest-subsequence-repeated-k-times
2170-count-number-of-maximum-bitwise-or-subsets
2174-next-greater-numerically-balanced-number
2202-sum-of-k-mirror-numbers
2215-finding-3-digit-even-numbers
2837-minimum-operations-to-make-the-integer-zero
2975-maximum-square-area-by-removing-fences-from-a-field
2998-count-symmetric-integers
3010-divide-an-array-into-subarrays-with-minimum-cost-i
3201-distribute-candies-among-children-ii
3277-find-the-number-of-ways-to-place-people-ii
3278-find-the-number-of-ways-to-place-people-i
3459-find-the-minimum-area-to-cover-all-ones-ii
3479-count-the-number-of-substrings-with-dominant-ones
3548-find-the-count-of-good-integers
3683-find-the-lexicographically-largest-string-from-the-box-i
3741-reschedule-meetings-for-maximum-free-time-ii
3761-maximum-difference-between-even-and-odd-frequency-ii
3789-maximize-subarrays-after-removing-one-conflicting-pair

Binary Indexed Tree

1772-create-sorted-array-through-instructions
2280-count-good-triplets-in-an-array
2513-number-of-pairs-satisfying-inequality

Segment Tree

1622-fancy-sequence
1772-create-sorted-array-through-instructions
2280-count-good-triplets-in-an-array
2513-number-of-pairs-satisfying-inequality
3454-separate-squares-ii
3789-maximize-subarrays-after-removing-one-conflicting-pair
3790-fruits-into-baskets-ii
3791-fruits-into-baskets-iii

Memoization

1732-minimum-one-bit-operations-to-make-integers-zero
1986-largest-color-value-in-a-directed-graph
2028-the-earliest-and-latest-rounds-where-players-compete
2395-longest-binary-subsequence-less-than-or-equal-to-k
3733-length-of-longest-v-shaped-diagonal-segment

Minimum Spanning Tree

1706-min-cost-to-connect-all-points
3600-maximize-spanning-tree-stability-with-upgrades

Trie

0386-lexicographical-numbers
0440-k-th-smallest-in-lexicographical-order
1350-remove-sub-folders-from-the-filesystem
2079-delete-duplicate-folders-in-system
2977-minimum-cost-to-convert-string-ii

Hash Function

1461-check-if-a-string-contains-all-binary-codes-of-size-k
2079-delete-duplicate-folders-in-system

Probability and Statistics

0826-soup-servings
0867-new-21-game

Geometry

0830-largest-triangle-area
1266-minimum-time-visiting-all-points
3047-find-the-largest-area-of-square-inside-two-rectangles
3277-find-the-number-of-ways-to-place-people-ii
3278-find-the-number-of-ways-to-place-people-i
3623-count-number-of-trapezoids-i

Line Sweep

3454-separate-squares-ii

Graph Theory

2976-minimum-cost-to-convert-string-i
2977-minimum-cost-to-convert-string-ii
3600-maximize-spanning-tree-stability-with-upgrades
3650-minimum-cost-path-with-edge-reversals

Rolling Hash

1461-check-if-a-string-contains-all-binary-codes-of-size-k

Union-Find

3600-maximize-spanning-tree-stability-with-upgrades
3666-minimum-operations-to-equalize-binary-string
关于
4.2 MB
邀请码
    Gitlink(确实开源)
  • 加入我们
  • 官网邮箱:gitlink@ccf.org.cn
  • QQ群
  • QQ群
  • 公众号
  • 公众号

版权所有:中国计算机学会技术支持:开源发展技术委员会
京ICP备13000930号-9 京公网安备 11010802047560号