Medium/

directory
v0.0.0-...-0b278c3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 14, 2023 License: MIT

Directories

Path Synopsis
https://leetcode.com/problems/longest-substring-without-repeating-characters/
https://leetcode.com/problems/longest-substring-without-repeating-characters/
https://leetcode.com/problems/longest-palindromic-substring/
https://leetcode.com/problems/longest-palindromic-substring/
https://leetcode.com/problems/zigzag-conversion/
https://leetcode.com/problems/zigzag-conversion/
https://leetcode.com/problems/container-with-most-water/
https://leetcode.com/problems/container-with-most-water/
https://leetcode.com/problems/integer-to-roman/
https://leetcode.com/problems/integer-to-roman/
https://leetcode.com/problems/3sum-closest/
https://leetcode.com/problems/3sum-closest/
https://leetcode.com/problems/letter-combinations-of-a-phone-number/
https://leetcode.com/problems/letter-combinations-of-a-phone-number/
https://leetcode.com/problems/remove-nth-node-from-end-of-list/
https://leetcode.com/problems/remove-nth-node-from-end-of-list/
https://leetcode.com/problems/swap-nodes-in-pairs/
https://leetcode.com/problems/swap-nodes-in-pairs/
https://leetcode.com/problems/find-the-index-of-the-first-occurrence-in-a-string/
https://leetcode.com/problems/find-the-index-of-the-first-occurrence-in-a-string/
https://leetcode.com/problems/divide-two-integers/
https://leetcode.com/problems/divide-two-integers/
https://leetcode.com/problems/next-permutation/
https://leetcode.com/problems/next-permutation/
https://leetcode.com/problems/search-in-rotated-sorted-array/
https://leetcode.com/problems/search-in-rotated-sorted-array/
https://leetcode.com/problems/find-first-and-last-position-of-element-in-sorted-array/
https://leetcode.com/problems/find-first-and-last-position-of-element-in-sorted-array/
https://leetcode.com/problems/valid-sudoku/
https://leetcode.com/problems/valid-sudoku/
https://leetcode.com/problems/count-and-say/
https://leetcode.com/problems/count-and-say/
https://leetcode.com/problems/combination-sum/
https://leetcode.com/problems/combination-sum/
https://leetcode.com/problems/jump-game-ii/
https://leetcode.com/problems/jump-game-ii/
https://leetcode.com/problems/permutations/
https://leetcode.com/problems/permutations/
https://leetcode.com/problems/permutations-ii/
https://leetcode.com/problems/permutations-ii/
https://leetcode.com/problems/rotate-image/
https://leetcode.com/problems/rotate-image/
https://leetcode.com/problems/group-anagrams/
https://leetcode.com/problems/group-anagrams/
https://leetcode.com/problems/powx-n/
https://leetcode.com/problems/powx-n/
https://leetcode.com/problems/spiral-matrix/
https://leetcode.com/problems/spiral-matrix/
https://leetcode.com/problems/jump-game/
https://leetcode.com/problems/jump-game/
https://leetcode.com/problems/merge-intervals/
https://leetcode.com/problems/merge-intervals/
https://leetcode.com/problems/insert-interval/
https://leetcode.com/problems/insert-interval/
https://leetcode.com/problems/spiral-matrix-ii/
https://leetcode.com/problems/spiral-matrix-ii/
https://leetcode.com/problems/rotate-list/
https://leetcode.com/problems/rotate-list/
https://leetcode.com/problems/unique-paths/
https://leetcode.com/problems/unique-paths/
https://leetcode.com/problems/unique-paths-ii/
https://leetcode.com/problems/unique-paths-ii/
https://leetcode.com/problems/minimum-path-sum/
https://leetcode.com/problems/minimum-path-sum/
https://leetcode.com/problems/simplify-path/
https://leetcode.com/problems/simplify-path/
https://leetcode.com/problems/search-a-2d-matrix/
https://leetcode.com/problems/search-a-2d-matrix/
https://leetcode.com/problems/combinations/
https://leetcode.com/problems/combinations/
https://leetcode.com/problems/word-search/
https://leetcode.com/problems/word-search/
https://leetcode.com/problems/search-in-rotated-sorted-array-ii/
https://leetcode.com/problems/search-in-rotated-sorted-array-ii/
https://leetcode.com/problems/partition-list/
https://leetcode.com/problems/partition-list/
https://leetcode.com/problems/decode-ways/
https://leetcode.com/problems/decode-ways/
https://leetcode.com/problems/reverse-linked-list-ii/
https://leetcode.com/problems/reverse-linked-list-ii/
https://leetcode.com/problems/restore-ip-addresses/
https://leetcode.com/problems/restore-ip-addresses/
https://leetcode.com/problems/interleaving-string/
https://leetcode.com/problems/interleaving-string/
https://leetcode.com/problems/validate-binary-search-tree/
https://leetcode.com/problems/validate-binary-search-tree/
https://leetcode.com/problems/recover-binary-search-tree/
https://leetcode.com/problems/recover-binary-search-tree/
https://leetcode.com/problems/binary-tree-level-order-traversal/
https://leetcode.com/problems/binary-tree-level-order-traversal/
https://leetcode.com/problems/binary-tree-zigzag-level-order-traversal/
https://leetcode.com/problems/binary-tree-zigzag-level-order-traversal/
https://leetcode.com/problems/construct-binary-tree-from-preorder-and-inorder-traversal/
https://leetcode.com/problems/construct-binary-tree-from-preorder-and-inorder-traversal/
https://leetcode.com/problems/construct-binary-tree-from-inorder-and-postorder-traversal/
https://leetcode.com/problems/construct-binary-tree-from-inorder-and-postorder-traversal/
https://leetcode.com/problems/convert-sorted-list-to-binary-search-tree/
https://leetcode.com/problems/convert-sorted-list-to-binary-search-tree/
https://leetcode.com/problems/path-sum-ii/
https://leetcode.com/problems/path-sum-ii/
https://leetcode.com/problems/flatten-binary-tree-to-linked-list/
https://leetcode.com/problems/flatten-binary-tree-to-linked-list/
https://leetcode.com/problems/populating-next-right-pointers-in-each-node-ii/
https://leetcode.com/problems/populating-next-right-pointers-in-each-node-ii/
https://leetcode.com/problems/triangle/
https://leetcode.com/problems/triangle/
https://leetcode.com/problems/longest-consecutive-sequence/
https://leetcode.com/problems/longest-consecutive-sequence/
https://leetcode.com/problems/sum-root-to-leaf-numbers/
https://leetcode.com/problems/sum-root-to-leaf-numbers/
https://leetcode.com/problems/palindrome-partitioning/
https://leetcode.com/problems/palindrome-partitioning/
https://leetcode.com/problems/clone-graph/
https://leetcode.com/problems/clone-graph/
https://leetcode.com/problems/gas-station/
https://leetcode.com/problems/gas-station/
https://leetcode.com/problems/single-number-ii/
https://leetcode.com/problems/single-number-ii/
https://leetcode.com/problems/copy-list-with-random-pointer/
https://leetcode.com/problems/copy-list-with-random-pointer/
https://leetcode.com/problems/word-break/
https://leetcode.com/problems/word-break/
https://leetcode.com/problems/linked-list-cycle-ii/
https://leetcode.com/problems/linked-list-cycle-ii/
https://leetcode.com/problems/lru-cache/
https://leetcode.com/problems/lru-cache/
https://leetcode.com/problems/evaluate-reverse-polish-notation/
https://leetcode.com/problems/evaluate-reverse-polish-notation/
https://leetcode.com/problems/reverse-words-in-a-string/
https://leetcode.com/problems/reverse-words-in-a-string/
https://leetcode.com/problems/find-minimum-in-rotated-sorted-array/
https://leetcode.com/problems/find-minimum-in-rotated-sorted-array/
https://leetcode.com/problems/two-sum-ii-input-array-is-sorted/
https://leetcode.com/problems/two-sum-ii-input-array-is-sorted/
https://leetcode.com/problems/binary-search-tree-iterator/
https://leetcode.com/problems/binary-search-tree-iterator/
https://leetcode.com/problems/rotate-array/
https://leetcode.com/problems/rotate-array/
https://leetcode.com/problems/house-robber/
https://leetcode.com/problems/house-robber/
https://leetcode.com/problems/binary-tree-right-side-view/
https://leetcode.com/problems/binary-tree-right-side-view/
https://leetcode.com/problems/number-of-islands/
https://leetcode.com/problems/number-of-islands/
https://leetcode.com/problems/course-schedule/
https://leetcode.com/problems/course-schedule/
https://leetcode.com/problems/implement-trie-prefix-tree/
https://leetcode.com/problems/implement-trie-prefix-tree/
https://leetcode.com/problems/design-add-and-search-words-data-structure/
https://leetcode.com/problems/design-add-and-search-words-data-structure/
https://leetcode.com/problems/kth-largest-element-in-an-array/
https://leetcode.com/problems/kth-largest-element-in-an-array/
https://leetcode.com/problems/combination-sum-iii/
https://leetcode.com/problems/combination-sum-iii/
https://leetcode.com/problems/maximal-square/
https://leetcode.com/problems/maximal-square/
https://leetcode.com/problems/count-complete-tree-nodes/
https://leetcode.com/problems/count-complete-tree-nodes/
https://leetcode.com/problems/rectangle-area/
https://leetcode.com/problems/rectangle-area/
https://leetcode.com/problems/kth-smallest-element-in-a-bst/
https://leetcode.com/problems/kth-smallest-element-in-a-bst/
https://leetcode.com/problems/lowest-common-ancestor-of-a-binary-tree/
https://leetcode.com/problems/lowest-common-ancestor-of-a-binary-tree/
https://leetcode.com/problems/delete-node-in-a-linked-list/
https://leetcode.com/problems/delete-node-in-a-linked-list/
https://leetcode.com/problems/product-of-array-except-self/
https://leetcode.com/problems/product-of-array-except-self/
https://leetcode.com/problems/search-a-2d-matrix-ii/
https://leetcode.com/problems/search-a-2d-matrix-ii/
https://leetcode.com/problems/perfect-squares/
https://leetcode.com/problems/perfect-squares/
https://leetcode.com/problems/peeking-iterator/ vim:fdm=marker:fmr={{{,}}}
https://leetcode.com/problems/peeking-iterator/ vim:fdm=marker:fmr={{{,}}}
https://leetcode.com/problems/find-the-duplicate-number/
https://leetcode.com/problems/find-the-duplicate-number/
https://leetcode.com/problems/game-of-life/
https://leetcode.com/problems/game-of-life/
https://leetcode.com/problems/longest-increasing-subsequence/
https://leetcode.com/problems/longest-increasing-subsequence/
https://leetcode.com/problems/range-sum-query-2d-immutable/
https://leetcode.com/problems/range-sum-query-2d-immutable/
https://leetcode.com/problems/range-sum-query-mutable/
https://leetcode.com/problems/range-sum-query-mutable/
https://leetcode.com/problems/best-time-to-buy-and-sell-stock-with-cooldown/
https://leetcode.com/problems/best-time-to-buy-and-sell-stock-with-cooldown/
https://leetcode.com/problems/maximum-product-of-word-lengths/
https://leetcode.com/problems/maximum-product-of-word-lengths/
https://leetcode.com/problems/bulb-switcher/
https://leetcode.com/problems/bulb-switcher/
https://leetcode.com/problems/coin-change/
https://leetcode.com/problems/coin-change/
https://leetcode.com/problems/odd-even-linked-list/
https://leetcode.com/problems/odd-even-linked-list/
https://leetcode.com/problems/increasing-triplet-subsequence/
https://leetcode.com/problems/increasing-triplet-subsequence/
https://leetcode.com/problems/flatten-nested-list-iterator/
https://leetcode.com/problems/flatten-nested-list-iterator/
https://leetcode.com/problems/top-k-frequent-elements/
https://leetcode.com/problems/top-k-frequent-elements/
https://leetcode.com/problems/wiggle-subsequence/
https://leetcode.com/problems/wiggle-subsequence/
https://leetcode.com/problems/combination-sum-iv/
https://leetcode.com/problems/combination-sum-iv/
https://leetcode.com/problems/kth-smallest-element-in-a-sorted-matrix/
https://leetcode.com/problems/kth-smallest-element-in-a-sorted-matrix/
https://leetcode.com/problems/insert-delete-getrandom-o1/
https://leetcode.com/problems/insert-delete-getrandom-o1/
https://leetcode.com/problems/linked-list-random-node/
https://leetcode.com/problems/linked-list-random-node/
https://leetcode.com/problems/utf-8-validation/
https://leetcode.com/problems/utf-8-validation/
https://leetcode.com/problems/evaluate-division/
https://leetcode.com/problems/evaluate-division/
https://leetcode.com/problems/remove-k-digits/
https://leetcode.com/problems/remove-k-digits/
https://leetcode.com/problems/queue-reconstruction-by-height/
https://leetcode.com/problems/queue-reconstruction-by-height/
https://leetcode.com/problems/pacific-atlantic-water-flow/
https://leetcode.com/problems/pacific-atlantic-water-flow/
https://leetcode.com/problems/construct-quad-tree/
https://leetcode.com/problems/construct-quad-tree/
https://leetcode.com/problems/n-ary-tree-level-order-traversal/
https://leetcode.com/problems/n-ary-tree-level-order-traversal/
https://leetcode.com/problems/minimum-genetic-mutation/
https://leetcode.com/problems/minimum-genetic-mutation/
https://leetcode.com/problems/non-overlapping-intervals/
https://leetcode.com/problems/non-overlapping-intervals/
https://leetcode.com/problems/find-all-anagrams-in-a-string/
https://leetcode.com/problems/find-all-anagrams-in-a-string/
https://leetcode.com/problems/string-compression/
https://leetcode.com/problems/string-compression/
https://leetcode.com/problems/sort-characters-by-frequency/
https://leetcode.com/problems/sort-characters-by-frequency/
https://leetcode.com/problems/minimum-number-of-arrows-to-burst-balloons/
https://leetcode.com/problems/minimum-number-of-arrows-to-burst-balloons/
https://leetcode.com/problems/132-pattern/
https://leetcode.com/problems/132-pattern/
https://leetcode.com/problems/minimum-moves-to-equal-array-elements-ii/
https://leetcode.com/problems/minimum-moves-to-equal-array-elements-ii/
https://leetcode.com/problems/matchsticks-to-square/
https://leetcode.com/problems/matchsticks-to-square/
https://leetcode.com/problems/ones-and-zeroes/
https://leetcode.com/problems/ones-and-zeroes/
https://leetcode.com/problems/non-decreasing-subsequences/
https://leetcode.com/problems/non-decreasing-subsequences/
https://leetcode.com/problems/longest-palindromic-subsequence/
https://leetcode.com/problems/longest-palindromic-subsequence/
https://leetcode.com/problems/coin-change-ii/
https://leetcode.com/problems/coin-change-ii/
https://leetcode.com/problems/continuous-subarray-sum/
https://leetcode.com/problems/continuous-subarray-sum/
https://leetcode.com/problems/contiguous-array/
https://leetcode.com/problems/contiguous-array/
https://leetcode.com/problems/encode-and-decode-tinyurl/
https://leetcode.com/problems/encode-and-decode-tinyurl/
https://leetcode.com/problems/convert-bst-to-greater-tree/
https://leetcode.com/problems/convert-bst-to-greater-tree/
https://leetcode.com/problems/single-element-in-a-sorted-array/
https://leetcode.com/problems/single-element-in-a-sorted-array/
https://leetcode.com/problems/number-of-provinces/
https://leetcode.com/problems/number-of-provinces/
https://leetcode.com/problems/permutation-in-string/
https://leetcode.com/problems/permutation-in-string/
https://leetcode.com/problems/out-of-boundary-paths/
https://leetcode.com/problems/out-of-boundary-paths/
https://leetcode.com/problems/shortest-unsorted-continuous-subarray/
https://leetcode.com/problems/shortest-unsorted-continuous-subarray/
https://leetcode.com/problems/delete-operation-for-two-strings/
https://leetcode.com/problems/delete-operation-for-two-strings/
https://leetcode.com/problems/find-duplicate-file-in-system/
https://leetcode.com/problems/find-duplicate-file-in-system/
https://leetcode.com/problems/design-circular-queue/
https://leetcode.com/problems/design-circular-queue/
https://leetcode.com/problems/add-one-row-to-tree/
https://leetcode.com/problems/add-one-row-to-tree/
https://leetcode.com/problems/palindromic-substrings/
https://leetcode.com/problems/palindromic-substrings/
https://leetcode.com/problems/dota2-senate/
https://leetcode.com/problems/dota2-senate/
https://leetcode.com/problems/find-duplicate-subtrees/
https://leetcode.com/problems/find-duplicate-subtrees/
https://leetcode.com/problems/find-k-closest-elements/
https://leetcode.com/problems/find-k-closest-elements/
https://leetcode.com/problems/split-array-into-consecutive-subsequences/
https://leetcode.com/problems/split-array-into-consecutive-subsequences/
https://leetcode.com/problems/maximum-width-of-binary-tree/
https://leetcode.com/problems/maximum-width-of-binary-tree/
https://leetcode.com/problems/non-decreasing-array/
https://leetcode.com/problems/non-decreasing-array/
https://leetcode.com/problems/trim-a-binary-search-tree/
https://leetcode.com/problems/trim-a-binary-search-tree/
https://leetcode.com/problems/valid-parenthesis-string/
https://leetcode.com/problems/valid-parenthesis-string/
https://leetcode.com/problems/top-k-frequent-words/
https://leetcode.com/problems/top-k-frequent-words/
https://leetcode.com/problems/max-area-of-island/
https://leetcode.com/problems/max-area-of-island/
https://leetcode.com/problems/minimum-ascii-delete-sum-for-two-strings/
https://leetcode.com/problems/minimum-ascii-delete-sum-for-two-strings/
https://leetcode.com/problems/maximum-length-of-repeated-subarray/
https://leetcode.com/problems/maximum-length-of-repeated-subarray/
https://leetcode.com/problems/split-linked-list-in-parts/
https://leetcode.com/problems/split-linked-list-in-parts/
https://leetcode.com/problems/my-calendar-i/
https://leetcode.com/problems/my-calendar-i/
https://leetcode.com/problems/asteroid-collision/
https://leetcode.com/problems/asteroid-collision/
https://leetcode.com/problems/daily-temperatures/
https://leetcode.com/problems/daily-temperatures/
https://leetcode.com/problems/network-delay-time/
https://leetcode.com/problems/network-delay-time/
https://leetcode.com/problems/is-graph-bipartite/
https://leetcode.com/problems/is-graph-bipartite/
https://leetcode.com/problems/cheapest-flights-within-k-stops/
https://leetcode.com/problems/cheapest-flights-within-k-stops/
https://leetcode.com/problems/domino-and-tromino-tiling/
https://leetcode.com/problems/domino-and-tromino-tiling/
https://leetcode.com/problems/number-of-matching-subsequences/
https://leetcode.com/problems/number-of-matching-subsequences/
https://leetcode.com/problems/all-paths-from-source-to-target/
https://leetcode.com/problems/all-paths-from-source-to-target/
https://leetcode.com/problems/binary-tree-pruning/
https://leetcode.com/problems/binary-tree-pruning/
https://leetcode.com/problems/short-encoding-of-words/
https://leetcode.com/problems/short-encoding-of-words/
https://leetcode.com/problems/binary-trees-with-factors/
https://leetcode.com/problems/binary-trees-with-factors/
https://leetcode.com/problems/image-overlap/
https://leetcode.com/problems/image-overlap/
https://leetcode.com/problems/push-dominoes/
https://leetcode.com/problems/push-dominoes/
https://leetcode.com/problems/keys-and-rooms/
https://leetcode.com/problems/keys-and-rooms/
https://leetcode.com/problems/peak-index-in-a-mountain-array/
https://leetcode.com/problems/peak-index-in-a-mountain-array/
https://leetcode.com/problems/mirror-reflection/
https://leetcode.com/problems/mirror-reflection/
https://leetcode.com/problems/reordered-power-of-2/
https://leetcode.com/problems/reordered-power-of-2/
https://leetcode.com/problems/koko-eating-bananas/
https://leetcode.com/problems/koko-eating-bananas/
https://leetcode.com/problems/boats-to-save-people/
https://leetcode.com/problems/boats-to-save-people/
https://leetcode.com/problems/possible-bipartition/
https://leetcode.com/problems/possible-bipartition/
https://leetcode.com/problems/find-and-replace-pattern/
https://leetcode.com/problems/find-and-replace-pattern/
https://leetcode.com/problems/online-stock-span/
https://leetcode.com/problems/online-stock-span/
https://leetcode.com/problems/fruit-into-baskets/
https://leetcode.com/problems/fruit-into-baskets/
https://leetcode.com/problems/sum-of-subarray-minimums/
https://leetcode.com/problems/sum-of-subarray-minimums/
https://leetcode.com/problems/snakes-and-ladders/
https://leetcode.com/problems/snakes-and-ladders/
https://leetcode.com/problems/sort-an-array/
https://leetcode.com/problems/sort-an-array/
https://leetcode.com/problems/word-subsets/
https://leetcode.com/problems/word-subsets/
https://leetcode.com/problems/maximum-sum-circular-subarray/
https://leetcode.com/problems/maximum-sum-circular-subarray/
https://leetcode.com/problems/3sum-with-multiplicity/
https://leetcode.com/problems/3sum-with-multiplicity/
https://leetcode.com/problems/flip-string-to-monotone-increasing/
https://leetcode.com/problems/flip-string-to-monotone-increasing/
https://leetcode.com/problems/minimum-falling-path-sum/
https://leetcode.com/problems/minimum-falling-path-sum/
https://leetcode.com/problems/shortest-bridge/
https://leetcode.com/problems/shortest-bridge/
https://leetcode.com/problems/validate-stack-sequences/
https://leetcode.com/problems/validate-stack-sequences/
https://leetcode.com/problems/most-stones-removed-with-same-row-or-column/
https://leetcode.com/problems/most-stones-removed-with-same-row-or-column/
https://leetcode.com/problems/bag-of-tokens/
https://leetcode.com/problems/bag-of-tokens/
https://leetcode.com/problems/check-completeness-of-a-binary-tree/
https://leetcode.com/problems/check-completeness-of-a-binary-tree/
https://leetcode.com/problems/numbers-with-same-consecutive-differences/
https://leetcode.com/problems/numbers-with-same-consecutive-differences/
https://leetcode.com/problems/subarray-sums-divisible-by-k/
https://leetcode.com/problems/subarray-sums-divisible-by-k/
https://leetcode.com/problems/time-based-key-value-store/
https://leetcode.com/problems/time-based-key-value-store/
https://leetcode.com/problems/minimum-cost-for-tickets/
https://leetcode.com/problems/minimum-cost-for-tickets/
https://leetcode.com/problems/sum-of-even-numbers-after-queries/
https://leetcode.com/problems/sum-of-even-numbers-after-queries/
https://leetcode.com/problems/satisfiability-of-equality-equations/
https://leetcode.com/problems/satisfiability-of-equality-equations/
https://leetcode.com/problems/capacity-to-ship-packages-within-d-days/
https://leetcode.com/problems/capacity-to-ship-packages-within-d-days/
https://leetcode.com/problems/number-of-enclaves/
https://leetcode.com/problems/number-of-enclaves/
https://leetcode.com/problems/maximum-difference-between-node-and-ancestor/
https://leetcode.com/problems/maximum-difference-between-node-and-ancestor/
https://leetcode.com/problems/uncrossed-lines/
https://leetcode.com/problems/uncrossed-lines/
https://leetcode.com/problems/longest-string-chain/
https://leetcode.com/problems/longest-string-chain/
https://leetcode.com/problems/lexicographically-smallest-equivalent-string/
https://leetcode.com/problems/lexicographically-smallest-equivalent-string/
https://leetcode.com/problems/shortest-path-in-binary-matrix/
https://leetcode.com/problems/shortest-path-in-binary-matrix/
https://leetcode.com/problems/shortest-path-with-alternating-colors/
https://leetcode.com/problems/shortest-path-with-alternating-colors/
https://leetcode.com/problems/longest-common-subsequence/
https://leetcode.com/problems/longest-common-subsequence/
https://leetcode.com/problems/snapshot-array/
https://leetcode.com/problems/snapshot-array/
https://leetcode.com/problems/number-of-dice-rolls-with-target-sum/
https://leetcode.com/problems/number-of-dice-rolls-with-target-sum/
https://leetcode.com/problems/maximum-level-sum-of-a-binary-tree/
https://leetcode.com/problems/maximum-level-sum-of-a-binary-tree/
https://leetcode.com/problems/as-far-from-land-as-possible/
https://leetcode.com/problems/as-far-from-land-as-possible/
https://leetcode.com/problems/smallest-string-with-swaps/solution/
https://leetcode.com/problems/smallest-string-with-swaps/solution/
https://leetcode.com/problems/remove-all-adjacent-duplicates-in-string-ii/
https://leetcode.com/problems/remove-all-adjacent-duplicates-in-string-ii/
https://leetcode.com/problems/maximum-length-of-a-concatenated-string-with-unique-characters/
https://leetcode.com/problems/maximum-length-of-a-concatenated-string-with-unique-characters/
https://leetcode.com/problems/number-of-closed-islands/
https://leetcode.com/problems/number-of-closed-islands/
https://leetcode.com/problems/search-suggestions-system/
https://leetcode.com/problems/search-suggestions-system/
https://leetcode.com/problems/group-the-people-given-the-group-size-they-belong-to/
https://leetcode.com/problems/group-the-people-given-the-group-size-they-belong-to/
https://leetcode.com/problems/deepest-leaves-sum/
https://leetcode.com/problems/deepest-leaves-sum/
https://leetcode.com/problems/jump-game-iii/
https://leetcode.com/problems/jump-game-iii/
https://leetcode.com/problems/minimum-flips-to-make-a-or-b-equal-to-c/
https://leetcode.com/problems/minimum-flips-to-make-a-or-b-equal-to-c/
https://leetcode.com/problems/number-of-operations-to-make-network-connected/
https://leetcode.com/problems/number-of-operations-to-make-network-connected/
https://leetcode.com/problems/break-a-palindrome/
https://leetcode.com/problems/break-a-palindrome/
https://leetcode.com/problems/sort-the-matrix-diagonally/
https://leetcode.com/problems/sort-the-matrix-diagonally/
https://leetcode.com/problems/reduce-array-size-to-the-half/
https://leetcode.com/problems/reduce-array-size-to-the-half/
https://leetcode.com/problems/maximum-product-of-splitted-binary-tree/
https://leetcode.com/problems/maximum-product-of-splitted-binary-tree/
https://leetcode.com/problems/longest-zigzag-path-in-a-binary-tree/
https://leetcode.com/problems/longest-zigzag-path-in-a-binary-tree/
https://leetcode.com/problems/time-needed-to-inform-all-employees/
https://leetcode.com/problems/time-needed-to-inform-all-employees/
https://leetcode.com/problems/design-underground-system/
https://leetcode.com/problems/design-underground-system/
https://leetcode.com/problems/maximum-points-you-can-obtain-from-cards/
https://leetcode.com/problems/maximum-points-you-can-obtain-from-cards/
https://leetcode.com/problems/count-good-nodes-in-binary-tree/
https://leetcode.com/problems/count-good-nodes-in-binary-tree/
https://leetcode.com/problems/maximum-number-of-vowels-in-a-substring-of-given-length/
https://leetcode.com/problems/maximum-number-of-vowels-in-a-substring-of-given-length/
https://leetcode.com/problems/pseudo-palindromic-paths-in-a-binary-tree/
https://leetcode.com/problems/pseudo-palindromic-paths-in-a-binary-tree/
https://leetcode.com/problems/check-if-a-string-contains-all-binary-codes-of-size-k/
https://leetcode.com/problems/check-if-a-string-contains-all-binary-codes-of-size-k/
https://leetcode.com/problems/maximum-area-of-a-piece-of-cake-after-horizontal-and-vertical-cuts/
https://leetcode.com/problems/maximum-area-of-a-piece-of-cake-after-horizontal-and-vertical-cuts/
https://leetcode.com/problems/reorder-routes-to-make-all-paths-lead-to-the-city-zero/
https://leetcode.com/problems/reorder-routes-to-make-all-paths-lead-to-the-city-zero/
https://leetcode.com/problems/design-browser-history/
https://leetcode.com/problems/design-browser-history/
https://leetcode.com/problems/longest-subarray-of-1s-after-deleting-one-element/
https://leetcode.com/problems/longest-subarray-of-1s-after-deleting-one-element/
https://leetcode.com/problems/number-of-subsequences-that-satisfy-the-given-sum-condition/
https://leetcode.com/problems/number-of-subsequences-that-satisfy-the-given-sum-condition/
https://leetcode.com/problems/number-of-nodes-in-the-sub-tree-with-the-same-label/
https://leetcode.com/problems/number-of-nodes-in-the-sub-tree-with-the-same-label/
https://leetcode.com/problems/minimum-number-of-vertices-to-reach-all-nodes/
https://leetcode.com/problems/minimum-number-of-vertices-to-reach-all-nodes/
https://leetcode.com/problems/minimum-time-to-make-rope-colorful/
https://leetcode.com/problems/minimum-time-to-make-rope-colorful/
https://leetcode.com/problems/min-cost-to-connect-all-points/
https://leetcode.com/problems/min-cost-to-connect-all-points/
https://leetcode.com/problems/best-team-with-no-conflicts/
https://leetcode.com/problems/best-team-with-no-conflicts/
https://leetcode.com/problems/path-with-minimum-effort/
https://leetcode.com/problems/path-with-minimum-effort/
https://leetcode.com/problems/count-sorted-vowel-strings/
https://leetcode.com/problems/count-sorted-vowel-strings/
https://leetcode.com/problems/furthest-building-you-can-reach/
https://leetcode.com/problems/furthest-building-you-can-reach/
https://leetcode.com/problems/minimum-deletions-to-make-character-frequencies-unique/
https://leetcode.com/problems/minimum-deletions-to-make-character-frequencies-unique/
https://leetcode.com/problems/determine-if-two-strings-are-close/
https://leetcode.com/problems/determine-if-two-strings-are-close/
https://leetcode.com/problems/minimum-operations-to-reduce-x-to-zero/
https://leetcode.com/problems/minimum-operations-to-reduce-x-to-zero/
https://leetcode.com/problems/max-number-of-k-sum-pairs/
https://leetcode.com/problems/max-number-of-k-sum-pairs/
https://leetcode.com/problems/concatenation-of-consecutive-binary-numbers/
https://leetcode.com/problems/concatenation-of-consecutive-binary-numbers/
https://leetcode.com/problems/partitioning-into-minimum-number-of-deci-binary-numbers/
https://leetcode.com/problems/partitioning-into-minimum-number-of-deci-binary-numbers/
https://leetcode.com/problems/maximum-erasure-value/
https://leetcode.com/problems/maximum-erasure-value/
https://leetcode.com/problems/jump-game-vi/
https://leetcode.com/problems/jump-game-vi/
https://leetcode.com/problems/where-will-the-ball-fall/
https://leetcode.com/problems/where-will-the-ball-fall/
https://leetcode.com/problems/swapping-nodes-in-a-linked-list/
https://leetcode.com/problems/swapping-nodes-in-a-linked-list/
https://leetcode.com/problems/restore-the-array-from-adjacent-pairs/
https://leetcode.com/problems/restore-the-array-from-adjacent-pairs/
https://leetcode.com/problems/maximum-score-from-performing-multiplication-operations/
https://leetcode.com/problems/maximum-score-from-performing-multiplication-operations/
https://leetcode.com/problems/maximum-ice-cream-bars/
https://leetcode.com/problems/maximum-ice-cream-bars/
https://leetcode.com/problems/single-threaded-cpu/
https://leetcode.com/problems/single-threaded-cpu/
https://leetcode.com/problems/nearest-exit-from-entrance-in-maze/
https://leetcode.com/problems/nearest-exit-from-entrance-in-maze/
https://leetcode.com/problems/unique-length-3-palindromic-subsequences/
https://leetcode.com/problems/unique-length-3-palindromic-subsequences/
https://leetcode.com/problems/remove-stones-to-minimize-the-total/
https://leetcode.com/problems/remove-stones-to-minimize-the-total/
https://leetcode.com/problems/the-number-of-weak-characters-in-the-game/
https://leetcode.com/problems/the-number-of-weak-characters-in-the-game/
https://leetcode.com/problems/find-original-array-from-doubled-array/
https://leetcode.com/problems/find-original-array-from-doubled-array/
https://leetcode.com/problems/remove-colored-pieces-if-both-neighbors-are-the-same-color/
https://leetcode.com/problems/remove-colored-pieces-if-both-neighbors-are-the-same-color/
https://leetcode.com/problems/k-radius-subarray-averages/
https://leetcode.com/problems/k-radius-subarray-averages/
https://leetcode.com/problems/delete-the-middle-node-of-a-linked-list/
https://leetcode.com/problems/delete-the-middle-node-of-a-linked-list/
https://leetcode.com/problems/detonate-the-maximum-bombs/
https://leetcode.com/problems/detonate-the-maximum-bombs/
https://leetcode.com/problems/maximum-twin-sum-of-a-linked-list/
https://leetcode.com/problems/maximum-twin-sum-of-a-linked-list/
https: //leetcode.com/problems/longest-palindrome-by-concatenating-two-letter-words/
https: //leetcode.com/problems/longest-palindrome-by-concatenating-two-letter-words/
https://leetcode.com/problems/solving-questions-with-brainpower/
https://leetcode.com/problems/solving-questions-with-brainpower/
https://leetcode.com/problems/minimum-time-to-complete-trips/
https://leetcode.com/problems/minimum-time-to-complete-trips/
https://leetcode.com/problems/find-players-with-zero-or-one-losses/
https://leetcode.com/problems/find-players-with-zero-or-one-losses/
https://leetcode.com/problems/minimum-rounds-to-complete-all-tasks/
https://leetcode.com/problems/minimum-rounds-to-complete-all-tasks/
https://leetcode.com/problems/minimum-average-difference/
https://leetcode.com/problems/minimum-average-difference/
https://leetcode.com/problems/number-of-ways-to-split-array/
https://leetcode.com/problems/number-of-ways-to-split-array/
https://leetcode.com/problems/maximum-bags-with-full-capacity-of-rocks/
https://leetcode.com/problems/maximum-bags-with-full-capacity-of-rocks/
https://leetcode.com/problems/successful-pairs-of-spells-and-potions/
https://leetcode.com/problems/successful-pairs-of-spells-and-potions/
https://leetcode.com/problems/fair-distribution-of-cookies/
https://leetcode.com/problems/fair-distribution-of-cookies/
https://leetcode.com/problems/count-unreachable-pairs-of-nodes-in-an-undirected-graph/
https://leetcode.com/problems/count-unreachable-pairs-of-nodes-in-an-undirected-graph/
https://leetcode.com/problems/smallest-number-in-infinite-set/
https://leetcode.com/problems/smallest-number-in-infinite-set/
https://leetcode.com/problems/number-of-zero-filled-subarrays/
https://leetcode.com/problems/number-of-zero-filled-subarrays/
https://leetcode.com/problems/equal-row-and-column-pairs/
https://leetcode.com/problems/equal-row-and-column-pairs/
https://leetcode.com/problems/find-closest-node-to-given-two-nodes/
https://leetcode.com/problems/find-closest-node-to-given-two-nodes/
https://leetcode.com/problems/removing-stars-from-a-string/
https://leetcode.com/problems/removing-stars-from-a-string/
https://leetcode.com/problems/optimal-partition-of-string/
https://leetcode.com/problems/optimal-partition-of-string/
https://leetcode.com/problems/minimize-maximum-of-array/
https://leetcode.com/problems/minimize-maximum-of-array/
https://leetcode.com/problems/cache-ways-to-build-good-strings/
https://leetcode.com/problems/cache-ways-to-build-good-strings/
https://leetcode.com/problems/minimum-fuel-cost-to-report-to-the-capital/
https://leetcode.com/problems/minimum-fuel-cost-to-report-to-the-capital/
https://leetcode.com/problems/minimum-penalty-for-a-shop/
https://leetcode.com/problems/minimum-penalty-for-a-shop/
https://leetcode.com/problems/minimum-score-of-a-path-between-two-cities/
https://leetcode.com/problems/minimum-score-of-a-path-between-two-cities/
https://leetcode.com/problems/maximum-subsequence-score/
https://leetcode.com/problems/maximum-subsequence-score/
https://leetcode.com/problems/sort-vowels-in-a-string/
https://leetcode.com/problems/sort-vowels-in-a-string/
https://leetcode.com/problems/minimum-time-to-collect-all-apples-in-a-tree/
https://leetcode.com/problems/minimum-time-to-collect-all-apples-in-a-tree/

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL