Skip to content

ADITYAGABA1322/Daily-LeetCode-Challenge-Solution

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

8,921 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

Daily-LeetCode-Challenge-Solution πŸ‘€

MasterHead

Hi Everyone. It's me Aditya and Here I'm providing you Daily LeetCode Challenge Solution with a full Explanation(Line to Line)

In Nine Languages:

C++🫢 && JAVA && Python && Python3 && C && C# && JavaScript && Swift && Dart πŸ”₯

LeetCode Topics

Greedy

0011-container-with-most-water
0045-jump-game-ii
0055-jump-game
0135-candy
0179-largest-number
0611-valid-triangle-number
0624-maximum-distance-in-arrays
0632-smallest-range-covering-elements-from-k-lists
0670-maximum-swap
0757-set-intersection-size-at-least-two
0768-partition-labels
0780-max-chunks-to-make-sorted
0797-rabbits-in-forest
0890-lemonade-change
0955-delete-columns-to-make-sorted-ii
0957-minimum-add-to-make-parentheses-valid
1018-largest-perimeter-triangle
1049-minimum-domino-rotations-for-equal-row
1262-greatest-sum-divisible-by-three
1304-longest-happy-string
1334-sum-of-numbers-with-units-digit-k
1382-balance-a-binary-search-tree
1407-group-the-people-given-the-group-size-they-belong-to
1448-maximum-69-number
1478-maximum-number-of-events-that-can-be-attended
1502-construct-k-palindrome-strings
1529-max-difference-you-can-get-from-changing-an-integer
1536-minimum-swaps-to-arrange-a-binary-grid
1612-avoid-flood-in-the-city
1616-minimum-difference-between-largest-and-smallest-value-in-three-moves
1633-minimum-number-of-increments-on-subarrays-to-form-a-target-array
1689-partitioning-into-minimum-number-of-deci-binary-numbers
1700-minimum-time-to-make-rope-colorful
1711-find-valid-matrix-given-row-and-column-sums
1727-largest-submatrix-with-rearrangements
1766-minimum-number-of-removals-to-make-mountain-array
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
1975-maximum-matrix-sum
2078-two-furthest-houses-with-different-colors
2089-maximum-matrix-sum
2095-minimum-number-of-swaps-to-make-the-string-balanced
2140-longest-subsequence-repeated-k-times
2141-maximum-running-time-of-n-computers
2180-maximum-number-of-tasks-you-can-assign
2221-check-if-a-parentheses-string-can-be-valid
2237-longest-palindrome-by-concatenating-two-letter-words
2300-construct-string-with-repeat-limit
2379-maximum-total-importance-of-roads
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
2488-divide-intervals-into-minimum-number-of-groups
2497-maximum-matching-of-players-with-trainers
2509-minimize-xor
2520-using-a-robot-to-print-the-lexicographically-smallest-string
2538-minimum-cost-to-make-array-equal
2573-find-the-string-with-lcp
2616-maximal-score-after-applying-k-operations
2618-maximize-the-minimum-powered-city
2640-maximum-number-of-integers-to-choose-from-a-range-i
2661-smallest-missing-non-negative-integer-after-operations
2681-put-marbles-in-bags
2689-rearranging-fruits
2704-maximum-difference-by-remapping-a-digit
2716-prime-subtraction-operation
2720-minimize-the-maximum-difference-of-pairs
3001-apply-operations-to-maximize-score
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
3229-minimum-cost-to-make-array-equalindromic
3241-divide-array-into-arrays-with-max-difference
3276-minimum-number-of-pushes-to-type-word-ii
3296-minimum-number-of-seconds-to-make-mountain-height-zero
3307-find-the-maximum-sum-of-node-values
3360-minimum-deletions-to-make-string-k-special
3445-lexicographically-minimum-string-after-removing-stars
3474-lexicographically-smallest-generated-string
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
3788-maximum-unique-subarray-sum-after-deletion
3834-minimum-operations-to-convert-all-elements-to-zero

Graph

0133-clone-graph
0684-redundant-connection
0820-find-eventual-safe-states
0984-most-stones-removed-with-same-row-or-column
1325-path-with-maximum-probability
1424-maximum-candies-you-can-get-from-boxes
1431-all-ancestors-of-a-node-in-a-directed-acyclic-graph
1456-find-the-city-with-the-smallest-number-of-neighbors-at-a-threshold-distance
1485-minimum-cost-to-make-at-least-one-valid-path-in-a-grid
1558-course-schedule-iv
1701-remove-max-number-of-edges-to-keep-graph-fully-traversable
1986-largest-color-value-in-a-directed-graph
2090-number-of-ways-to-arrive-at-destination
2092-find-all-people-with-secret
2171-second-minimum-time-to-reach-destination
2201-valid-arrangement-of-pairs
2220-find-all-possible-recipes-from-given-supplies
2246-maximum-employees-to-be-invited-to-a-meeting
2375-minimum-obstacle-removal-to-reach-corner
2379-maximum-total-importance-of-roads
2438-find-closest-node-to-given-two-nodes
2472-build-a-matrix-with-conditions
2564-most-profitable-path-in-a-tree
2583-divide-nodes-into-the-maximum-number-of-groups
2711-minimum-time-to-visit-a-cell-in-a-grid
2793-count-the-number-of-complete-components
2803-modify-graph-edge-weights
3189-find-champion-ii
3235-minimum-cost-to-convert-string-i
3271-count-the-number-of-houses-at-a-certain-distance-i
3348-minimum-cost-walk-in-weighted-graph
3439-find-minimum-diameter-after-merging-two-trees
3517-shortest-distance-after-road-addition-queries-i
3627-find-minimum-time-to-reach-last-room-i
3628-find-minimum-time-to-reach-last-room-ii
3863-power-grid-maintenance

Sorting

0049-group-anagrams
0075-sort-colors
0179-largest-number
0217-contains-duplicate
0350-intersection-of-two-arrays-ii
0368-largest-divisible-subset
0462-minimum-moves-to-equal-array-elements-ii
0539-minimum-time-difference
0594-longest-harmonious-subsequence
0611-valid-triangle-number
0632-smallest-range-covering-elements-from-k-lists
0719-find-k-th-smallest-pair-distance
0726-number-of-atoms
0757-set-intersection-size-at-least-two
0761-special-binary-string
0780-max-chunks-to-make-sorted
0900-reordered-power-of-2
0948-sort-an-array
1018-largest-perimeter-triangle
1200-minimum-absolute-difference
1256-rank-transform-of-an-array
1262-greatest-sum-divisible-by-three
1333-sort-the-jumbled-numbers
1353-find-resultant-array-after-removing-anagrams
1356-sort-integers-by-the-number-of-1-bits
1468-check-if-n-and-its-double-exist
1478-maximum-number-of-events-that-can-be-attended
1556-make-two-arrays-equal-by-reversing-subarrays
1615-range-sum-of-sorted-subarray-sums
1616-minimum-difference-between-largest-and-smallest-value-in-three-moves
1621-number-of-subsequences-that-satisfy-the-given-sum-condition
1727-largest-submatrix-with-rearrangements
1741-sort-array-by-increasing-frequency
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
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
2160-minimum-operations-to-make-a-uni-value-grid
2164-two-best-non-overlapping-events
2179-most-beautiful-item-for-each-query
2180-maximum-number-of-tasks-you-can-assign
2204-find-subsequence-of-length-k-with-the-largest-sum
2215-finding-3-digit-even-numbers
2274-keep-multiplying-found-values-by-two
2379-maximum-total-importance-of-roads
2387-partition-array-such-that-maximum-difference-is-k
2392-successful-pairs-of-spells-and-potions
2402-meeting-rooms-iii
2463-minimum-total-distance-traveled
2473-max-sum-of-a-pair-with-equal-sum-of-digits
2479-meeting-rooms-iii
2488-divide-intervals-into-minimum-number-of-groups
2497-maximum-matching-of-players-with-trainers
2502-sort-the-people
2538-minimum-cost-to-make-array-equal
2554-minimum-total-distance-traveled
2586-longest-square-streak-in-an-array
2588-maximum-number-of-points-from-grid-queries
2640-maximum-number-of-integers-to-choose-from-a-range-i
2646-kth-largest-sum-in-a-binary-tree
2681-put-marbles-in-bags
2689-rearranging-fruits
2695-find-score-of-an-array-after-marking-all-elements
2699-count-the-number-of-fair-pairs
2718-minimum-operations-to-make-all-array-elements-equal
2751-robot-collisions
2840-check-if-strings-can-be-made-equal-with-operations-ii
2846-robot-collisions
2887-sort-vowels-in-a-string
2888-minimum-index-of-a-valid-split
2891-maximum-beauty-of-an-array-after-applying-operation
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
3219-make-lexicographically-smallest-array-by-swapping-elements
3229-minimum-cost-to-make-array-equalindromic
3241-divide-array-into-arrays-with-max-difference
3276-minimum-number-of-pushes-to-type-word-ii
3277-find-the-number-of-ways-to-place-people-ii
3278-find-the-number-of-ways-to-place-people-i
3291-find-if-array-can-be-sorted
3307-find-the-maximum-sum-of-node-values
3321-type-of-triangle
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
3567-minimum-absolute-difference-in-sliding-submatrix
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
3661-maximum-walls-destroyed-by-robots
3748-sort-matrix-by-diagonals

Heap (Priority Queue)

0264-ugly-number-ii
0407-trapping-rain-water-ii
0632-smallest-range-covering-elements-from-k-lists
0789-kth-largest-element-in-a-stream
0794-swim-in-rising-water
0892-shortest-subarray-with-sum-at-least-k
0948-sort-an-array
1304-longest-happy-string
1325-path-with-maximum-probability
1478-maximum-number-of-events-that-can-be-attended
1485-minimum-cost-to-make-at-least-one-valid-path-in-a-grid
1612-avoid-flood-in-the-city
1878-get-biggest-three-rhombus-sums-in-a-grid
1917-maximum-average-pass-ratio
2023-design-movie-rental-system
2054-the-number-of-the-smallest-unoccupied-chair
2054-two-best-non-overlapping-events
2164-two-best-non-overlapping-events
2204-find-subsequence-of-length-k-with-the-largest-sum
2267-minimum-difference-in-sums-after-removal-of-elements
2300-construct-string-with-repeat-limit
2375-minimum-obstacle-removal-to-reach-corner
2379-maximum-total-importance-of-roads
2402-meeting-rooms-iii
2429-design-a-food-rating-system
2434-design-a-number-container-system
2473-max-sum-of-a-pair-with-equal-sum-of-digits
2479-meeting-rooms-iii
2488-divide-intervals-into-minimum-number-of-groups
2588-maximum-number-of-points-from-grid-queries
2616-maximal-score-after-applying-k-operations
2681-put-marbles-in-bags
2692-take-gifts-from-the-richest-pile
2695-find-score-of-an-array-after-marking-all-elements
2711-minimum-time-to-visit-a-cell-in-a-grid
2803-modify-graph-edge-weights
2868-continuous-subarrays
3013-divide-an-array-into-subarrays-with-minimum-cost-ii
3181-find-building-where-alice-and-bob-can-meet
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
3555-final-array-state-after-k-multiplication-operations-i
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
3863-power-grid-maintenance

Breadth-First Search

0133-clone-graph
0322-coin-change
0407-trapping-rain-water-ii
0417-pacific-atlantic-water-flow
0515-find-largest-value-in-each-tree-row
0684-redundant-connection
0787-sliding-puzzle
0794-swim-in-rising-water
0820-find-eventual-safe-states
0854-making-a-large-island
0865-smallest-subtree-with-all-the-deepest-nodes
0945-snakes-and-ladders
0999-regions-cut-by-slashes
1161-maximum-level-sum-of-a-binary-tree
1218-lowest-common-ancestor-of-deepest-leaves
1387-find-elements-in-a-contaminated-binary-tree
1396-count-servers-that-communicate
1424-maximum-candies-you-can-get-from-boxes
1431-all-ancestors-of-a-node-in-a-directed-acyclic-graph
1485-minimum-cost-to-make-at-least-one-valid-path-in-a-grid
1558-course-schedule-iv
1691-minimum-number-of-days-to-disconnect-island
1747-lexicographically-smallest-string-after-applying-operations
1876-map-of-highest-peak
1970-last-day-where-you-can-still-cross
2035-count-sub-islands
2092-find-all-people-with-secret
2171-second-minimum-time-to-reach-destination
2375-minimum-obstacle-removal-to-reach-corner
2493-reverse-odd-levels-of-binary-tree
2545-height-of-binary-tree-after-subtree-removal-queries
2558-minimum-number-of-operations-to-sort-a-binary-tree-by-level
2564-most-profitable-path-in-a-tree
2583-divide-nodes-into-the-maximum-number-of-groups
2588-maximum-number-of-points-from-grid-queries
2646-kth-largest-sum-in-a-binary-tree
2677-cousins-in-binary-tree-ii
2711-minimum-time-to-visit-a-cell-in-a-grid
2764-maximum-number-of-fish-in-a-grid
2793-count-the-number-of-complete-components
3271-count-the-number-of-houses-at-a-certain-distance-i
3439-find-minimum-diameter-after-merging-two-trees
3517-shortest-distance-after-road-addition-queries-i
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

Prefix Sum

0238-product-of-array-except-self
0892-shortest-subarray-with-sum-at-least-k
1240-stone-game-ii
1292-maximum-side-length-of-a-square-with-sum-less-than-or-equal-to-threshold
1435-xor-queries-of-a-subarray
1473-find-the-longest-substring-containing-vowels-in-even-counts
1477-product-of-the-last-k-numbers
1537-maximum-score-after-splitting-a-string
1590-make-sum-divisible-by-p
1631-number-of-sub-arrays-with-odd-sum
1694-make-sum-divisible-by-p
1878-get-biggest-three-rhombus-sums-in-a-grid
1895-minimum-number-of-operations-to-move-all-balls-to-each-box
1895-largest-magic-square
1930-unique-length-3-palindromic-subsequences
1940-maximum-xor-for-each-query
2006-find-the-student-that-will-replace-the-chalk
2059-unique-length-3-palindromic-subsequences
2145-grid-game
2229-maximum-fruits-harvested-after-at-most-k-steps
2249-count-the-hidden-sequences
2358-number-of-ways-to-split-array
2394-count-subarrays-with-score-less-than-k
2465-shifting-letters-ii
2483-minimum-penalty-for-a-shop
2488-divide-intervals-into-minimum-number-of-groups
2529-range-product-queries-of-powers
2538-minimum-cost-to-make-array-equal
2618-maximize-the-minimum-powered-city
2625-increment-submatrices-by-one
2691-count-vowel-strings-in-ranges
2718-minimum-operations-to-make-all-array-elements-equal
2906-construct-product-matrix
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
3271-count-the-number-of-houses-at-a-certain-distance-i
3381-maximum-subarray-sum-with-length-divisible-by-k
3383-taking-maximum-energy-from-the-mystic-dungeon
3427-special-array-ii
3432-count-partitions-with-even-sum-difference
3475-minimum-operations-to-make-binary-array-elements-equal-to-one-i
3546-equal-sum-grid-partition-i
3548-equal-sum-grid-partition-ii
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
3719-longest-balanced-subarray-i
3721-longest-balanced-subarray-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

Depth-First Search

0110-balanced-binary-tree
0133-clone-graph
0145-binary-tree-postorder-traversal
0236-lowest-common-ancestor-of-a-binary-tree
0386-lexicographical-numbers
0417-pacific-atlantic-water-flow
0515-find-largest-value-in-each-tree-row
0684-redundant-connection
0776-n-ary-tree-postorder-traversal
0794-swim-in-rising-water
0820-find-eventual-safe-states
0854-making-a-large-island
0865-smallest-subtree-with-all-the-deepest-nodes
0984-most-stones-removed-with-same-row-or-column
0988-flip-equivalent-binary-trees
0999-regions-cut-by-slashes
1022-sum-of-root-to-leaf-binary-numbers
1093-recover-a-tree-from-preorder-traversal
1161-maximum-level-sum-of-a-binary-tree
1207-delete-nodes-and-return-forest
1218-lowest-common-ancestor-of-deepest-leaves
1339-maximum-product-of-splitted-binary-tree
1350-remove-sub-folders-from-the-filesystem
1382-balance-a-binary-search-tree
1387-find-elements-in-a-contaminated-binary-tree
1396-count-servers-that-communicate
1431-all-ancestors-of-a-node-in-a-directed-acyclic-graph
1558-course-schedule-iv
1691-minimum-number-of-days-to-disconnect-island
1722-minimize-hamming-distance-after-swap-operations
1747-lexicographically-smallest-string-after-applying-operations
1970-last-day-where-you-can-still-cross
2035-count-sub-islands
2092-find-all-people-with-secret
2201-valid-arrangement-of-pairs
2217-step-by-step-directions-from-a-binary-tree-node-to-another
2246-maximum-employees-to-be-invited-to-a-meeting
2400-minimum-score-after-removals-on-a-tree
2438-find-closest-node-to-given-two-nodes
2493-reverse-odd-levels-of-binary-tree
2545-height-of-binary-tree-after-subtree-removal-queries
2564-most-profitable-path-in-a-tree
2677-cousins-in-binary-tree-ii
2764-maximum-number-of-fish-in-a-grid
2793-count-the-number-of-complete-components
2872-maximum-number-of-k-divisible-components
3058-maximum-number-of-k-divisible-components
3439-find-minimum-diameter-after-merging-two-trees
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

Topological Sort

0820-find-eventual-safe-states
1431-all-ancestors-of-a-node-in-a-directed-acyclic-graph
1558-course-schedule-iv
1986-largest-color-value-in-a-directed-graph
2090-number-of-ways-to-arrive-at-destination
2220-find-all-possible-recipes-from-given-supplies
2246-maximum-employees-to-be-invited-to-a-meeting
2472-build-a-matrix-with-conditions

Two Pointers

0005-longest-palindromic-substring
0011-container-with-most-water
0042-trapping-rain-water
0075-sort-colors
0165-compare-version-numbers
0350-intersection-of-two-arrays-ii
0611-valid-triangle-number
0647-palindromic-substrings
0696-count-binary-substrings
0719-find-k-th-smallest-pair-distance
0768-partition-labels
0868-push-dominoes
1468-check-if-n-and-its-double-exist
1566-check-if-a-word-occurs-as-a-prefix-of-any-word-in-a-sentence
1615-range-sum-of-sorted-subarray-sums
1621-number-of-subsequences-that-satisfy-the-given-sum-condition
1679-shortest-subarray-to-be-removed-to-make-array-sorted
1855-maximum-distance-between-a-pair-of-values
1877-minimize-maximum-pair-sum-in-array
1923-sentence-similarity-iii
1972-rotating-the-box
2095-minimum-number-of-swaps-to-make-the-string-balanced
2232-adding-spaces-to-a-string
2265-partition-array-according-to-given-pivot
2320-find-all-k-distant-indices-in-an-array
2392-successful-pairs-of-spells-and-potions
2414-move-pieces-to-obtain-a-string
2488-divide-intervals-into-minimum-number-of-groups
2497-maximum-matching-of-players-with-trainers
2551-apply-operations-to-an-array
2588-maximum-number-of-points-from-grid-queries
2699-count-the-number-of-fair-pairs
2707-merge-two-2d-arrays-by-summing-values
3018-make-string-a-subsequence-using-cyclic-increments
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

String

0005-longest-palindromic-substring
0010-regular-expression-matching
0038-count-and-say
0049-group-anagrams
0067-add-binary
0091-decode-ways
0139-word-break
0165-compare-version-numbers
0166-fraction-to-recurring-decimal
0179-largest-number
0214-shortest-palindrome
0241-different-ways-to-add-parentheses
0273-integer-to-english-words
0474-ones-and-zeroes
0516-longest-palindromic-subsequence
0539-minimum-time-difference
0564-find-the-closest-palindrome
0592-fraction-addition-and-subtraction
0647-palindromic-substrings
0657-robot-return-to-origin
0664-strange-printer
0696-count-binary-substrings
0712-minimum-ascii-delete-sum-for-two-strings
0726-number-of-atoms
0756-pyramid-transition-matrix
0761-special-binary-string
0768-partition-labels
0812-rotate-string
0868-push-dominoes
0920-uncommon-words-from-two-sentences
0944-delete-columns-to-make-sorted
0952-word-subsets
0955-delete-columns-to-make-sorted-ii
0957-minimum-add-to-make-parentheses-valid
0960-delete-columns-to-make-sorted-iii
1006-vowel-spellchecker
1058-lexicographically-smallest-equivalent-string
1093-recover-a-tree-from-preorder-traversal
1160-letter-tile-possibilities
1170-shortest-common-supersequence
1197-parsing-a-boolean-expression
1250-longest-common-subsequence
1264-maximum-number-of-words-you-can-type
1298-reverse-substrings-between-each-pair-of-parentheses
1302-delete-characters-to-make-fancy-string
1304-longest-happy-string
1320-minimum-distance-to-type-a-word-using-two-fingers
1350-remove-sub-folders-from-the-filesystem
1353-find-resultant-array-after-removing-anagrams
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
1473-find-the-longest-substring-containing-vowels-in-even-counts
1502-construct-k-palindrome-strings
1516-the-k-th-lexicographical-string-of-all-happy-strings-of-length-n
1524-string-matching-in-an-array
1537-maximum-score-after-splitting-a-string
1545-find-kth-bit-in-nth-binary-string
1566-check-if-a-word-occurs-as-a-prefix-of-any-word-in-a-sentence
1636-number-of-substrings-with-only-1s
1653-minimum-deletions-to-make-string-balanced
1667-find-kth-bit-in-nth-binary-string
1689-partitioning-into-minimum-number-of-deci-binary-numbers
1700-minimum-time-to-make-rope-colorful
1715-split-a-string-into-the-max-number-of-unique-substrings
1720-crawler-log-folder
1744-number-of-ways-to-form-a-target-string-given-a-dictionary
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
1786-count-the-number-of-consistent-strings
1818-maximum-score-from-removing-substrings
1888-minimum-number-of-flips-to-make-the-binary-string-alternating
1895-minimum-number-of-operations-to-move-all-balls-to-each-box
1915-check-if-one-string-swap-can-make-strings-equal
1923-sentence-similarity-iii
1930-unique-length-3-palindromic-subsequences
1980-find-unique-binary-string
2021-remove-all-occurrences-of-a-substring
2059-unique-length-3-palindromic-subsequences
2075-decode-the-slanted-ciphertext
2076-sum-of-digits-of-string-after-convert
2079-delete-duplicate-folders-in-system
2095-minimum-number-of-swaps-to-make-the-string-balanced
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
2163-kth-distinct-string-in-an-array
2211-count-collisions-on-a-road
2217-step-by-step-directions-from-a-binary-tree-node-to-another
2220-find-all-possible-recipes-from-given-supplies
2221-check-if-a-parentheses-string-can-be-valid
2232-adding-spaces-to-a-string
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
2292-counting-words-with-a-given-prefix
2300-construct-string-with-repeat-limit
2346-largest-3-same-digit-number-in-string
2395-longest-binary-subsequence-less-than-or-equal-to-k
2414-move-pieces-to-obtain-a-string
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
2483-minimum-penalty-for-a-shop
2494-sum-of-prefix-scores-of-strings
2502-sort-the-people
2515-shortest-distance-to-target-string-in-a-circular-array
2520-using-a-robot-to-print-the-lexicographically-smallest-string
2573-find-the-string-with-lcp
2580-circular-sentence
2599-take-k-of-each-character-from-left-and-right
2691-count-vowel-strings-in-ranges
2727-number-of-senior-citizens
2755-extra-characters-in-a-string
2757-count-of-integers
2800-minimum-string-length-after-removing-substrings
2839-check-if-strings-can-be-made-equal-with-operations-i
2840-check-if-strings-can-be-made-equal-with-operations-ii
2887-sort-vowels-in-a-string
2976-minimum-cost-to-convert-string-i
2977-minimum-cost-to-convert-string-ii
3018-make-string-a-subsequence-using-cyclic-increments
3142-longest-unequal-adjacent-groups-subsequence-ii
3143-longest-unequal-adjacent-groups-subsequence-i
3174-minimum-number-of-changes-to-make-binary-string-beautiful
3194-find-words-containing-character
3195-separate-black-and-white-balls
3233-maximize-the-number-of-partitions-after-operations
3235-minimum-cost-to-convert-string-i
3243-count-the-number-of-powerful-integers
3267-find-longest-special-substring-that-occurs-thrice-i
3276-minimum-number-of-pushes-to-type-word-ii
3309-count-prefix-and-suffix-pairs-i
3329-find-the-length-of-the-longest-common-prefix
3360-minimum-deletions-to-make-string-k-special
3396-valid-word
3445-lexicographically-minimum-string-after-removing-stars
3447-clear-digits
3451-string-compression-iii
3455-minimum-length-of-string-after-operations
3462-vowels-game-in-a-string
3474-lexicographically-smallest-generated-string
3479-count-the-number-of-substrings-with-dominant-ones
3493-maximum-number-of-operations-to-move-ones-to-the-end
3569-count-of-substrings-containing-every-vowel-and-k-consonants-ii
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
3713-longest-balanced-substring-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
3797-design-spreadsheet
3872-find-most-frequent-vowel-and-consonant

Dynamic Programming

0005-longest-palindromic-substring
0010-regular-expression-matching
0042-trapping-rain-water
0045-jump-game-ii
0053-maximum-subarray
0055-jump-game
0062-unique-paths
0063-unique-paths-ii
0085-maximal-rectangle
0091-decode-ways
0118-pascals-triangle
0120-triangle
0139-word-break
0152-maximum-product-subarray
0198-house-robber
0213-house-robber-ii
0241-different-ways-to-add-parentheses
0264-ugly-number-ii
0300-longest-increasing-subsequence
0322-coin-change
0368-largest-divisible-subset
0377-combination-sum-iv
0416-partition-equal-subset-sum
0474-ones-and-zeroes
0494-target-sum
0516-longest-palindromic-subsequence
0600-non-negative-integers-without-consecutive-ones
0647-palindromic-substrings
0650-2-keys-keyboard
0664-strange-printer
0689-maximum-sum-of-3-non-overlapping-subarrays
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
0960-delete-columns-to-make-sorted-iii
1025-minimum-cost-for-tickets
1057-numbers-with-repeated-digits
1063-best-sightseeing-pair
1111-minimum-score-triangulation-of-polygon
1170-shortest-common-supersequence
1240-stone-game-ii
1250-longest-common-subsequence
1262-greatest-sum-divisible-by-three
1320-minimum-distance-to-type-a-word-using-two-fingers
1334-sum-of-numbers-with-units-digit-k
1402-count-square-submatrices-with-all-ones
1411-number-of-ways-to-paint-n-3-grid
1456-find-the-city-with-the-smallest-number-of-neighbors-at-a-threshold-distance
1458-max-dot-product-of-two-subsequences
1511-count-number-of-teams
1586-longest-subarray-of-1s-after-deleting-one-element
1594-maximum-non-negative-product-in-a-matrix
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
1653-minimum-deletions-to-make-string-balanced
1700-minimum-time-to-make-rope-colorful
1732-minimum-one-bit-operations-to-make-integers-zero
1744-number-of-ways-to-form-a-target-string-given-a-dictionary
1766-minimum-number-of-removals-to-make-mountain-array
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
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
2067-maximum-number-of-points-with-cost
2090-number-of-ways-to-arrive-at-destination
2110-number-of-smooth-descent-periods-of-a-stock
2147-number-of-ways-to-divide-a-long-corridor
2164-two-best-non-overlapping-events
2262-solving-questions-with-brainpower
2267-minimum-difference-in-sums-after-removal-of-elements
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
2463-minimum-total-distance-traveled
2554-minimum-total-distance-traveled
2562-count-ways-to-build-good-strings
2573-find-the-string-with-lcp
2586-longest-square-streak-in-an-array
2755-extra-characters-in-a-string
2757-count-of-integers
2794-maximum-number-of-moves-in-a-grid
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
3418-maximum-amount-of-money-robot-can-earn
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
3661-maximum-walls-destroyed-by-robots
3733-length-of-longest-v-shaped-diagonal-segment
3851-find-sum-of-array-product-of-magical-sequences

Rolling Hash

0214-shortest-palindrome
1461-check-if-a-string-contains-all-binary-codes-of-size-k
3309-count-prefix-and-suffix-pairs-i

String Matching

0214-shortest-palindrome
0812-rotate-string
1524-string-matching-in-an-array
1566-check-if-a-word-occurs-as-a-prefix-of-any-word-in-a-sentence
2292-counting-words-with-a-given-prefix
3309-count-prefix-and-suffix-pairs-i
3474-lexicographically-smallest-generated-string

Hash Function

0214-shortest-palindrome
1461-check-if-a-string-contains-all-binary-codes-of-size-k
2079-delete-duplicate-folders-in-system
3309-count-prefix-and-suffix-pairs-i

Union Find

0128-longest-consecutive-sequence
0684-redundant-connection
0794-swim-in-rising-water
0854-making-a-large-island
0984-most-stones-removed-with-same-row-or-column
0999-regions-cut-by-slashes
1058-lexicographically-smallest-equivalent-string
1396-count-servers-that-communicate
1701-remove-max-number-of-edges-to-keep-graph-fully-traversable
1970-last-day-where-you-can-still-cross
2035-count-sub-islands
2092-find-all-people-with-secret
2583-divide-nodes-into-the-maximum-number-of-groups
2588-maximum-number-of-points-from-grid-queries
2764-maximum-number-of-fish-in-a-grid
2793-count-the-number-of-complete-components
3219-make-lexicographically-smallest-array-by-swapping-elements
3348-minimum-cost-walk-in-weighted-graph
3863-power-grid-maintenance

Array

0001-two-sum
0004-median-of-two-sorted-arrays
0011-container-with-most-water
0033-search-in-rotated-sorted-array
0036-valid-sudoku
0037-sudoku-solver
0040-combination-sum-ii
0042-trapping-rain-water
0045-jump-game-ii
0049-group-anagrams
0053-maximum-subarray
0055-jump-game
0063-unique-paths-ii
0066-plus-one
0073-set-matrix-zeroes
0075-sort-colors
0085-maximal-rectangle
0118-pascals-triangle
0120-triangle
0128-longest-consecutive-sequence
0135-candy
0139-word-break
0152-maximum-product-subarray
0179-largest-number
0198-house-robber
0213-house-robber-ii
0217-contains-duplicate
0238-product-of-array-except-self
0300-longest-increasing-subsequence
0307-range-sum-query-mutable
0322-coin-change
0350-intersection-of-two-arrays-ii
0368-largest-divisible-subset
0377-combination-sum-iv
0407-trapping-rain-water-ii
0416-partition-equal-subset-sum
0417-pacific-atlantic-water-flow
0453-minimum-moves-to-equal-array-elements
0462-minimum-moves-to-equal-array-elements-ii
0474-ones-and-zeroes
0494-target-sum
0498-diagonal-traverse
0539-minimum-time-difference
0594-longest-harmonious-subsequence
0611-valid-triangle-number
0624-maximum-distance-in-arrays
0632-smallest-range-covering-elements-from-k-lists
0679-24-game
0689-maximum-sum-of-3-non-overlapping-subarrays
0717-1-bit-and-2-bit-characters
0719-find-k-th-smallest-pair-distance
0729-my-calendar-i
0744-find-smallest-letter-greater-than-target
0757-set-intersection-size-at-least-two
0780-max-chunks-to-make-sorted
0787-sliding-puzzle
0794-swim-in-rising-water
0797-rabbits-in-forest
0830-largest-triangle-area
0840-magic-squares-in-grid
0854-making-a-large-island
0859-design-circular-deque
0870-magic-squares-in-grid
0874-walking-robot-simulation
0890-lemonade-change
0892-shortest-subarray-with-sum-at-least-k
0905-length-of-longest-fibonacci-subsequence
0906-walking-robot-simulation
0921-spiral-matrix-iii
0925-construct-binary-tree-from-preorder-and-postorder-traversal
0934-bitwise-ors-of-subarrays
0940-fruit-into-baskets
0944-delete-columns-to-make-sorted
0945-snakes-and-ladders
0948-sort-an-array
0952-word-subsets
0955-delete-columns-to-make-sorted-ii
0960-delete-columns-to-make-sorted-iii
0961-n-repeated-element-in-size-2n-array
0999-regions-cut-by-slashes
1002-maximum-width-ramp
1006-vowel-spellchecker
1018-largest-perimeter-triangle
1018-binary-prefix-divisible-by-5
1025-minimum-cost-for-tickets
1049-minimum-domino-rotations-for-equal-row
1063-best-sightseeing-pair
1111-minimum-score-triangulation-of-polygon
1147-flip-columns-for-maximum-number-of-equal-rows
1200-minimum-absolute-difference
1207-delete-nodes-and-return-forest
1227-number-of-equivalent-domino-pairs
1240-stone-game-ii
1256-rank-transform-of-an-array
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
1333-sort-the-jumbled-numbers
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
1356-sort-integers-by-the-number-of-1-bits
1364-tuple-with-same-product
1390-four-divisors
1396-count-servers-that-communicate
1402-count-square-submatrices-with-all-ones
1407-group-the-people-given-the-group-size-they-belong-to
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
1468-check-if-n-and-its-double-exist
1477-product-of-the-last-k-numbers
1478-maximum-number-of-events-that-can-be-attended
1485-minimum-cost-to-make-at-least-one-valid-path-in-a-grid
1496-lucky-numbers-in-a-matrix
1497-design-a-stack-with-increment-operation
1510-find-lucky-integer-in-an-array
1511-count-number-of-teams
1524-string-matching-in-an-array
1536-minimum-swaps-to-arrange-a-binary-grid
1548-check-if-all-1s-are-at-least-length-k-places-away
1556-make-two-arrays-equal-by-reversing-subarrays
1570-final-prices-with-a-special-discount-in-a-shop
1582-special-positions-in-a-binary-matrix
1586-longest-subarray-of-1s-after-deleting-one-element
1590-make-sum-divisible-by-p
1594-maximum-non-negative-product-in-a-matrix
1612-avoid-flood-in-the-city
1615-range-sum-of-sorted-subarray-sums
1616-minimum-difference-between-largest-and-smallest-value-in-three-moves
1620-check-if-array-pairs-are-divisible-by-k
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
1656-count-good-triplets
1679-shortest-subarray-to-be-removed-to-make-array-sorted
1691-minimum-number-of-days-to-disconnect-island
1694-make-sum-divisible-by-p
1700-minimum-time-to-make-rope-colorful
1711-find-valid-matrix-given-row-and-column-sums
1720-crawler-log-folder
1722-minimize-hamming-distance-after-swap-operations
1727-largest-submatrix-with-rearrangements
1741-sort-array-by-increasing-frequency
1744-number-of-ways-to-form-a-target-string-given-a-dictionary
1755-defuse-the-bomb
1766-minimum-number-of-removals-to-make-mountain-array
1786-count-the-number-of-consistent-strings
1803-average-waiting-time
1813-maximum-erasure-value
1819-construct-the-lexicographically-largest-valid-sequence
1834-minimum-number-of-people-to-teach
1848-minimum-distance-to-the-target-element
1849-maximum-absolute-sum-of-any-subarray
1851-maximum-number-of-events-that-can-be-attended-ii
1855-maximum-distance-between-a-pair-of-values
1876-map-of-highest-peak
1877-minimize-maximum-pair-sum-in-array
1878-check-if-array-is-sorted-and-rotated
1878-get-biggest-three-rhombus-sums-in-a-grid
1886-minimum-limit-of-balls-in-a-bag
1886-determine-whether-matrix-can-be-obtained-by-rotation
1895-minimum-number-of-operations-to-move-all-balls-to-each-box
1895-largest-magic-square
1917-maximum-average-pass-ratio
1923-sentence-similarity-iii
1927-maximum-ascending-subarray-sum
1940-maximum-xor-for-each-query
1951-find-the-winner-of-the-circular-game
1970-last-day-where-you-can-still-cross
1972-rotating-the-box
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
2006-find-the-student-that-will-replace-the-chalk
2023-design-movie-rental-system
2035-count-sub-islands
2048-build-array-from-permutation
2054-the-number-of-the-smallest-unoccupied-chair
2054-two-best-non-overlapping-events
2067-maximum-number-of-points-with-cost
2078-two-furthest-houses-with-different-colors
2079-delete-duplicate-folders-in-system
2089-maximum-matrix-sum
2107-find-unique-binary-string
2110-number-of-smooth-descent-periods-of-a-stock
2132-convert-1d-array-into-2d-array
2137-final-value-of-variable-after-performing-operations
2141-maximum-running-time-of-n-computers
2144-maximum-difference-between-increasing-elements
2145-grid-game
2150-kth-smallest-product-of-two-sorted-arrays
2155-find-missing-observations
2160-minimum-operations-to-make-a-uni-value-grid
2163-kth-distinct-string-in-an-array
2164-two-best-non-overlapping-events
2169-simple-bank-system
2170-count-number-of-maximum-bitwise-or-subsets
2179-most-beautiful-item-for-each-query
2180-maximum-number-of-tasks-you-can-assign
2188-minimized-maximum-of-products-distributed-to-any-store
2204-find-subsequence-of-length-k-with-the-largest-sum
2215-finding-3-digit-even-numbers
2220-find-all-possible-recipes-from-given-supplies
2229-maximum-fruits-harvested-after-at-most-k-steps
2232-adding-spaces-to-a-string
2237-longest-palindrome-by-concatenating-two-letter-words
2244-number-of-laser-beams-in-a-bank
2249-count-the-hidden-sequences
2255-minimum-swaps-to-group-all-1s-together-ii
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
2292-counting-words-with-a-given-prefix
2306-create-binary-tree-from-descriptions
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
2356-largest-combination-with-bitwise-and-greater-than-zero
2358-number-of-ways-to-split-array
2375-minimum-obstacle-removal-to-reach-corner
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
2411-spiral-matrix-iv
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
2463-minimum-total-distance-traveled
2465-shifting-letters-ii
2472-build-a-matrix-with-conditions
2473-max-sum-of-a-pair-with-equal-sum-of-digits
2478-longest-nice-subarray
2479-meeting-rooms-iii
2488-divide-intervals-into-minimum-number-of-groups
2494-sum-of-prefix-scores-of-strings
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
2515-shortest-distance-to-target-string-in-a-circular-array
2527-count-subarrays-with-fixed-bounds
2529-range-product-queries-of-powers
2533-bitwise-xor-of-all-pairings
2538-minimum-cost-to-make-array-equal
2545-height-of-binary-tree-after-subtree-removal-queries
2551-apply-operations-to-an-array
2552-maximum-sum-of-distinct-subarrays-with-length-k
2554-minimum-total-distance-traveled
2564-most-profitable-path-in-a-tree
2573-find-the-string-with-lcp
2586-longest-square-streak-in-an-array
2588-maximum-number-of-points-from-grid-queries
2614-maximum-count-of-positive-integer-and-negative-integer
2616-maximal-score-after-applying-k-operations
2618-maximize-the-minimum-powered-city
2625-increment-submatrices-by-one
2626-count-the-number-of-good-subarrays
2640-maximum-number-of-integers-to-choose-from-a-range-i
2661-smallest-missing-non-negative-integer-after-operations
2665-minimum-time-to-repair-cars
2681-put-marbles-in-bags
2685-first-completely-painted-row-or-column
2689-rearranging-fruits
2690-house-robber-iv
2691-count-vowel-strings-in-ranges
2692-take-gifts-from-the-richest-pile
2695-find-score-of-an-array-after-marking-all-elements
2699-count-the-number-of-fair-pairs
2707-merge-two-2d-arrays-by-summing-values
2711-minimum-time-to-visit-a-cell-in-a-grid
2716-prime-subtraction-operation
2718-minimum-operations-to-make-all-array-elements-equal
2720-minimize-the-maximum-difference-of-pairs
2727-number-of-senior-citizens
2751-robot-collisions
2753-minimum-number-of-operations-to-make-all-array-elements-equal-to-1
2755-extra-characters-in-a-string
2764-maximum-number-of-fish-in-a-grid
2766-find-the-prefix-common-array-of-two-arrays
2792-neighboring-bitwise-xor
2794-maximum-number-of-moves-in-a-grid
2846-robot-collisions
2856-count-complete-subarrays-in-an-array
2868-continuous-subarrays
2888-minimum-index-of-a-valid-split
2891-maximum-beauty-of-an-array-after-applying-operation
2906-construct-product-matrix
2915-count-of-interesting-subarrays
2943-maximize-area-of-square-hole-in-grid
2946-matrix-similarity-after-cyclic-shifts
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
3013-divide-an-array-into-subarrays-with-minimum-cost-ii
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
3181-find-building-where-alice-and-bob-can-meet
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
3219-make-lexicographically-smallest-array-by-swapping-elements
3227-find-missing-and-repeated-values
3229-minimum-cost-to-make-array-equalindromic
3235-minimum-cost-to-convert-string-i
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
3291-find-if-array-can-be-sorted
3296-minimum-number-of-seconds-to-make-mountain-height-zero
3307-find-the-maximum-sum-of-node-values
3309-count-prefix-and-suffix-pairs-i
3314-construct-the-minimum-bitwise-array-i
3315-construct-the-minimum-bitwise-array-ii
3321-type-of-triangle
3329-find-the-length-of-the-longest-common-prefix
3332-minimum-operations-to-exceed-threshold-value-ii
3348-minimum-cost-walk-in-weighted-graph
3372-longest-strictly-increasing-or-strictly-decreasing-subarray
3379-transformed-array
3380-shortest-subarray-with-or-at-least-k-ii
3381-maximum-subarray-sum-with-length-divisible-by-k
3383-taking-maximum-energy-from-the-mystic-dungeon
3418-maximum-amount-of-money-robot-can-earn
3427-special-array-ii
3429-special-array-i
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
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
3488-closest-equal-element-queries
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
3517-shortest-distance-after-road-addition-queries-i
3522-find-the-power-of-k-size-subarrays-i
3531-count-covered-buildings
3546-equal-sum-grid-partition-i
3548-equal-sum-grid-partition-ii
3555-final-array-state-after-k-multiplication-operations-i
3562-maximum-profit-from-trading-stocks-with-discounts
3567-minimum-absolute-difference-in-sliding-submatrix
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
3625-count-number-of-trapezoids-ii
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-minimum-cost-path-with-teleportations
3652-best-time-to-buy-and-sell-stock-using-strategy
3653-xor-after-range-multiplication-queries-i
3655-xor-after-range-multiplication-queries-ii
3656-minimum-number-of-operations-to-make-elements-in-array-distinct
3657-check-if-grid-can-be-cut-into-sections
3661-maximum-walls-destroyed-by-robots
3685-count-subarrays-of-length-three-with-a-condition
3719-longest-balanced-subarray-i
3721-longest-balanced-subarray-ii
3733-length-of-longest-v-shaped-diagonal-segment
3740-minimum-distance-between-three-equal-elements-i
3741-reschedule-meetings-for-maximum-free-time-ii
3741-minimum-distance-between-three-equal-elements-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
3761-minimum-absolute-distance-between-mirror-pairs
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

Design

0307-range-sum-query-mutable
0432-all-oone-data-structure
0729-my-calendar-i
0789-kth-largest-element-in-a-stream
0859-design-circular-deque
1387-find-elements-in-a-contaminated-binary-tree
1477-product-of-the-last-k-numbers
1497-design-a-stack-with-increment-operation
1622-fancy-sequence
1995-finding-pairs-with-a-certain-sum
2023-design-movie-rental-system
2069-walking-robot-simulation-ii
2169-simple-bank-system
2429-design-a-food-rating-system
2434-design-a-number-container-system
3678-design-task-manager
3797-design-spreadsheet
3827-implement-router

Binary Indexed Tree

0307-range-sum-query-mutable
1511-count-number-of-teams
2280-count-good-triplets-in-an-array
3181-find-building-where-alice-and-bob-can-meet

Segment Tree

0307-range-sum-query-mutable
0729-my-calendar-i
1622-fancy-sequence
2280-count-good-triplets-in-an-array
3181-find-building-where-alice-and-bob-can-meet
3454-separate-squares-ii
3719-longest-balanced-subarray-i
3721-longest-balanced-subarray-ii
3789-maximize-subarrays-after-removing-one-conflicting-pair
3790-fruits-into-baskets-ii
3791-fruits-into-baskets-iii

Stack

0042-trapping-rain-water
0085-maximal-rectangle
0145-binary-tree-postorder-traversal
0726-number-of-atoms
0776-n-ary-tree-postorder-traversal
0780-max-chunks-to-make-sorted
0957-minimum-add-to-make-parentheses-valid
1002-maximum-width-ramp
1197-parsing-a-boolean-expression
1298-reverse-substrings-between-each-pair-of-parentheses
1497-design-a-stack-with-increment-operation
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
1653-minimum-deletions-to-make-string-balanced
1679-shortest-subarray-to-be-removed-to-make-array-sorted
1720-crawler-log-folder
1818-maximum-score-from-removing-substrings
2021-remove-all-occurrences-of-a-substring
2095-minimum-number-of-swaps-to-make-the-string-balanced
2211-count-collisions-on-a-road
2221-check-if-a-parentheses-string-can-be-valid
2307-replace-non-coprime-numbers-in-array
2456-construct-smallest-number-from-di-string
2520-using-a-robot-to-print-the-lexicographically-smallest-string
2751-robot-collisions
2800-minimum-string-length-after-removing-substrings
2846-robot-collisions
3001-apply-operations-to-maximize-score
3181-find-building-where-alice-and-bob-can-meet
3445-lexicographically-minimum-string-after-removing-stars
3447-clear-digits
3834-minimum-operations-to-convert-all-elements-to-zero

Monotonic Stack

0042-trapping-rain-water
0085-maximal-rectangle
0780-max-chunks-to-make-sorted
1002-maximum-width-ramp
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
1679-shortest-subarray-to-be-removed-to-make-array-sorted
3001-apply-operations-to-maximize-score
3181-find-building-where-alice-and-bob-can-meet
3834-minimum-operations-to-convert-all-elements-to-zero

Hash Table

0001-two-sum
0036-valid-sudoku
0037-sudoku-solver
0049-group-anagrams
0073-set-matrix-zeroes
0128-longest-consecutive-sequence
0133-clone-graph
0139-word-break
0166-fraction-to-recurring-decimal
0217-contains-duplicate
0264-ugly-number-ii
0350-intersection-of-two-arrays-ii
0432-all-oone-data-structure
0594-longest-harmonious-subsequence
0632-smallest-range-covering-elements-from-k-lists
0726-number-of-atoms
0756-pyramid-transition-matrix
0768-partition-labels
0797-rabbits-in-forest
0840-magic-squares-in-grid
0865-smallest-subtree-with-all-the-deepest-nodes
0870-magic-squares-in-grid
0874-walking-robot-simulation
0900-reordered-power-of-2
0905-length-of-longest-fibonacci-subsequence
0906-walking-robot-simulation
0920-uncommon-words-from-two-sentences
0925-construct-binary-tree-from-preorder-and-postorder-traversal
0940-fruit-into-baskets
0952-word-subsets
0961-n-repeated-element-in-size-2n-array
0984-most-stones-removed-with-same-row-or-column
0999-regions-cut-by-slashes
1006-vowel-spellchecker
1015-smallest-integer-divisible-by-k
1147-flip-columns-for-maximum-number-of-equal-rows
1160-letter-tile-possibilities
1207-delete-nodes-and-return-forest
1218-lowest-common-ancestor-of-deepest-leaves
1227-number-of-equivalent-domino-pairs
1256-rank-transform-of-an-array
1264-maximum-number-of-words-you-can-type
1353-find-resultant-array-after-removing-anagrams
1364-tuple-with-same-product
1387-find-elements-in-a-contaminated-binary-tree
1407-group-the-people-given-the-group-size-they-belong-to
1460-number-of-substrings-containing-all-three-characters
1461-check-if-a-string-contains-all-binary-codes-of-size-k
1468-check-if-n-and-its-double-exist
1473-find-the-longest-substring-containing-vowels-in-even-counts
1500-count-largest-group
1502-construct-k-palindrome-strings
1510-find-lucky-integer-in-an-array
1556-make-two-arrays-equal-by-reversing-subarrays
1590-make-sum-divisible-by-p
1612-avoid-flood-in-the-city
1620-check-if-array-pairs-are-divisible-by-k
1694-make-sum-divisible-by-p
1715-split-a-string-into-the-max-number-of-unique-substrings
1741-sort-array-by-increasing-frequency
1786-count-the-number-of-consistent-strings
1813-maximum-erasure-value
1834-minimum-number-of-people-to-teach
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
2023-design-movie-rental-system
2054-the-number-of-the-smallest-unoccupied-chair
2059-unique-length-3-palindromic-subsequences
2079-delete-duplicate-folders-in-system
2107-find-unique-binary-string
2163-kth-distinct-string-in-an-array
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
2300-construct-string-with-repeat-limit
2306-create-binary-tree-from-descriptions
2308-divide-array-into-equal-pairs
2356-largest-combination-with-bitwise-and-greater-than-zero
2402-meeting-rooms-iii
2429-design-a-food-rating-system
2434-design-a-number-container-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
2552-maximum-sum-of-distinct-subarrays-with-length-k
2586-longest-square-streak-in-an-array
2599-take-k-of-each-character-from-left-and-right
2626-count-the-number-of-good-subarrays
2640-maximum-number-of-integers-to-choose-from-a-range-i
2661-smallest-missing-non-negative-integer-after-operations
2677-cousins-in-binary-tree-ii
2685-first-completely-painted-row-or-column
2689-rearranging-fruits
2695-find-score-of-an-array-after-marking-all-elements
2707-merge-two-2d-arrays-by-summing-values
2755-extra-characters-in-a-string
2766-find-the-prefix-common-array-of-two-arrays
2840-check-if-strings-can-be-made-equal-with-operations-ii
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
3013-divide-an-array-into-subarrays-with-minimum-cost-ii
3227-find-missing-and-repeated-values
3242-count-elements-with-maximum-frequency
3267-find-longest-special-substring-that-occurs-thrice-i
3276-minimum-number-of-pushes-to-type-word-ii
3329-find-the-length-of-the-longest-common-prefix
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
3455-minimum-length-of-string-after-operations
3488-closest-equal-element-queries
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
3548-equal-sum-grid-partition-ii
3569-count-of-substrings-containing-every-vowel-and-k-consonants-ii
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
3625-count-number-of-trapezoids-ii
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
3713-longest-balanced-substring-i
3714-longest-balanced-substring-ii
3719-longest-balanced-subarray-i
3721-longest-balanced-subarray-ii
3740-minimum-distance-between-three-equal-elements-i
3741-minimum-distance-between-three-equal-elements-ii
3753-maximum-difference-between-even-and-odd-frequency-i
3754-maximum-manhattan-distance-after-k-changes
3761-minimum-absolute-distance-between-mirror-pairs
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

Binary Search

0004-median-of-two-sorted-arrays
0033-search-in-rotated-sorted-array
0300-longest-increasing-subsequence
0350-intersection-of-two-arrays-ii
0611-valid-triangle-number
0719-find-k-th-smallest-pair-distance
0729-my-calendar-i
0744-find-smallest-letter-greater-than-target
0794-swim-in-rising-water
0892-shortest-subarray-with-sum-at-least-k
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
1468-check-if-n-and-its-double-exist
1612-avoid-flood-in-the-city
1615-range-sum-of-sorted-subarray-sums
1621-number-of-subsequences-that-satisfy-the-given-sum-condition
1679-shortest-subarray-to-be-removed-to-make-array-sorted
1766-minimum-number-of-removals-to-make-mountain-array
1851-maximum-number-of-events-that-can-be-attended-ii
1855-maximum-distance-between-a-pair-of-values
1886-minimum-limit-of-balls-in-a-bag
1970-last-day-where-you-can-still-cross
2006-find-the-student-that-will-replace-the-chalk
2054-two-best-non-overlapping-events
2141-maximum-running-time-of-n-computers
2150-kth-smallest-product-of-two-sorted-arrays
2164-two-best-non-overlapping-events
2179-most-beautiful-item-for-each-query
2180-maximum-number-of-tasks-you-can-assign
2188-minimized-maximum-of-products-distributed-to-any-store
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
2538-minimum-cost-to-make-array-equal
2586-longest-square-streak-in-an-array
2614-maximum-count-of-positive-integer-and-negative-integer
2618-maximize-the-minimum-powered-city
2640-maximum-number-of-integers-to-choose-from-a-range-i
2665-minimum-time-to-repair-cars
2690-house-robber-iv
2699-count-the-number-of-fair-pairs
2716-prime-subtraction-operation
2718-minimum-operations-to-make-all-array-elements-equal
2720-minimize-the-maximum-difference-of-pairs
2891-maximum-beauty-of-an-array-after-applying-operation
3181-find-building-where-alice-and-bob-can-meet
3267-find-longest-special-substring-that-occurs-thrice-i
3296-minimum-number-of-seconds-to-make-mountain-height-zero
3427-special-array-ii
3437-maximum-total-damage-with-spell-casting
3454-separate-squares-ii
3488-closest-equal-element-queries
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
3661-maximum-walls-destroyed-by-robots
3790-fruits-into-baskets-ii
3791-fruits-into-baskets-iii
3827-implement-router

Linked List

0432-all-oone-data-structure
0725-split-linked-list-in-parts
0859-design-circular-deque
1411-convert-binary-number-in-a-linked-list-to-integer
2182-find-the-minimum-and-maximum-number-of-nodes-between-critical-points
2299-merge-nodes-in-between-zeros
2411-spiral-matrix-iv
2903-insert-greatest-common-divisors-in-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

Simulation

0067-add-binary
0498-diagonal-traverse
0592-fraction-addition-and-subtraction
0657-robot-return-to-origin
0874-walking-robot-simulation
0906-walking-robot-simulation
0921-spiral-matrix-iii
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
1803-average-waiting-time
1951-find-the-winner-of-the-circular-game
2006-find-the-student-that-will-replace-the-chalk
2021-remove-all-occurrences-of-a-substring
2048-build-array-from-permutation
2069-walking-robot-simulation-ii
2075-decode-the-slanted-ciphertext
2076-sum-of-digits-of-string-after-convert
2132-convert-1d-array-into-2d-array
2137-final-value-of-variable-after-performing-operations
2155-find-missing-observations
2169-simple-bank-system
2211-count-collisions-on-a-road
2232-adding-spaces-to-a-string
2260-divide-a-string-into-groups-of-size-k
2265-partition-array-according-to-given-pivot
2274-keep-multiplying-found-values-by-two
2288-count-operations-to-obtain-zero
2299-merge-nodes-in-between-zeros
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
2411-spiral-matrix-iv
2479-meeting-rooms-iii
2551-apply-operations-to-an-array
2645-pass-the-pillow
2692-take-gifts-from-the-richest-pile
2695-find-score-of-an-array-after-marking-all-elements
2751-robot-collisions
2800-minimum-string-length-after-removing-substrings
2846-robot-collisions
2946-matrix-similarity-after-cyclic-shifts
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
3555-final-array-state-after-k-multiplication-operations-i
3600-find-the-k-th-character-in-string-game-i
3616-make-array-elements-equal-to-zero
3653-xor-after-range-multiplication-queries-i
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

Recursion

0010-regular-expression-matching
0231-power-of-two
0241-different-ways-to-add-parentheses
0273-integer-to-english-words
0326-power-of-three
0342-power-of-four
1197-parsing-a-boolean-expression
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

Divide and Conquer

0004-median-of-two-sorted-arrays
0053-maximum-subarray
0190-reverse-bits
0761-special-binary-string
0925-construct-binary-tree-from-preorder-and-postorder-traversal
0948-sort-an-array
1382-balance-a-binary-search-tree
2280-count-good-triplets-in-an-array
3653-xor-after-range-multiplication-queries-i
3655-xor-after-range-multiplication-queries-ii
3719-longest-balanced-subarray-i
3721-longest-balanced-subarray-ii

Math

0062-unique-paths
0066-plus-one
0067-add-binary
0166-fraction-to-recurring-decimal
0231-power-of-two
0241-different-ways-to-add-parentheses
0264-ugly-number-ii
0273-integer-to-english-words
0326-power-of-three
0342-power-of-four
0368-largest-divisible-subset
0371-sum-of-two-integers
0453-minimum-moves-to-equal-array-elements
0462-minimum-moves-to-equal-array-elements-ii
0539-minimum-time-difference
0564-find-the-closest-palindrome
0592-fraction-addition-and-subtraction
0650-2-keys-keyboard
0670-maximum-swap
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
0870-magic-squares-in-grid
0900-reordered-power-of-2
1015-smallest-integer-divisible-by-k
1018-largest-perimeter-triangle
1057-numbers-with-repeated-digits
1240-stone-game-ii
1266-minimum-time-visiting-all-points
1334-sum-of-numbers-with-units-digit-k
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
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
2155-find-missing-observations
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
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
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
2716-prime-subtraction-operation
2753-minimum-number-of-operations-to-make-all-array-elements-equal-to-1
2757-count-of-integers
2802-find-the-punishment-number-of-an-integer
2903-insert-greatest-common-divisors-in-linked-list
2946-matrix-similarity-after-cyclic-shifts
2998-count-symmetric-integers
3001-apply-operations-to-maximize-score
3047-find-the-largest-area-of-square-inside-two-rectangles
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
3229-minimum-cost-to-make-array-equalindromic
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
3555-final-array-state-after-k-multiplication-operations-i
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
3625-count-number-of-trapezoids-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
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
3761-minimum-absolute-distance-between-mirror-pairs
3768-check-if-digits-are-equal-in-string-after-operations-i
3783-mirror-distance-of-an-integer
3830-find-closest-person
3851-find-sum-of-array-product-of-magical-sequences

Combinatorics

0062-unique-paths
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
3851-find-sum-of-array-product-of-magical-sequences

Matrix

0036-valid-sudoku
0037-sudoku-solver
0063-unique-paths-ii
0073-set-matrix-zeroes
0085-maximal-rectangle
0407-trapping-rain-water-ii
0417-pacific-atlantic-water-flow
0498-diagonal-traverse
0787-sliding-puzzle
0794-swim-in-rising-water
0840-magic-squares-in-grid
0854-making-a-large-island
0870-magic-squares-in-grid
0921-spiral-matrix-iii
0945-snakes-and-ladders
0999-regions-cut-by-slashes
1147-flip-columns-for-maximum-number-of-equal-rows
1292-maximum-side-length-of-a-square-with-sum-less-than-or-equal-to-threshold
1351-count-negative-numbers-in-a-sorted-matrix
1396-count-servers-that-communicate
1402-count-square-submatrices-with-all-ones
1485-minimum-cost-to-make-at-least-one-valid-path-in-a-grid
1496-lucky-numbers-in-a-matrix
1536-minimum-swaps-to-arrange-a-binary-grid
1582-special-positions-in-a-binary-matrix
1594-maximum-non-negative-product-in-a-matrix
1628-count-submatrices-with-all-ones
1691-minimum-number-of-days-to-disconnect-island
1711-find-valid-matrix-given-row-and-column-sums
1727-largest-submatrix-with-rearrangements
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
1972-rotating-the-box
1975-maximum-matrix-sum
2035-count-sub-islands
2089-maximum-matrix-sum
2132-convert-1d-array-into-2d-array
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
2375-minimum-obstacle-removal-to-reach-corner
2411-spiral-matrix-iv
2435-paths-in-matrix-whose-sum-is-divisible-by-k
2472-build-a-matrix-with-conditions
2573-find-the-string-with-lcp
2588-maximum-number-of-points-from-grid-queries
2625-increment-submatrices-by-one
2685-first-completely-painted-row-or-column
2711-minimum-time-to-visit-a-cell-in-a-grid
2764-maximum-number-of-fish-in-a-grid
2794-maximum-number-of-moves-in-a-grid
2906-construct-product-matrix
2946-matrix-similarity-after-cyclic-shifts
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
3418-maximum-amount-of-money-robot-can-earn
3459-find-the-minimum-area-to-cover-all-ones-ii
3461-find-the-minimum-area-to-cover-all-ones-i
3546-equal-sum-grid-partition-i
3548-equal-sum-grid-partition-ii
3567-minimum-absolute-difference-in-sliding-submatrix
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
3797-design-spreadsheet

Queue

0859-design-circular-deque
0892-shortest-subarray-with-sum-at-least-k
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
2868-continuous-subarrays
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

Tree

0110-balanced-binary-tree
0145-binary-tree-postorder-traversal
0236-lowest-common-ancestor-of-a-binary-tree
0515-find-largest-value-in-each-tree-row
0776-n-ary-tree-postorder-traversal
0789-kth-largest-element-in-a-stream
0865-smallest-subtree-with-all-the-deepest-nodes
0925-construct-binary-tree-from-preorder-and-postorder-traversal
0988-flip-equivalent-binary-trees
1022-sum-of-root-to-leaf-binary-numbers
1093-recover-a-tree-from-preorder-traversal
1161-maximum-level-sum-of-a-binary-tree
1207-delete-nodes-and-return-forest
1218-lowest-common-ancestor-of-deepest-leaves
1339-maximum-product-of-splitted-binary-tree
1382-balance-a-binary-search-tree
1387-find-elements-in-a-contaminated-binary-tree
2217-step-by-step-directions-from-a-binary-tree-node-to-another
2306-create-binary-tree-from-descriptions
2400-minimum-score-after-removals-on-a-tree
2493-reverse-odd-levels-of-binary-tree
2545-height-of-binary-tree-after-subtree-removal-queries
2558-minimum-number-of-operations-to-sort-a-binary-tree-by-level
2564-most-profitable-path-in-a-tree
2646-kth-largest-sum-in-a-binary-tree
2677-cousins-in-binary-tree-ii
2872-maximum-number-of-k-divisible-components
3058-maximum-number-of-k-divisible-components
3307-find-the-maximum-sum-of-node-values
3439-find-minimum-diameter-after-merging-two-trees
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

Binary Tree

0110-balanced-binary-tree
0145-binary-tree-postorder-traversal
0236-lowest-common-ancestor-of-a-binary-tree
0515-find-largest-value-in-each-tree-row
0789-kth-largest-element-in-a-stream
0865-smallest-subtree-with-all-the-deepest-nodes
0925-construct-binary-tree-from-preorder-and-postorder-traversal
0988-flip-equivalent-binary-trees
1022-sum-of-root-to-leaf-binary-numbers
1093-recover-a-tree-from-preorder-traversal
1161-maximum-level-sum-of-a-binary-tree
1207-delete-nodes-and-return-forest
1218-lowest-common-ancestor-of-deepest-leaves
1339-maximum-product-of-splitted-binary-tree
1382-balance-a-binary-search-tree
1387-find-elements-in-a-contaminated-binary-tree
2217-step-by-step-directions-from-a-binary-tree-node-to-another
2306-create-binary-tree-from-descriptions
2493-reverse-odd-levels-of-binary-tree
2545-height-of-binary-tree-after-subtree-removal-queries
2558-minimum-number-of-operations-to-sort-a-binary-tree-by-level
2646-kth-largest-sum-in-a-binary-tree
2677-cousins-in-binary-tree-ii

Merge Sort

0948-sort-an-array
2280-count-good-triplets-in-an-array

Bucket Sort

0948-sort-an-array

Radix Sort

0948-sort-an-array

Counting Sort

0594-longest-harmonious-subsequence
0900-reordered-power-of-2
0920-uncommon-words-from-two-sentences
0948-sort-an-array
1160-letter-tile-possibilities
1227-number-of-equivalent-domino-pairs
1356-sort-integers-by-the-number-of-1-bits
1364-tuple-with-same-product
1396-count-servers-that-communicate
1502-construct-k-palindrome-strings
1510-find-lucky-integer-in-an-array
1620-check-if-array-pairs-are-divisible-by-k
1786-count-the-number-of-consistent-strings
1915-check-if-one-string-swap-can-make-strings-equal
1986-largest-color-value-in-a-directed-graph
2140-longest-subsequence-repeated-k-times
2163-kth-distinct-string-in-an-array
2174-next-greater-numerically-balanced-number
2237-longest-palindrome-by-concatenating-two-letter-words
2300-construct-string-with-repeat-limit
2308-divide-array-into-equal-pairs
2356-largest-combination-with-bitwise-and-greater-than-zero
2448-count-number-of-bad-pairs
2494-sum-of-prefix-scores-of-strings
2614-maximum-count-of-positive-integer-and-negative-integer
3242-count-elements-with-maximum-frequency
3267-find-longest-special-substring-that-occurs-thrice-i
3276-minimum-number-of-pushes-to-type-word-ii
3360-minimum-deletions-to-make-string-k-special
3437-maximum-total-damage-with-spell-casting
3455-minimum-length-of-string-after-operations
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
3713-longest-balanced-substring-i
3753-maximum-difference-between-even-and-odd-frequency-i
3754-maximum-manhattan-distance-after-k-changes
3872-find-most-frequent-vowel-and-consonant

Shortest Path

1325-path-with-maximum-probability
1456-find-the-city-with-the-smallest-number-of-neighbors-at-a-threshold-distance
1485-minimum-cost-to-make-at-least-one-valid-path-in-a-grid
2090-number-of-ways-to-arrive-at-destination
2171-second-minimum-time-to-reach-destination
2375-minimum-obstacle-removal-to-reach-corner
2711-minimum-time-to-visit-a-cell-in-a-grid
2803-modify-graph-edge-weights
2976-minimum-cost-to-convert-string-i
2977-minimum-cost-to-convert-string-ii
3235-minimum-cost-to-convert-string-i
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

Bit Manipulation

0067-add-binary
0190-reverse-bits
0231-power-of-two
0342-power-of-four
0371-sum-of-two-integers
0401-binary-watch
0476-number-complement
0693-binary-number-with-alternating-bits
0756-pyramid-transition-matrix
0762-prime-number-of-set-bits-in-binary-representation
0868-binary-gap
0934-bitwise-ors-of-subarrays
1009-complement-of-base-10-integer
1018-binary-prefix-divisible-by-5
1356-sort-integers-by-the-number-of-1-bits
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
1473-find-the-longest-substring-containing-vowels-in-even-counts
1680-concatenation-of-consecutive-binary-numbers
1732-minimum-one-bit-operations-to-make-integers-zero
1786-count-the-number-of-consistent-strings
1930-unique-length-3-palindromic-subsequences
1940-maximum-xor-for-each-query
1993-sum-of-all-subset-xor-totals
2059-unique-length-3-palindromic-subsequences
2170-count-number-of-maximum-bitwise-or-subsets
2308-divide-array-into-equal-pairs
2323-minimum-bit-flips-to-convert-number
2356-largest-combination-with-bitwise-and-greater-than-zero
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
2509-minimize-xor
2529-range-product-queries-of-powers
2533-bitwise-xor-of-all-pairings
2766-find-the-prefix-common-array-of-two-arrays
2792-neighboring-bitwise-xor
2837-minimum-operations-to-make-the-integer-zero
3233-maximize-the-number-of-partitions-after-operations
3291-find-if-array-can-be-sorted
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
3380-shortest-subarray-with-or-at-least-k-ii
3394-minimum-array-end
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

Trie

0139-word-break
0386-lexicographical-numbers
0440-k-th-smallest-in-lexicographical-order
1350-remove-sub-folders-from-the-filesystem
2079-delete-duplicate-folders-in-system
2494-sum-of-prefix-scores-of-strings
2755-extra-characters-in-a-string
2977-minimum-cost-to-convert-string-ii
3309-count-prefix-and-suffix-pairs-i
3329-find-the-length-of-the-longest-common-prefix

Memoization

0139-word-break
0241-different-ways-to-add-parentheses
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

Sliding Window

0594-longest-harmonious-subsequence
0632-smallest-range-covering-elements-from-k-lists
0867-new-21-game
0892-shortest-subarray-with-sum-at-least-k
0940-fruit-into-baskets
1460-number-of-substrings-containing-all-three-characters
1586-longest-subarray-of-1s-after-deleting-one-element
1755-defuse-the-bomb
1813-maximum-erasure-value
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
2255-minimum-swaps-to-group-all-1s-together-ii
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
2552-maximum-sum-of-distinct-subarrays-with-length-k
2599-take-k-of-each-character-from-left-and-right
2618-maximize-the-minimum-powered-city
2626-count-the-number-of-good-subarrays
2856-count-complete-subarrays-in-an-array
2868-continuous-subarrays
2891-maximum-beauty-of-an-array-after-applying-operation
3013-divide-an-array-into-subarrays-with-minimum-cost-ii
3213-count-subarrays-where-max-element-appears-at-least-k-times
3267-find-longest-special-substring-that-occurs-thrice-i
3380-shortest-subarray-with-or-at-least-k-ii
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
3522-find-the-power-of-k-size-subarrays-i
3569-count-of-substrings-containing-every-vowel-and-k-consonants-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

Strongly Connected Component

1691-minimum-number-of-days-to-disconnect-island

Binary Search Tree

0789-kth-largest-element-in-a-stream
1382-balance-a-binary-search-tree

Data Stream

0789-kth-largest-element-in-a-stream
1477-product-of-the-last-k-numbers

Backtracking

0037-sudoku-solver
0040-combination-sum-ii
0401-binary-watch
0494-target-sum
0679-24-game
0756-pyramid-transition-matrix
1160-letter-tile-possibilities
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
1715-split-a-string-into-the-max-number-of-unique-substrings
1819-construct-the-lexicographically-largest-valid-sequence
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

Game Theory

1240-stone-game-ii
3462-vowels-game-in-a-string

Number Theory

2307-replace-non-coprime-numbers-in-array
2415-count-the-number-of-ideal-arrays
2610-closest-prime-numbers-in-range
2716-prime-subtraction-operation
2753-minimum-number-of-operations-to-make-all-array-elements-equal-to-1
2903-insert-greatest-common-divisors-in-linked-list
3001-apply-operations-to-maximize-score
3768-check-if-digits-are-equal-in-string-after-operations-i

Brainteaser

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

Ordered Set

0729-my-calendar-i
2023-design-movie-rental-system
2280-count-good-triplets-in-an-array
2429-design-a-food-rating-system
2434-design-a-number-container-system
2868-continuous-subarrays
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

Doubly-Linked List

0432-all-oone-data-structure
3507-minimum-pair-removal-to-sort-array-i
3510-minimum-pair-removal-to-sort-array-ii

Enumeration

0900-reordered-power-of-2
1334-sum-of-numbers-with-units-digit-k
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
3546-equal-sum-grid-partition-i
3548-find-the-count-of-good-integers
3548-equal-sum-grid-partition-ii
3683-find-the-lexicographically-largest-string-from-the-box-i
3713-longest-balanced-substring-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

Monotonic Queue

0892-shortest-subarray-with-sum-at-least-k
2180-maximum-number-of-tasks-you-can-assign
2527-count-subarrays-with-fixed-bounds
2868-continuous-subarrays
3578-count-partitions-with-max-min-difference-at-most-k

Eulerian Circuit

2201-valid-arrangement-of-pairs

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
3625-count-number-of-trapezoids-ii

Bitmask

3233-maximize-the-number-of-partitions-after-operations
3851-find-sum-of-array-product-of-magical-sequences

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

Union-Find

1722-minimize-hamming-distance-after-swap-operations
2573-find-the-string-with-lcp
3600-maximize-spanning-tree-stability-with-upgrades
3666-minimum-operations-to-equalize-binary-string

Minimum Spanning Tree

3600-maximize-spanning-tree-stability-with-upgrades

Releases

No releases published

Packages

 
 
 

Contributors