leetcode solutions
- .github
- .gitignore
- 01-matrix.py
- 1-bit-and-2-bit-characters.py
- 132-pattern.py
- 2-keys-keyboard.py
- 3sum-closest.py
- 3sum-with-multiplicity.py
- 3sum.py
- 4sum-ii.py
- 4sum.py
- LICENSE
- README.md
- a-number-after-a-double-reversal.py
- account-balance-after-rounded-purchase.py
- add-binary.py
- add-digits.py
- add-edges-to-make-degrees-of-all-nodes-even.py
- add-one-row-to-tree.py
- add-strings.py
- add-to-array-form-of-integer.cpp
- add-two-integers.py
- add-two-numbers-ii.py
- add-two-numbers.py
- adding-spaces-to-a-string.py
- additive-number.py
- advantage-shuffle.py
- alert-using-same-key-card-three-or-more-times-in-a-one-hour-period.py
- all-ancestors-of-a-node-in-a-directed-acyclic-graph.py
- all-divisions-with-the-highest-score-of-a-binary-array.py
- all-elements-in-two-binary-search-trees.py
- all-nodes-distance-k-in-binary-tree.py
- all-oone-data-structure.py
- all-paths-from-source-to-target.py
- all-possible-full-binary-trees.py
- alphabet-board-path.py
- alternating-groups-i.py
- alternating-groups-ii.py
- amount-of-time-for-binary-tree-to-be-infected.py
- angle-between-hands-of-a-clock.py
- ant-on-the-boundary.py
- append-characters-to-string-to-make-subsequence.py
- append-k-integers-with-minimal-sum.py
- apple-redistribution-into-boxes.py
- apply-bitwise-operations-to-make-strings-equal.py
- apply-discount-to-prices.py
- apply-operations-to-an-array.py
- apply-operations-to-make-all-array-elements-equal-to-zero.py
- apply-operations-to-make-string-empty.py
- apply-operations-to-make-sum-of-array-greater-than-or-equal-to-k.py
- apply-operations-to-make-two-strings-equal.py
- apply-operations-to-maximize-frequency-score.py
- apply-operations-to-maximize-score.py
- arithmetic-slices-ii-subsequence.py
- arithmetic-slices.py
- arithmetic-subarrays.py
- arranging-coins.py
- array-nesting.py
- array-of-doubled-pairs.py
- array-partition-i.py
- array-with-elements-not-equal-to-average-of-neighbors.py
- as-far-from-land-as-possible.py
- assign-cookies.py
- asteroid-collision.py
- available-captures-for-rook.py
- average-of-levels-in-binary-tree.py
- average-salary-excluding-the-minimum-and-maximum-salary.py
- average-value-of-even-numbers-that-are-divisible-by-three.py
- average-waiting-time.py
- backspace-string-compare.py
- bag-of-tokens.py
- balance-a-binary-search-tree.py
- balanced-binary-tree.py
- base-7.py
- baseball-game.py
- basic-calculator-ii.py
- basic-calculator.py
- battleships-in-a-board.py
- beautiful-arrangement.py
- beautiful-array.py
- beautiful-towers-i.py
- beautiful-towers-ii.py
- best-poker-hand.py
- best-sightseeing-pair.py
- best-team-with-no-conflicts.py
- best-time-to-buy-and-sell-stock-ii.py
- best-time-to-buy-and-sell-stock-iii.py
- best-time-to-buy-and-sell-stock-iv.py
- best-time-to-buy-and-sell-stock-with-cooldown.py
- best-time-to-buy-and-sell-stock-with-transaction-fee.py
- best-time-to-buy-and-sell-stock.py
- binary-gap.py
- binary-number-with-alternating-bits.py
- binary-prefix-divisible-by-5.py
- binary-search-tree-iterator.py
- binary-search-tree-to-greater-sum-tree.py
- binary-search.py
- binary-string-with-substrings-representing-1-to-n.py
- binary-subarrays-with-sum.py
- binary-tree-cameras.py
- binary-tree-inorder-traversal.py
- binary-tree-level-order-traversal-ii.py
- binary-tree-level-order-traversal.py
- binary-tree-maximum-path-sum.py
- binary-tree-paths.py
- binary-tree-postorder-traversal.py
- binary-tree-preorder-traversal.py
- binary-tree-pruning.py
- binary-tree-right-side-view.py
- binary-tree-tilt.py
- binary-tree-zigzag-level-order-traversal.py
- binary-trees-with-factors.py
- bitwise-and-of-numbers-range.py
- bitwise-ors-of-subarrays.py
- bitwise-xor-of-all-pairings.py
- block-placement-queries.py
- boats-to-save-people.py
- break-a-palindrome.py
- brick-wall.py
- broken-calculator.py
- buddy-strings.py
- build-a-matrix-with-conditions.py
- build-an-array-with-stack-operations.py
- build-array-from-permutation.py
- build-array-where-you-can-find-the-maximum-exactly-k-comparisons.py
- bulb-switcher.py
- bulls-and-cows.py
- burst-balloons.py
- bus-routes.py
- buy-two-chocolates.py
- calculate-amount-paid-in-taxes.py
- calculate-delayed-arrival-time.py
- calculate-digit-sum-of-a-string.py
- calculate-money-in-leetcode-bank.py
- camelcase-matching.py
- can-i-win.py
- can-make-arithmetic-progression-from-sequence.py
- can-make-palindrome-from-substring.py
- can-place-flowers.py
- candy.py
- capacity-to-ship-packages-within-d-days.py
- capitalize-the-title.py
- car-fleet.py
- car-pooling.py
- categorize-box-according-to-criteria.py
- cells-in-a-range-on-an-excel-sheet.py
- cells-with-odd-values-in-a-matrix.py
- champagne-tower.py
- cheapest-flights-within-k-stops.py
- check-array-formation-through-concatenation.py
- check-completeness-of-a-binary-tree.py
- check-distances-between-same-letters.py
- check-if-a-string-can-break-another-string.py
- check-if-a-string-contains-all-binary-codes-of-size-k.py
- check-if-a-string-is-an-acronym-of-words.py
- check-if-a-word-occurs-as-a-prefix-of-any-word-in-a-sentence.py
- check-if-all-1s-are-at-least-length-k-places-away.py
- check-if-all-as-appears-before-all-bs.py
- check-if-all-characters-have-equal-number-of-occurrences.py
- check-if-array-is-good.py
- check-if-array-is-sorted-and-rotated.py
- check-if-array-pairs-are-divisible-by-k.py
- check-if-binary-string-has-at-most-one-segment-of-ones.py
- check-if-bitwise-or-has-trailing-zeros.py
- check-if-every-row-and-column-contains-all-numbers.py
- check-if-grid-satisfies-conditions.py
- check-if-it-is-a-good-array.py
- check-if-it-is-a-straight-line.py
- check-if-it-is-possible-to-split-array.py
- check-if-matrix-is-x-matrix.py
- check-if-n-and-its-double-exist.py
- check-if-number-has-equal-digit-count-and-digit-value.py
- check-if-number-is-a-sum-of-powers-of-three.py
- check-if-numbers-are-ascending-in-a-sentence.py
- check-if-one-string-swap-can-make-strings-equal.py
- check-if-strings-can-be-made-equal-with-operations-i.py
- check-if-strings-can-be-made-equal-with-operations-ii.py
- check-if-the-sentence-is-pangram.py
- check-if-there-is-a-valid-parentheses-string-path.py
- check-if-there-is-a-valid-partition-for-the-array.py
- check-if-two-string-arrays-are-equivalent.py
- check-if-word-is-valid-after-substitutions.py
- check-knight-tour-configuration.py
- check-whether-two-strings-are-almost-equivalent.py
- checking-existence-of-edge-length-limited-paths.py
- cherry-pickup-ii.py
- circular-array-loop.py
- circular-permutation-in-binary-representation.py
- circular-sentence.py
- clear-digits.py
- climbing-stairs.py
- clone-graph.py
- closest-divisors.py
- closest-nodes-queries-in-a-binary-search-tree.py
- closest-room.py
- closest-subsequence-sum.py
- clumsy-factorial.py
- coin-change-2.py
- coin-change-ii.py
- coin-change.py
- collecting-chocolates.py
- combination-sum-ii.py
- combination-sum-iii.py
- combination-sum-iv.py
- combination-sum.py
- combinations.py
- combine-two-tables.sql
- compare-strings-by-frequency-of-the-smallest-character.py
- compare-version-numbers.py
- complement-of-base-10-integer.cpp
- complex-number-multiplication.py
- concatenated-words.py
- concatenation-of-array.py
- concatenation-of-consecutive-binary-numbers.py
- consecutive-characters.py
- consecutive-numbers-sum.py
- constrained-subsequence-sum.py
- construct-binary-search-tree-from-preorder-traversal.py
- construct-binary-tree-from-inorder-and-postorder-traversal.py
- construct-binary-tree-from-preorder-and-inorder-traversal.py
- construct-binary-tree-from-preorder-and-postorder-traversal.py
- construct-k-palindrome-strings.py
- construct-product-matrix.py
- construct-quad-tree.py
- construct-smallest-number-from-di-string.py
- construct-string-from-binary-tree.py
- construct-string-with-minimum-cost.cpp
- construct-string-with-minimum-cost.py
- construct-string-with-repeat-limit.py
- construct-target-array-with-multiple-sums.py
- construct-the-rectangle.py
- container-with-most-water.py
- contains-duplicate-ii.py
- contains-duplicate-iii.py
- contains-duplicate.py
- contiguous-array.py
- continuous-subarray-sum.py
- continuous-subarrays.py
- convert-1d-array-into-2d-array.py
- convert-an-array-into-a-2d-array-with-conditions.py
- convert-binary-number-in-a-linked-list-to-integer.py
- convert-bst-to-greater-tree.py
- convert-integer-to-the-sum-of-two-no-zero-integers.py
- convert-sorted-array-to-binary-search-tree.py
- convert-sorted-list-to-binary-search-tree.py
- convert-the-temperature.py
- copy-list-with-random-pointer.py
- corporate-flight-bookings.py
- count-all-possible-routes.py
- count-all-valid-pickup-and-delivery-options.py
- count-alternating-subarrays.py
- count-anagrams.py
- count-and-say.py
- count-array-pairs-divisible-by-k.py
- count-artifacts-that-can-be-extracted.py
- count-asterisks.py
- count-beautiful-substrings-i.py
- count-beautiful-substrings-ii.py
- count-binary-substrings.py
- count-collisions-of-monkeys-on-a-polygon.py
- count-collisions-on-a-road.py
- count-common-words-with-one-occurrence.py
- count-complete-subarrays-in-an-array.py
- count-complete-substrings.py
- count-complete-tree-nodes.py
- count-days-spent-together.py
- count-days-without-meetings.py
- count-elements-with-maximum-frequency.py
- count-elements-with-strictly-smaller-and-greater-elements.py
- count-equal-and-divisible-pairs-in-an-array.py
- count-fertile-pyramids-in-a-land.py
- count-good-meals.py
- count-good-nodes-in-binary-tree.py
- count-good-numbers.py
- count-good-triplets-in-an-array.py
- count-good-triplets.py
- count-hills-and-valleys-in-an-array.py
- count-increasing-quadruplets.cpp
- count-items-matching-a-rule.py
- count-k-subsequences-of-a-string-with-maximum-beauty.py
- count-lattice-points-inside-a-circle.py
- count-negative-numbers-in-a-sorted-matrix.py
- count-nice-pairs-in-an-array.py
- count-nodes-equal-to-average-of-subtree.py
- count-nodes-with-the-highest-score.py
- count-number-of-bad-pairs.py
- count-number-of-distinct-integers-after-reverse-operations.py
- count-number-of-homogenous-substrings.py
- count-number-of-nice-subarrays.py
- count-number-of-pairs-with-absolute-difference-k.py
- count-number-of-rectangles-containing-each-point.py
- count-number-of-special-subsequences.py
- count-number-of-teams.py
- count-number-of-texts.py
- count-number-of-ways-to-place-houses.py
- count-numbers-with-unique-digits.py
- count-odd-numbers-in-an-interval-range.py
- count-of-integers.py
- count-of-interesting-subarrays.py
- count-of-matches-in-tournament.py
- count-of-range-sum.py
- count-of-smaller-numbers-after-self.py
- count-pairs-of-connectable-servers-in-a-weighted-tree-network.py
- count-pairs-of-nodes.py
- count-pairs-of-points-with-distance-k.py
- count-pairs-of-similar-strings.py
- count-pairs-that-form-a-complete-day-i.py
- count-pairs-that-form-a-complete-day-ii.py
- count-pairs-whose-sum-is-less-than-target.py
- count-palindromic-subsequences.py
- count-paths-that-can-form-a-palindrome-in-a-tree.py
- count-prefix-and-suffix-pairs-i.py
- count-prefix-and-suffix-pairs-ii.py
- count-prefixes-of-a-given-string.py
- count-primes.py
- count-sorted-vowel-strings.py
- count-special-integers.py
- count-special-quadruplets.py
- count-square-submatrices-with-all-ones.py
- count-square-sum-triples.py
- count-stepping-numbers-in-range.py
- count-sub-islands.py
- count-subarrays-where-max-element-appears-at-least-k-times.py
- count-subarrays-with-fixed-bounds.py
- count-subarrays-with-median-k.py
- count-subarrays-with-score-less-than-k.py
- count-submatrices-with-all-ones.py
- count-submatrices-with-equal-frequency-of-x-and-y.py
- count-submatrices-with-top-left-element-and-sum-less-than-k.py
- count-substrings-that-differ-by-one-character.py
- count-symmetric-integers.py
- count-tested-devices-after-test-operations.py
- count-the-digits-that-divide-a-number.py
- count-the-hidden-sequences.py
- count-the-number-of-beautiful-subarrays.py
- count-the-number-of-complete-components.py
- count-the-number-of-consistent-strings.py
- count-the-number-of-fair-pairs.py
- count-the-number-of-good-partitions.py
- count-the-number-of-good-subarrays.py
- count-the-number-of-ideal-arrays.py
- count-the-number-of-infection-sequences.py
- count-the-number-of-inversions.py
- count-the-number-of-powerful-integers.py
- count-the-number-of-special-characters-i.py
- count-the-number-of-special-characters-ii.py
- count-the-number-of-substrings-with-dominant-ones.cpp
- count-the-number-of-vowel-strings-in-range.py
- count-total-number-of-colored-cells.py
- count-triplets-that-can-form-two-arrays-of-equal-xor.py
- count-unique-characters-of-all-substrings-of-a-given-string.py
- count-unreachable-pairs-of-nodes-in-an-undirected-graph.py
- count-visited-nodes-in-a-directed-graph.py
- count-vowel-strings-in-ranges.py
- count-vowel-substrings-of-a-string.py
- count-vowels-permutation.py
- count-ways-to-build-good-strings.py
- count-ways-to-build-rooms-in-an-ant-colony.py
- count-ways-to-make-array-with-product.py
- count-words-obtained-after-adding-a-letter.py
- counting-bits.py
- counting-words-with-a-given-prefix.py
- couples-holding-hands.py
- course-schedule-ii.py
- course-schedule-iii.py
- course-schedule.py
- cousins-in-binary-tree-ii.py
- cousins-in-binary-tree.py
- crawler-log-folder.py
- create-binary-tree-from-descriptions.py
- create-components-with-same-value.py
- create-maximum-number.py
- create-sorted-array-through-instructions.py
- create-target-array-in-the-given-order.py
- critical-connections-in-a-network.py
- custom-sort-string.py
- cut-off-trees-for-golf-event.py
- cycle-length-queries-in-a-tree.py
- daily-temperatures.py
- data-stream-as-disjoint-intervals.py
- debounce.js
- decode-the-message.py
- decode-the-slanted-ciphertext.py
- decode-ways-ii.py
- decode-ways.py
- decode-xored-array.py
- decode-xored-permutation.py
- decoded-string-at-index.py
- decompress-run-length-encoded-list.py
- decremental-string-concatenation.py
- deepest-leaves-sum.py
- defanging-an-ip-address.py
- defuse-the-bomb.py
- degree-of-an-array.py
- delete-and-earn.py
- delete-characters-to-make-fancy-string.py
- delete-columns-to-make-sorted.py
- delete-greatest-value-in-each-row.py
- delete-leaves-with-a-given-value.py
- delete-node-in-a-bst.py
- delete-node-in-a-linked-list.py
- delete-nodes-and-return-forest.py
- delete-nodes-from-linked-list-present-in-array.py
- delete-operation-for-two-strings.py
- delete-the-middle-node-of-a-linked-list.py
- design-a-food-rating-system.py
- design-a-number-container-system.py
- design-a-stack-with-increment-operation.py
- design-a-text-editor.py
- design-add-and-search-words-data-structure.py
- design-an-atm-machine.py
- design-bitset.py
- design-browser-history.py
- design-circular-deque.py
- design-circular-queue.py
- design-front-middle-back-queue.py
- design-graph-with-shortest-path-calculator.py
- design-hashmap.py
- design-hashset.py
- design-memory-allocator.py
- design-neighbor-sum-service.py
- design-parking-system.py
- design-underground-system.py
- destination-city.py
- destroy-sequential-targets.py
- destroying-asteroids.py
- detect-capital.py
- detect-cycles-in-2d-grid.py
- detect-pattern-of-length-m-repeated-k-or-more-times.py
- detect-squares.py
- determine-if-a-cell-is-reachable-at-a-given-time.py
- determine-if-string-halves-are-alike.py
- determine-if-two-events-have-conflict.py
- determine-if-two-strings-are-close.py
- determine-the-minimum-sum-of-a-k-avoiding-array.py
- determine-the-winner-of-a-bowling-game.py
- determine-whether-matrix-can-be-obtained-by-rotation.py
- detonate-the-maximum-bombs.py
- diagonal-traverse-ii.py
- diagonal-traverse.py
- diameter-of-binary-tree.py
- dice-roll-simulation.py
- difference-between-maximum-and-minimum-price-sum.py
- difference-between-ones-and-zeros-in-row-and-column.py
- distant-barcodes.py
- distinct-echo-substrings.py
- distinct-prime-factors-of-product-of-array.cpp
- distinct-prime-factors-of-product-of-array.py
- distinct-subsequences-ii.py
- distinct-subsequences.py
- distribute-candies-among-children-i.py
- distribute-candies-among-children-ii.py
- distribute-candies-to-people.py
- distribute-candies.py
- distribute-coins-in-binary-tree.py
- distribute-elements-into-two-arrays-i.py
- distribute-elements-into-two-arrays-ii.py
- distribute-money-to-maximum-children.py
- divide-a-string-into-groups-of-size-k.py
- divide-an-array-into-subarrays-with-minimum-cost-i.py
- divide-an-array-into-subarrays-with-minimum-cost-ii.py
- divide-array-in-sets-of-k-consecutive-numbers.py
- divide-array-into-arrays-with-max-difference.py
- divide-array-into-equal-pairs.py
- divide-intervals-into-minimum-number-of-groups.py
- divide-nodes-into-the-maximum-number-of-groups.py
- divide-players-into-teams-of-equal-skill.py
- divide-two-integers.py
- divisible-and-non-divisible-sums-difference.py
- divisor-game.py
- domino-and-tromino-tiling.py
- dota2-senate.py
- double-a-number-represented-as-a-linked-list.py
- double-modular-exponentiation.py
- dungeon-game.py
- duplicate-zeros.py
- earliest-possible-day-of-full-bloom.py
- edit-distance.py
- element-appearing-more-than-25-in-sorted-array.py
- eliminate-maximum-number-of-monsters.py
- elimination-game.py
- employee-importance.py
- encode-and-decode-tinyurl.py
- encrypt-and-decrypt-strings.py
- equal-rational-numbers.py
- equal-row-and-column-pairs.py
- erect-the-fence.py
- escape-the-ghosts.py
- evaluate-boolean-binary-tree.py
- evaluate-division.py
- evaluate-reverse-polish-notation.py
- evaluate-the-bracket-pairs-of-a-string.py
- even-odd-tree.py
- excel-sheet-column-number.py
- excel-sheet-column-title.py
- expression-add-operators.py
- extra-characters-in-a-string.py
- factorial-trailing-zeroes.py
- fair-distribution-of-cookies.py
- faulty-keyboard.py
- fibonacci-number.py
- filling-bookcase-shelves.py
- final-value-of-variable-after-performing-operations.py
- find-a-corresponding-node-of-a-binary-tree-in-a-clone-of-that-tree.py
- find-a-good-subset-of-the-matrix.py
- find-a-value-of-a-mysterious-function-closest-to-target.py
- find-all-anagrams-in-a-string.py
- find-all-duplicates-in-an-array.py
- find-all-good-indices.py
- find-all-groups-of-farmland.py
- find-all-k-distant-indices-in-an-array.py
- find-all-lonely-numbers-in-the-array.py
- find-all-numbers-disappeared-in-an-array.py
- find-all-people-with-secret.py
- find-all-possible-recipes-from-given-supplies.py
- find-all-possible-stable-binary-arrays-i.py
- find-all-possible-stable-binary-arrays-ii.cpp
- find-and-replace-in-string.py
- find-and-replace-pattern.py
- find-beautiful-indices-in-the-given-array-i.py
- find-beautiful-indices-in-the-given-array-ii.py
- find-bottom-left-tree-value.py
- find-building-where-alice-and-bob-can-meet.py
- find-center-of-star-graph.py
- find-champion-i.py
- find-champion-ii.py
- find-closest-node-to-given-two-nodes.py
- find-closest-number-to-zero.py
- find-common-characters.py
- find-consecutive-integers-from-a-data-stream.py
- find-critical-and-pseudo-critical-edges-in-minimum-spanning-tree.py
- find-duplicate-file-in-system.py
- find-duplicate-subtrees.py
- find-edges-in-shortest-paths.py
- find-elements-in-a-contaminated-binary-tree.py
- find-eventual-safe-states.py
- find-first-and-last-position-of-element-in-sorted-array.py
- find-first-palindromic-string-in-the-array.py
- find-good-days-to-rob-the-bank.py
- find-greatest-common-divisor-of-array.py
- find-if-array-can-be-sorted.py
- find-if-digit-game-can-be-won.py
- find-if-path-exists-in-graph.py
- find-in-mountain-array.py
- find-indices-with-index-and-value-difference-i.py
- find-indices-with-index-and-value-difference-ii.py
- find-k-closest-elements.py
- find-k-pairs-with-smallest-sums.py
- find-k-th-smallest-pair-distance.py
- find-kth-largest-xor-coordinate-value.py
- find-largest-value-in-each-tree-row.py
- find-longest-awesome-substring.py
- find-longest-special-substring-that-occurs-thrice-i.py
- find-longest-special-substring-that-occurs-thrice-ii.py
- find-lucky-integer-in-an-array.py
- find-maximum-number-of-string-pairs.py
- find-median-from-data-stream.py
- find-minimum-diameter-after-merging-two-trees.cpp
- find-minimum-diameter-after-merging-two-trees.py
- find-minimum-in-rotated-sorted-array.py
- find-minimum-operations-to-make-all-elements-divisible-by-three.py
- find-minimum-time-to-finish-all-jobs.cpp
- find-missing-and-repeated-values.py
- find-missing-observations.py
- find-mode-in-binary-search-tree.py
- find-n-unique-integers-sum-up-to-zero.py
- find-nearest-point-that-has-the-same-x-or-y-coordinate.py
- find-number-of-ways-to-reach-the-k-th-stair.py
- find-numbers-with-even-number-of-digits.py
- find-occurrences-of-an-element-in-an-array.py
- find-original-array-from-doubled-array.py
- find-palindrome-with-fixed-length.py
- find-peak-element.py
- find-pivot-index.py
- find-players-with-zero-or-one-losses.py
- find-polygon-with-the-largest-perimeter.py
- find-positive-integer-solution-for-a-given-equation.py
- find-products-of-elements-of-big-array.py
- find-resultant-array-after-removing-anagrams.py
- find-right-interval.py
- find-smallest-letter-greater-than-target.py
- find-subarray-with-bitwise-or-closest-to-k.py
- find-subarrays-with-equal-sum.py
- find-subsequence-of-length-k-with-the-largest-sum.py
- find-substring-with-given-hash-value.py
- find-target-indices-after-sorting-array.py
- find-the-child-who-has-the-ball-after-k-seconds.py
- find-the-city-with-the-smallest-number-of-neighbors-at-a-threshold-distance.py
- find-the-count-of-numbers-which-are-not-special.py
- find-the-difference-of-two-arrays.py
- find-the-difference.py
- find-the-distance-value-between-two-arrays.py
- find-the-distinct-difference-array.py
- find-the-duplicate-number.py
- find-the-encrypted-string.py
- find-the-grid-of-region-average.py
- find-the-highest-altitude.py
- find-the-index-of-the-first-occurrence-in-a-string.py
- find-the-integer-added-to-array-i.py
- find-the-integer-added-to-array-ii.py
- find-the-k-beauty-of-a-number.py
- find-the-k-or-of-an-array.py
- find-the-kth-largest-integer-in-the-array.py
- find-the-length-of-the-longest-common-prefix.py
- find-the-longest-balanced-substring-of-a-binary-string.py
- find-the-longest-equal-subarray.py
- find-the-longest-substring-containing-vowels-in-even-counts.py
- find-the-longest-valid-obstacle-course-at-each-position.py
- find-the-losers-of-the-circular-game.py
- find-the-maximum-achievable-number.py
- find-the-maximum-divisibility-score.py
- find-the-maximum-length-of-a-good-subsequence-i.py
- find-the-maximum-length-of-a-good-subsequence-ii.py
- find-the-maximum-length-of-valid-subsequence-i.py
- find-the-maximum-length-of-valid-subsequence-ii.py
- find-the-maximum-sum-of-node-values.py
- find-the-median-of-the-uniqueness-array.py
- find-the-middle-index-in-array.py
- find-the-minimum-and-maximum-number-of-nodes-between-critical-points.py
- find-the-minimum-area-to-cover-all-ones-i.py
- find-the-minimum-cost-array-permutation.py
- find-the-minimum-number-of-fibonacci-numbers-whose-sum-is-k.py
- find-the-minimum-possible-sum-of-a-beautiful-array.py
- find-the-most-competitive-subsequence.py
- find-the-n-th-value-after-k-seconds.py
- find-the-number-of-distinct-colors-among-the-balls.py
- find-the-number-of-good-pairs-i.py
- find-the-number-of-good-pairs-ii.py
- find-the-number-of-subarrays-where-boundary-elements-are-maximum.py
- find-the-number-of-ways-to-place-people-i.py
- find-the-number-of-ways-to-place-people-ii.py
- find-the-number-of-winning-players.py
- find-the-original-array-of-prefix-xor.py
- find-the-peaks.py
- find-the-pivot-integer.py
- find-the-prefix-common-array-of-two-arrays.py
- find-the-punishment-number-of-an-integer.py
- find-the-safest-path-in-a-grid.py
- find-the-score-of-all-prefixes-of-an-array.py
- find-the-shortest-superstring.py
- find-the-smallest-divisor-given-a-threshold.py
- find-the-string-with-lcp.py
- find-the-substring-with-maximum-cost.py
- find-the-sum-of-encrypted-integers.py
- find-the-sum-of-the-power-of-all-subsequences.py
- find-the-town-judge.py
- find-the-value-of-the-partition.py
- find-the-width-of-columns-of-a-grid.py
- find-the-winner-of-an-array-game.py
- find-the-winner-of-the-circular-game.py
- find-the-winning-player-in-coin-game.py
- find-the-xor-of-numbers-which-appear-twice.py
- find-three-consecutive-integers-that-sum-to-a-given-number.py
- find-triangular-sum-of-an-array.py
- find-unique-binary-string.py
- find-valid-matrix-given-row-and-column-sums.py
- find-words-containing-character.py
- find-words-that-can-be-formed-by-characters.py
- find-xor-beauty-of-array.py
- find-xor-sum-of-all-pairs-bitwise-and.py
- finding-3-digit-even-numbers.py
- finding-pairs-with-a-certain-sum.py
- finding-the-users-active-minutes.py
- first-bad-version.py
- first-completely-painted-row-or-column.py
- first-day-where-you-have-been-in-all-the-rooms.py
- first-letter-to-appear-twice.py
- first-missing-positive.py
- first-unique-character-in-a-string.py
- fizz-buzz.py
- flatten-a-multilevel-doubly-linked-list.py
- flatten-binary-tree-to-linked-list.py
- flatten-nested-list-iterator.py
- flip-binary-tree-to-match-preorder-traversal.py
- flip-columns-for-maximum-number-of-equal-rows.py
- flip-equivalent-binary-trees.py
- flip-string-to-monotone-increasing.py
- flipping-an-image.py
- flood-fill.py
- flower-planting-with-no-adjacent.py
- form-smallest-number-from-two-digit-arrays.py
- four-divisors.py
- fraction-addition-and-subtraction.py
- freedom-trail.py
- frequency-of-the-most-frequent-element.py
- frequency-tracker.py
- frog-jump-ii.py
- frog-jump.py
- frog-position-after-t-seconds.py
- fruit-into-baskets.py
- furthest-building-you-can-reach.py
- furthest-point-from-origin.py
- game-of-life.py
- gas-station.py
- gcd-sort-of-an-array.py
- generate-binary-strings-without-adjacent-zeros.py
- generate-parentheses.py
- generate-random-point-in-a-circle.py
- get-equal-substrings-within-budget.py
- get-maximum-in-generated-array.py
- get-the-maximum-score.py
- goal-parser-interpretation.py
- goat-latin.py
- graph-connectivity-with-threshold.py
- gray-code.py
- greatest-common-divisor-of-strings.py
- greatest-common-divisor-traversal.py
- greatest-english-letter-in-upper-and-lower-case.py
- greatest-sum-divisible-by-three.py
- grid-game.py
- grid-illumination.py
- group-anagrams.py
- group-the-people-given-the-group-size-they-belong-to.py
- groups-of-strings.py
- grumpy-bookstore-owner.py
- guess-number-higher-or-lower-ii.py
- guess-number-higher-or-lower.py
- guess-the-word.py
- h-index-ii.py
- h-index.py
- hamming-distance.py
- hand-of-straights.py
- handling-sum-queries-after-update.py
- happy-number.py
- happy-students.py
- harshad-number.py
- heaters.py
- height-checker.py
- height-of-binary-tree-after-subtree-removal-queries.py
- high-access-employees.py
- house-robber-ii.py
- house-robber-iii.py
- house-robber-iv.py
- house-robber.py
- how-many-numbers-are-smaller-than-the-current-number.py
- image-overlap.py
- image-smoother.py
- implement-queue-using-stacks.py
- implement-rand10-using-rand7.py
- implement-stack-using-queues.py
- implement-strstr.py
- implement-trie-prefix-tree.py
- increasing-order-search-tree.py
- increasing-subsequences.py
- increasing-triplet-subsequence.py
- increment-submatrices-by-one.py
- indexx.html
- insert-delete-getrandom-o1-duplicates-allowed.py
- insert-delete-getrandom-o1.py
- insert-greatest-common-divisors-in-linked-list.py
- insert-interval.py
- insert-into-a-binary-search-tree.py
- insufficient-nodes-in-root-to-leaf-paths.py
- integer-break.py
- integer-replacement.py
- integer-to-roman.py
- interleaving-string.py
- intersection-of-multiple-arrays.py
- intersection-of-two-arrays-ii.py
- intersection-of-two-arrays.py
- intersection-of-two-linked-lists.py
- interval-list-intersections.py
- intervals-between-identical-elements.py
- invert-binary-tree.py
- ipo.py
- is-graph-bipartite.py
- is-subsequence.py
- island-perimeter.py
- isomorphic-strings.py
- jewels-and-stones.py
- jump-game-ii.py
- jump-game-iii.py
- jump-game-iv.py
- jump-game-v.py
- jump-game-vi.py
- jump-game-vii.py
- jump-game.py
- k-closest-points-to-origin.py
- k-concatenation-maximum-sum.py
- k-diff-pairs-in-an-array.py
- k-divisible-elements-subarrays.py
- k-inverse-pairs-array.py
- k-items-with-the-maximum-sum.py
- k-radius-subarray-averages.py
- k-th-smallest-prime-fraction.py
- k-th-symbol-in-grammar.py
- keep-multiplying-found-values-by-two.py
- keyboard-row.py
- keys-and-rooms.py
- kids-with-the-greatest-number-of-candies.py
- knight-dialer.py
- knight-probability-in-chessboard.py
- koko-eating-bananas.py
- kth-ancestor-of-a-tree-node.py
- kth-distinct-string-in-an-array.py
- kth-largest-element-in-a-stream.py
- kth-largest-element-in-an-array.py
- kth-largest-sum-in-a-binary-tree.py
- kth-missing-positive-number.py
- kth-smallest-amount-with-single-denomination-combination.py
- kth-smallest-element-in-a-bst.py
- kth-smallest-element-in-a-sorted-matrix.py
- kth-smallest-number-in-multiplication-table.py
- largest-1-bordered-square.py
- largest-3-same-digit-number-in-string.py
- largest-color-value-in-a-directed-graph.py
- largest-combination-with-bitwise-and-greater-than-zero.py
- largest-divisible-subset.py
- largest-element-in-an-array-after-merge-operations.py
- largest-local-values-in-a-matrix.py
- largest-magic-square.py
- largest-merge-of-two-strings.py
- largest-multiple-of-three.py
- largest-number-after-digit-swaps-by-parity.py
- largest-number-after-mutating-substring.py
- largest-number-at-least-twice-of-others.py
- largest-number.py
- largest-odd-number-in-string.py
- largest-palindromic-number.py
- largest-perimeter-triangle.py
- largest-positive-integer-that-exists-with-its-negative.py
- largest-rectangle-in-histogram.py
- largest-submatrix-with-rearrangements.py
- largest-substring-between-two-equal-characters.py
- largest-time-for-given-digits.py
- largest-values-from-labels.py
- last-day-where-you-can-still-cross.py
- last-moment-before-all-ants-fall-out-of-a-plank.py
- last-stone-weight-ii.py
- last-stone-weight.py
- last-substring-in-lexicographical-order.py
- last-visited-integers.py
- leaf-similar-trees.py
- least-number-of-unique-integers-after-k-removals.py
- lemonade-change.py
- length-of-last-word.py
- length-of-longest-fibonacci-subsequence.py
- length-of-longest-subarray-with-at-most-k-frequency.py
- length-of-the-longest-alphabetical-continuous-substring.py
- length-of-the-longest-subsequence-that-sums-to-target.py
- length-of-the-longest-valid-substring.py
- letter-case-permutation.py
- letter-combinations-of-a-phone-number.py
- letter-tile-possibilities.py
- lexicographical-numbers.py
- lexicographically-minimum-string-after-removing-stars.py
- lexicographically-smallest-beautiful-string.py
- lexicographically-smallest-equivalent-string.py
- lexicographically-smallest-palindrome.py
- lexicographically-smallest-string-after-a-swap.py
- lexicographically-smallest-string-after-operations-with-constraint.py
- lexicographically-smallest-string-after-substring-operation.py
- lfu-cache.py
- license-key-formatting.py
- linked-list-components.py
- linked-list-cycle-ii.py
- linked-list-cycle.py
- linked-list-random-node.py
- long-pressed-name.py
- longer-contiguous-segments-of-ones-than-zeros.py
- longest-arithmetic-subsequence-of-given-difference.py
- longest-arithmetic-subsequence.py
- longest-binary-subsequence-less-than-or-equal-to-k.py
- longest-chunked-palindrome-decomposition.py
- longest-common-prefix.py
- longest-common-subpath.py
- longest-common-subsequence.py
- longest-common-suffix-queries.py
- longest-consecutive-sequence.py
- longest-continuous-increasing-subsequence.py
- longest-continuous-subarray-with-absolute-diff-less-than-or-equal-to-limit.py
- longest-cycle-in-a-graph.py
- longest-duplicate-substring.py
- longest-even-odd-subarray-with-threshold.py
- longest-happy-prefix.py
- longest-happy-string.py
- longest-harmonious-subsequence.py
- longest-ideal-subsequence.py
- longest-increasing-path-in-a-matrix.py
- longest-increasing-subsequence-ii.py
- longest-increasing-subsequence.py
- longest-mountain-in-array.py
- longest-nice-subarray.py
- longest-nice-substring.py
- longest-non-decreasing-subarray-from-two-arrays.py
- longest-palindrome-by-concatenating-two-letter-words.py
- longest-palindrome.py
- longest-palindromic-subsequence.py
- longest-palindromic-substring.py
- longest-path-with-different-adjacent-characters.py
- longest-repeating-character-replacement.py
- longest-square-streak-in-an-array.py
- longest-strictly-increasing-or-strictly-decreasing-subarray.py
- longest-string-chain.py
- longest-subarray-of-1s-after-deleting-one-element.py
- longest-subarray-with-maximum-bitwise-and.py
- longest-subsequence-with-limited-sum.py
- longest-substring-of-all-vowels-in-order.py
- longest-substring-with-at-least-k-repeating-characters.py
- longest-substring-without-repeating-characters.cpp
- longest-substring-without-repeating-characters.java
- longest-substring-without-repeating-characters.py
- longest-uncommon-subsequence-i.py
- longest-uncommon-subsequence-ii.py
- longest-unequal-adjacent-groups-subsequence-i.py
- longest-unequal-adjacent-groups-subsequence-ii.py
- longest-univalue-path.py
- longest-uploaded-prefix.py
- longest-valid-parentheses.py
- longest-word-in-dictionary-through-deleting.py
- longest-word-in-dictionary.py
- longest-zigzag-path-in-a-binary-tree.py
- loud-and-rich.py
- lowest-common-ancestor-of-a-binary-search-tree.py
- lowest-common-ancestor-of-a-binary-tree.py
- lowest-common-ancestor-of-deepest-leaves.py
- lru-cache.py
- lucky-numbers-in-a-matrix.py
- magic-squares-in-grid.py
- magnetic-force-between-two-balls.py
- majority-element-ii.py
- majority-element.py
- make-a-square-with-the-same-color.py
- make-array-empty.py
- make-array-strictly-increasing.py
- make-array-zero-by-subtracting-equal-amounts.py
- make-k-subarray-sums-equal.py
- make-lexicographically-smallest-array-by-swapping-elements.py
- make-number-of-distinct-characters-equal.py
- make-string-a-subsequence-using-cyclic-increments.py
- make-sum-divisible-by-p.py
- make-the-string-great.py
- make-three-strings-equal.py
- make-two-arrays-equal-by-reversing-subarrays.py
- making-a-large-island.py
- map-sum-pairs.py
- mark-elements-on-array-by-performing-queries.py
- match-substring-after-replacement.py
- matchsticks-to-square.py
- matrix-cells-in-distance-order.py
- matrix-diagonal-sum.py
- matrix-similarity-after-cyclic-shifts.py
- max-area-of-island.py
- max-chunks-to-make-sorted-ii.py
- max-chunks-to-make-sorted.py
- max-consecutive-ones-iii.py
- max-consecutive-ones.py
- max-dot-product-of-two-subsequences.py
- max-increase-to-keep-city-skyline.py
- max-number-of-k-sum-pairs.py
- max-pair-sum-in-an-array.py
- max-points-on-a-line.py
- max-sum-of-a-pair-with-equal-sum-of-digits.py
- max-sum-of-rectangle-no-larger-than-k.py
- max-value-of-equation.py
- maximal-network-rank.py
- maximal-rectangle.py
- maximal-score-after-applying-k-operations.py
- maximal-square.py
- maximize-area-of-square-hole-in-grid.py
- maximize-consecutive-elements-in-an-array-after-modification.py
- maximize-distance-to-closest-person.py
- maximize-greatness-of-an-array.py
- maximize-happiness-of-selected-children.py
- maximize-number-of-nice-divisors.py
- maximize-number-of-subsequences-in-a-string.py
- maximize-score-after-n-operations.py
- maximize-sum-of-array-after-k-negations.py
- maximize-the-confusion-of-an-exam.py
- maximize-the-minimum-powered-city.py
- maximize-the-profit-as-the-salesman.py
- maximize-total-cost-of-alternating-subarrays.py
- maximize-value-of-function-in-a-ball-passing-game.py
- maximize-win-from-two-segments.py
- maximum-69-number.py
- maximum-absolute-sum-of-any-subarray.py
- maximum-alternating-subsequence-sum.py
- maximum-and-sum-of-array.py
- maximum-area-of-a-piece-of-cake-after-horizontal-and-vertical-cuts.py
- maximum-ascending-subarray-sum.py
- maximum-average-pass-ratio.py
- maximum-average-subarray-i.py
- maximum-bags-with-full-capacity-of-rocks.py
- maximum-balanced-subsequence-sum.py
- maximum-beauty-of-an-array-after-applying-operation.py
- maximum-binary-string-after-change.py
- maximum-binary-tree-ii.py
- maximum-binary-tree.py
- maximum-candies-allocated-to-k-children.py
- maximum-consecutive-floors-without-special-floors.py
- maximum-count-of-positive-integer-and-negative-integer.py
- maximum-deletions-on-a-string.cpp
- maximum-deletions-on-a-string.py
- maximum-depth-of-binary-tree.py
- maximum-depth-of-n-ary-tree.py
- maximum-difference-between-increasing-elements.py
- maximum-difference-between-node-and-ancestor.py
- maximum-difference-score-in-a-grid.py
- maximum-distance-between-a-pair-of-values.py
- maximum-earnings-from-taxi.py
- maximum-element-after-decreasing-and-rearranging.py
- maximum-element-sum-of-a-complete-subset-of-indices.py
- maximum-enemy-forts-that-can-be-captured.py
- maximum-equal-frequency.py
- maximum-erasure-value.py
- maximum-frequency-stack.py
- maximum-gap.py
- maximum-genetic-difference-query.py
- maximum-good-subarray-sum.py
- maximum-height-by-stacking-cuboids.py
- maximum-height-of-a-triangle.py
- maximum-ice-cream-bars.py
- maximum-length-of-a-concatenated-string-with-unique-characters.py
- maximum-length-of-pair-chain.py
- maximum-length-of-repeated-subarray.py
- maximum-length-of-subarray-with-positive-product.py
- maximum-length-substring-with-two-occurrences.py
- maximum-level-sum-of-a-binary-tree.py
- maximum-matching-of-players-with-trainers.py
- maximum-matrix-sum.py
- maximum-nesting-depth-of-the-parentheses.py
- maximum-non-negative-product-in-a-matrix.py
- maximum-number-of-achievable-transfer-requests.py
- maximum-number-of-alloys.py
- maximum-number-of-balloons.cpp
- maximum-number-of-coins-you-can-get.py
- maximum-number-of-events-that-can-be-attended-ii.py
- maximum-number-of-fish-in-a-grid.py
- maximum-number-of-groups-entering-a-competition.py
- maximum-number-of-jumps-to-reach-the-last-index.py
- maximum-number-of-k-divisible-components.py
- maximum-number-of-moves-in-a-grid.py
- maximum-number-of-non-overlapping-palindrome-substrings.py
- maximum-number-of-non-overlapping-subarrays-with-sum-equals-target.py
- maximum-number-of-operations-to-move-ones-to-the-end.py
- maximum-number-of-operations-with-the-same-score-i.py
- maximum-number-of-operations-with-the-same-score-ii.py
- maximum-number-of-pairs-in-array.py
- maximum-number-of-points-from-grid-queries.py
- maximum-number-of-points-with-cost.py
- maximum-number-of-removable-characters.py
- maximum-number-of-robots-within-budget.py
- maximum-number-of-vowels-in-a-substring-of-given-length.py
- maximum-number-of-ways-to-partition-an-array.py
- maximum-number-of-weeks-for-which-you-can-work.py
- maximum-number-of-words-found-in-sentences.py
- maximum-number-of-words-you-can-type.py
- maximum-number-that-sum-of-the-prices-is-less-than-or-equal-to-k.py
- maximum-odd-binary-number.py
- maximum-or.py
- maximum-palindromes-after-operations.py
- maximum-path-quality-of-a-graph.py
- maximum-performance-of-a-team.py
- maximum-points-after-collecting-coins-from-all-nodes.py
- maximum-points-after-enemy-battles.py
- maximum-points-inside-the-square.py
- maximum-points-you-can-obtain-from-cards.py
- maximum-population-year.py
- maximum-product-after-k-increments.py
- maximum-product-difference-between-two-pairs.py
- maximum-product-of-splitted-binary-tree.py
- maximum-product-of-the-length-of-two-palindromic-subsequences.py
- maximum-product-of-three-numbers.py
- maximum-product-of-two-elements-in-an-array.py
- maximum-product-of-word-lengths.py
- maximum-product-subarray.py
- maximum-profit-in-job-scheduling.py
- maximum-repeating-substring.py
- maximum-rows-covered-by-columns.py
- maximum-running-time-of-n-computers.py
- maximum-score-after-applying-operations-on-a-tree.py
- maximum-score-after-splitting-a-string.py
- maximum-score-from-grid-operations.py
- maximum-score-from-performing-multiplication-operations.py
- maximum-score-from-removing-substrings.py
- maximum-score-of-a-good-subarray.py
- maximum-score-of-spliced-array.py
- maximum-score-words-formed-by-letters.py
- maximum-side-length-of-a-square-with-sum-less-than-or-equal-to-threshold.py
- maximum-spending-after-buying-items.py
- maximum-split-of-positive-even-integers.py
- maximum-star-sum-of-a-graph.py
- maximum-strength-of-a-group.py
- maximum-strength-of-k-disjoint-subarrays.py
- maximum-strictly-increasing-cells-in-a-matrix.py
- maximum-strong-pair-xor-i.py
- maximum-strong-pair-xor-ii.py
- maximum-students-taking-exam.py
- maximum-subarray-min-product.py
- maximum-subarray-sum-with-one-deletion.py
- maximum-subarray.py
- maximum-subsequence-score.py
- maximum-sum-bst-in-binary-tree.py
- maximum-sum-circular-subarray.py
- maximum-sum-obtained-of-any-permutation.py
- maximum-sum-of-3-non-overlapping-subarrays.py
- maximum-sum-of-almost-unique-subarray.py
- maximum-sum-of-an-hourglass.py
- maximum-sum-of-distinct-subarrays-with-length-k.py
- maximum-sum-of-subsequence-with-non-adjacent-elements.py
- maximum-sum-of-two-non-overlapping-subarrays.py
- maximum-sum-queries.py
- maximum-sum-with-exactly-k-elements.py
- maximum-swap.py
- maximum-tastiness-of-candy-basket.py
- maximum-total-damage-with-spell-casting.py
- maximum-total-importance-of-roads.py
- maximum-total-reward-using-operations-i.py
- maximum-trailing-zeros-in-a-cornered-path.py
- maximum-twin-sum-of-a-linked-list.py
- maximum-units-on-a-truck.py
- maximum-value-at-a-given-index-in-a-bounded-array.py
- maximum-value-of-a-string-in-an-array.py
- maximum-value-of-an-ordered-triplet-i.py
- maximum-value-of-an-ordered-triplet-ii.py
- maximum-value-of-k-coins-from-piles.py
- maximum-white-tiles-covered-by-a-carpet.py
- maximum-width-of-binary-tree.py
- maximum-width-ramp.py
- maximum-xor-after-operations.py
- maximum-xor-for-each-query.py
- maximum-xor-of-two-numbers-in-an-array.py
- maximum-xor-product.py
- median-of-two-sorted-arrays.py
- meeting-rooms-iii.py
- merge-in-between-linked-lists.py
- merge-intervals.py
- merge-k-sorted-lists.py
- merge-nodes-in-between-zeros.py
- merge-similar-items.py
- merge-sorted-array.py
- merge-strings-alternately.py
- merge-two-binary-trees.py
- merge-two-sorted-lists.py
- mice-and-cheese.py
- middle-of-the-linked-list.py
- min-cost-climbing-stairs.py
- min-cost-to-connect-all-points.py
- min-max-game.py
- min-stack.py
- minimize-deviation-in-array.py
- minimize-hamming-distance-after-swap-operations.py
- minimize-manhattan-distances.py
- minimize-maximum-of-array.py
- minimize-maximum-pair-sum-in-array.py
- minimize-result-by-adding-parentheses-to-expression.py
- minimize-string-length.py
- minimize-the-difference-between-target-and-chosen-elements.py
- minimize-the-maximum-difference-of-pairs.py
- minimize-xor.py
- minimized-maximum-of-products-distributed-to-any-store.py
- minimum-absolute-difference-between-elements-with-constraint.py
- minimum-absolute-difference-in-bst.py
- minimum-absolute-difference-queries.py
- minimum-absolute-difference.py
- minimum-absolute-sum-difference.py
- minimum-add-to-make-parentheses-valid.py
- minimum-addition-to-make-integer-beautiful.py
- minimum-additions-to-make-valid-string.py
- minimum-adjacent-swaps-to-reach-the-kth-smallest-number.py
- minimum-amount-of-time-to-collect-garbage.py
- minimum-amount-of-time-to-fill-cups.py
- minimum-area-rectangle-ii.py
- minimum-area-rectangle.py
- minimum-array-changes-to-make-differences-equal.py
- minimum-array-end.py
- minimum-array-length-after-pair-removals.py
- minimum-ascii-delete-sum-for-two-strings.py
- minimum-average-difference.py
- minimum-average-of-smallest-and-largest-elements.py
- minimum-bit-flips-to-convert-number.py
- minimum-changes-to-make-alternating-binary-string.py
- minimum-changes-to-make-k-semi-palindromes.py
- minimum-common-value.py
- minimum-consecutive-cards-to-pick-up.py
- minimum-cost-for-cutting-cake-i.py
- minimum-cost-for-cutting-cake-ii.py
- minimum-cost-for-tickets.py
- minimum-cost-homecoming-of-a-robot-in-a-grid.py
- minimum-cost-of-a-path-with-special-roads.py
- minimum-cost-of-buying-candies-with-discount.py
- minimum-cost-to-connect-two-groups-of-points.py
- minimum-cost-to-convert-string-i.py
- minimum-cost-to-cut-a-stick.py
- minimum-cost-to-hire-k-workers.py
- minimum-cost-to-make-array-equal.py
- minimum-cost-to-make-array-equalindromic.py
- minimum-cost-to-move-chips-to-the-same-position.py
- minimum-cost-to-split-an-array.py
- minimum-cost-walk-in-weighted-graph.py
- minimum-cuts-to-divide-a-circle.py
- minimum-degree-of-a-connected-trio-in-a-graph.py
- minimum-deletions-to-make-array-beautiful.py
- minimum-deletions-to-make-array-divisible.py
- minimum-deletions-to-make-character-frequencies-unique.py
- minimum-deletions-to-make-string-balanced.py
- minimum-depth-of-binary-tree.py
- minimum-difference-between-highest-and-lowest-of-k-scores.py
- minimum-difference-between-largest-and-smallest-value-in-three-moves.py
- minimum-difference-in-sums-after-removal-of-elements.py
- minimum-difficulty-of-a-job-schedule.py
- minimum-distance-between-bst-nodes.py
- minimum-distance-to-the-target-element.py
- minimum-domino-rotations-for-equal-row.py
- minimum-edge-weight-equilibrium-queries-in-a-tree.py
- minimum-elements-to-add-to-form-a-given-sum.py
- minimum-equal-sum-of-two-arrays-after-replacing-zeros.py
- minimum-falling-path-sum-ii.py
- minimum-falling-path-sum.py
- minimum-flips-to-make-a-or-b-equal-to-c.py
- minimum-fuel-cost-to-report-to-the-capital.py
- minimum-genetic-mutation.py
- minimum-height-trees.py
- minimum-hours-of-training-to-win-a-competition.py
- minimum-increment-to-make-array-unique.cpp
- minimum-increment-to-make-array-unique.py
- minimum-index-of-a-valid-split.py
- minimum-index-sum-of-two-lists.py
- minimum-insertion-steps-to-make-a-string-palindrome.py
- minimum-interval-to-include-each-query.py
- minimum-length-of-string-after-deleting-similar-ends.py
- minimum-length-of-string-after-operations.py
- minimum-limit-of-balls-in-a-bag.py
- minimum-lines-to-represent-a-line-chart.py
- minimum-moves-to-convert-string.py
- minimum-moves-to-equal-array-elements-ii.py
- minimum-moves-to-equal-array-elements.py
- minimum-moves-to-move-a-box-to-their-target-location.py
- minimum-moves-to-reach-target-score.py
- minimum-moves-to-spread-stones-over-grid.py
- minimum-number-of-arrows-to-burst-balloons.py
- minimum-number-of-chairs-in-a-waiting-room.py
- minimum-number-of-coins-for-fruits.py
- minimum-number-of-coins-to-be-added.py
- minimum-number-of-days-to-make-m-bouquets.py
- minimum-number-of-flips-to-convert-binary-matrix-to-zero-matrix.py
- minimum-number-of-flips-to-make-binary-grid-palindromic-i.py
- minimum-number-of-flips-to-make-the-binary-string-alternating.py
- minimum-number-of-food-buckets-to-feed-the-hamsters.py
- minimum-number-of-groups-to-create-a-valid-assignment.py
- minimum-number-of-increments-on-subarrays-to-form-a-target-array.py
- minimum-number-of-k-consecutive-bit-flips.py
- minimum-number-of-moves-to-make-palindrome.py
- minimum-number-of-moves-to-seat-everyone.py
- minimum-number-of-operations-to-convert-time.py
- minimum-number-of-operations-to-make-all-array-elements-equal-to-1.py
- minimum-number-of-operations-to-make-array-continuous.py
- minimum-number-of-operations-to-make-array-empty.py
- minimum-number-of-operations-to-make-array-xor-equal-to-k.py
- minimum-number-of-operations-to-make-arrays-similar.py
- minimum-number-of-operations-to-make-x-and-y-equal.py
- minimum-number-of-operations-to-move-all-balls-to-each-box.py
- minimum-number-of-operations-to-satisfy-conditions.py
- minimum-number-of-operations-to-sort-a-binary-tree-by-level.py
- minimum-number-of-pushes-to-type-word-ii.py
- minimum-number-of-refueling-stops.py
- minimum-number-of-removals-to-make-mountain-array.py
- minimum-number-of-steps-to-make-two-strings-anagram-ii.py
- minimum-number-of-steps-to-make-two-strings-anagram.py
- minimum-number-of-swaps-to-make-the-binary-string-alternating.py
- minimum-number-of-swaps-to-make-the-string-balanced.py
- minimum-number-of-taps-to-open-to-water-a-garden.py
- minimum-number-of-vertices-to-reach-all-nodes.py
- minimum-numbers-of-function-calls-to-make-target-array.py
- minimum-one-bit-operations-to-make-integers-zero.py
- minimum-operations-to-collect-elements.py
- minimum-operations-to-convert-number.py
- minimum-operations-to-exceed-threshold-value-i.py
- minimum-operations-to-exceed-threshold-value-ii.py
- minimum-operations-to-halve-array-sum.py
- minimum-operations-to-make-a-special-number.py
- minimum-operations-to-make-a-subsequence.py
- minimum-operations-to-make-a-uni-value-grid.py
- minimum-operations-to-make-all-array-elements-equal.py
- minimum-operations-to-make-array-equal-ii.py
- minimum-operations-to-make-array-equal-to-target.py
- minimum-operations-to-make-array-equal.py
- minimum-operations-to-make-binary-array-elements-equal-to-one-i.py
- minimum-operations-to-make-binary-array-elements-equal-to-one-ii.py
- minimum-operations-to-make-median-of-array-equal-to-k.py
- minimum-operations-to-make-the-array-alternating.py
- minimum-operations-to-make-the-array-increasing.py
- minimum-operations-to-make-the-array-k-increasing.py
- minimum-operations-to-make-the-integer-zero.py
- minimum-operations-to-maximize-last-elements-in-arrays.py
- minimum-operations-to-reduce-x-to-zero.py
- minimum-operations-to-write-the-letter-y-on-a-grid.py
- minimum-path-cost-in-a-grid.py
- minimum-path-sum.py
- minimum-penalty-for-a-shop.py
- minimum-possible-integer-after-at-most-k-adjacent-swaps-on-digits.py
- minimum-processing-time.py
- minimum-recolors-to-get-k-consecutive-black-blocks.py
- minimum-rectangles-to-cover-points.py
- minimum-remove-to-make-valid-parentheses.py
- minimum-replacements-to-sort-the-array.py
- minimum-right-shifts-to-sort-the-array.py
- minimum-rounds-to-complete-all-tasks.py
- minimum-score-of-a-path-between-two-cities.py
- minimum-score-triangulation-of-polygon.py
- minimum-seconds-to-equalize-a-circular-array.py
- minimum-size-subarray-in-infinite-array.py
- minimum-size-subarray-sum.py
- minimum-speed-to-arrive-on-time.py
- minimum-string-length-after-removing-substrings.py
- minimum-subsequence-in-non-increasing-order.py
- minimum-substring-partition-of-equal-character-frequency.py
- minimum-suffix-flips.py
- minimum-sum-of-four-digit-number-after-splitting-digits.py
- minimum-sum-of-mountain-triplets-i.py
- minimum-sum-of-mountain-triplets-ii.py
- minimum-sum-of-squared-difference.py
- minimum-swaps-to-group-all-1s-together-ii.py
- minimum-time-to-collect-all-apples-in-a-tree.py
- minimum-time-to-complete-trips.py
- minimum-time-to-make-rope-colorful.py
- minimum-time-to-remove-all-cars-containing-illegal-goods.py
- minimum-time-to-repair-cars.py
- minimum-time-to-revert-word-to-initial-state-i.py
- minimum-time-to-type-word-using-special-typewriter.py
- minimum-time-to-visit-disappearing-nodes.py
- minimum-time-visiting-all-points.py
- minimum-total-space-wasted-with-k-resizing-operations.py
- minimum-value-to-get-positive-step-by-step-sum.py
- minimum-white-tiles-after-covering-with-carpets.py
- minimum-window-substring.py
- minimum-xor-sum-of-two-arrays.py
- mirror-reflection.py
- miscellaneous
- missing-number.py
- modify-the-matrix.py
- monotone-increasing-digits.py
- monotonic-array.py
- most-beautiful-item-for-each-query.py
- most-common-word.py
- most-frequent-even-element.py
- most-frequent-ids.py
- most-frequent-number-following-key-in-an-array.py
- most-frequent-prime.py
- most-frequent-subtree-sum.py
- most-popular-video-creator.py
- most-profit-assigning-work.py
- most-profitable-path-in-a-tree.py
- most-stones-removed-with-same-row-or-column.py
- move-pieces-to-obtain-a-string.py
- move-zeroes.py
- multiply-strings.py
- my-calendar-i.py
- my-calendar-iii.py
- n-ary-tree-level-order-traversal.py
- n-ary-tree-postorder-traversal.py
- n-ary-tree-preorder-traversal.py
- n-queens-ii.py
- n-queens.py
- n-repeated-element-in-size-2n-array.py
- n-th-tribonacci-number.py
- naming-a-company.py
- nearest-exit-from-entrance-in-maze.py
- neighboring-bitwise-xor.py
- neither-minimum-nor-maximum.py
- network-delay-time.py
- new-21-game.py
- next-greater-element-i.py
- next-greater-element-ii.py
- next-greater-element-iii.py
- next-greater-element-iv.py
- next-greater-node-in-linked-list.py
- next-greater-numerically-balanced-number.py
- next-permutation.py
- nim-game.py
- node-with-highest-edge-score.py
- non-decreasing-array.py
- non-decreasing-subsequences.py
- non-negative-integers-without-consecutive-ones.py
- non-overlapping-intervals.py
- nth-digit.py
- nth-magical-number.py
- number-complement.py
- number-of-1-bits.py
- number-of-adjacent-elements-with-the-same-color.py
- number-of-arithmetic-triplets.py
- number-of-atoms.py
- number-of-beautiful-integers-in-the-range.py
- number-of-beautiful-pairs.py
- number-of-beautiful-partitions.py
- number-of-bit-changes-to-make-two-integers-equal.py
- number-of-black-blocks.py
- number-of-closed-islands.py
- number-of-common-factors.py
- number-of-dice-rolls-with-target-sum.py
- number-of-different-subsequences-gcds.py
- number-of-digit-one.py
- number-of-distinct-averages.py
- number-of-distinct-roll-sequences.py
- number-of-employees-who-met-the-target.py
- number-of-enclaves.py
- number-of-equivalent-domino-pairs.py
- number-of-even-and-odd-bits.py
- number-of-excellent-pairs.py
- number-of-flowers-in-full-bloom.py
- number-of-good-leaf-nodes-pairs.py
- number-of-good-pairs.py
- number-of-good-paths.py
- number-of-good-ways-to-split-a-string.py
- number-of-great-partitions.py
- number-of-increasing-paths-in-a-grid.py
- number-of-islands.py
- number-of-laser-beams-in-a-bank.py
- number-of-longest-increasing-subsequence.py
- number-of-matching-subsequences.py
- number-of-music-playlists.py
- number-of-nodes-in-the-sub-tree-with-the-same-label.py
- number-of-operations-to-make-network-connected.py
- number-of-pairs-of-interchangeable-rectangles.py
- number-of-pairs-of-strings-with-concatenation-equal-to-target.py
- number-of-pairs-satisfying-inequality.py
- number-of-possible-sets-of-closing-branches.py
- number-of-provinces.py
- number-of-recent-calls.py
- number-of-rectangles-that-can-form-the-largest-square.py
- number-of-restricted-paths-from-first-to-last-node.py
- number-of-segments-in-a-string.py
- number-of-senior-citizens.py
- number-of-smooth-descent-periods-of-a-stock.py
- number-of-steps-to-reduce-a-number-in-binary-representation-to-one.py
- number-of-steps-to-reduce-a-number-to-zero.py
- number-of-strings-that-appear-as-substrings-in-word.py
- number-of-strings-which-can-be-rearranged-to-contain-substring.py
- number-of-students-unable-to-eat-lunch.py
- number-of-sub-arrays-of-size-k-and-average-greater-than-or-equal-to-threshold.py
- number-of-sub-arrays-with-odd-sum.py
- number-of-subarrays-that-match-a-pattern-i.py
- number-of-subarrays-that-match-a-pattern-ii.py
- number-of-subarrays-with-and-value-of-k.py
- number-of-subarrays-with-bounded-maximum.py
- number-of-subarrays-with-gcd-equal-to-k.py
- number-of-subarrays-with-lcm-equal-to-k.py
- number-of-submatrices-that-sum-to-target.py
- number-of-subsequences-that-satisfy-the-given-sum-condition.py
- number-of-substrings-containing-all-three-characters.py
- number-of-substrings-with-only-1s.py
- number-of-unequal-triplets-in-array.py
- number-of-unique-good-subsequences.py
- number-of-valid-clock-times.py
- number-of-valid-words-for-each-puzzle.py
- number-of-visible-people-in-a-queue.py
- number-of-ways-of-cutting-a-pizza.py
- number-of-ways-to-arrive-at-destination.py
- number-of-ways-to-buy-pens-and-pencils.py
- number-of-ways-to-divide-a-long-corridor.py
- number-of-ways-to-earn-points.py
- number-of-ways-to-form-a-target-string-given-a-dictionary.py
- number-of-ways-to-reach-a-position-after-exactly-k-steps.py
- number-of-ways-to-reorder-array-to-get-same-bst.py
- number-of-ways-to-select-buildings.py
- number-of-ways-to-separate-numbers.py
- number-of-ways-to-split-array.py
- number-of-ways-to-stay-in-the-same-place-after-some-steps.py
- number-of-ways-to-wear-different-hats-to-each-other.py
- number-of-ways-where-square-of-number-is-equal-to-product-of-two-numbers.py
- number-of-wonderful-substrings.py
- number-of-zero-filled-subarrays.py
- numbers-at-most-n-given-digit-set.py
- numbers-with-repeated-digits.py
- numbers-with-same-consecutive-differences.py
- occurrences-after-bigram.py
- odd-even-linked-list.py
- odd-string-difference.py
- ones-and-zeroes.py
- online-election.py
- online-majority-element-in-subarray.py
- online-stock-span.py
- open-the-lock.py
- optimal-partition-of-string.py
- orderly-queue.py
- out-of-boundary-paths.py
- pacific-atlantic-water-flow.py
- paint-house-iii.py
- painting-the-walls.cpp
- painting-the-walls.py
- palindrome-linked-list.py
- palindrome-number.py
- palindrome-pairs.py
- palindrome-partitioning-ii.py
- palindrome-partitioning-iii.py
- palindrome-partitioning-iv.py
- palindrome-partitioning.py
- palindromic-substrings.py
- parallel-courses-iii.py
- partition-array-according-to-given-pivot.py
- partition-array-for-maximum-sum.py
- partition-array-into-disjoint-intervals.py
- partition-array-into-three-parts-with-equal-sum.py
- partition-array-into-two-arrays-to-minimize-sum-difference.py
- partition-array-such-that-maximum-difference-is-k.py
- partition-equal-subset-sum.py
- partition-labels.py
- partition-list.py
- partition-string-into-minimum-beautiful-substrings.py
- partition-string-into-substrings-with-values-at-most-k.py
- partition-to-k-equal-sum-subsets.py
- partitioning-into-minimum-number-of-deci-binary-numbers.py
- pascals-triangle-ii.py
- pascals-triangle.py
- pass-the-pillow.py
- patching-array.py
- path-crossing.py
- path-sum-ii.py
- path-sum-iii.py
- path-sum.py
- path-with-maximum-gold.py
- path-with-maximum-probability.py
- path-with-minimum-effort.py
- paths-in-matrix-whose-sum-is-divisible-by-k.py
- peak-index-in-a-mountain-array.py
- peaks-in-array.py
- peeking-iterator.py
- percentage-of-letter-in-string.py
- perfect-number.py
- perfect-squares.py
- permutation-difference-between-two-strings.py
- permutation-in-string.py
- permutation-sequence.py
- permutations-ii.py
- permutations.py
- plates-between-candles.py
- plus-one.py
- points-that-intersect-with-cars.py
- poor-pigs.py
- populating-next-right-pointers-in-each-node-ii.py
- populating-next-right-pointers-in-each-node.py
- positions-of-large-groups.py
- possible-bipartition.py
- power-of-four.py
- power-of-heroes.py
- power-of-three.py
- power-of-two.py
- powx-n.py
- predict-the-winner.py
- prefix-and-suffix-search.py
- previous-permutation-with-one-swap.py
- prime-arrangements.py
- prime-in-diagonal.py
- prime-number-of-set-bits-in-binary-representation.py
- prime-pairs-with-target-sum.py
- prime-subtraction-operation.py
- print-binary-tree.py
- print-in-order.py
- print-words-vertically.py
- product-of-array-except-self.py
- product-of-the-last-k-numbers.py
- profitable-schemes.py
- pseudo-palindromic-paths-in-a-binary-tree.py
- push-dominoes.py
- put-marbles-in-bags.py
- queens-that-can-attack-the-king.py
- queries-on-a-permutation-with-key.py
- queries-on-number-of-points-inside-a-circle.py
- query-kth-smallest-trimmed-number.py
- queue-reconstruction-by-height.py
- race-car.py
- random-flip-matrix.py
- random-pick-index.py
- random-pick-with-weight.py
- range-addition-ii.py
- range-frequency-queries.py
- range-product-queries-of-powers.py
- range-sum-of-bst.py
- range-sum-of-sorted-subarray-sums.py
- range-sum-query-2d-immutable.py
- range-sum-query-immutable.py
- range-sum-query-mutable.py
- rank-teams-by-votes.py
- rank-transform-of-a-matrix.py
- rank-transform-of-an-array.py
- ransom-note.py
- reach-a-number.py
- reachable-nodes-in-subdivided-graph.py
- reachable-nodes-with-restrictions.py
- rearrange-array-elements-by-sign.py
- rearrange-array-to-maximize-prefix-score.py
- rearrange-characters-to-make-target-string.py
- rearrange-words-in-a-sentence.py
- reconstruct-a-2-row-binary-matrix.py
- reconstruct-itinerary.py
- recover-binary-search-tree.py
- rectangle-area.py
- rectangle-overlap.py
- redistribute-characters-to-make-all-strings-equal.py
- reduce-array-size-to-the-half.py
- reducing-dishes.py
- reduction-operations-to-make-the-array-elements-equal.py
- redundant-connection-ii.py
- redundant-connection.py
- regular-expression-matching.py
- relative-ranks.py
- relative-sort-array.py
- remove-all-adjacent-duplicates-in-string-ii.py
- remove-all-adjacent-duplicates-in-string.py
- remove-all-occurrences-of-a-substring.py
- remove-colored-pieces-if-both-neighbors-are-the-same-color.py
- remove-covered-intervals.py
- remove-digit-from-number-to-maximize-result.py
- remove-duplicate-letters.py
- remove-duplicates-from-sorted-array-ii.py
- remove-duplicates-from-sorted-array.py
- remove-duplicates-from-sorted-list-ii.py
- remove-duplicates-from-sorted-list.py
- remove-element.py
- remove-invalid-parentheses.py
- remove-k-digits.py
- remove-letter-to-equalize-frequency.py
- remove-linked-list-elements.py
- remove-max-number-of-edges-to-keep-graph-fully-traversable.py
- remove-nodes-from-linked-list.py
- remove-nth-node-from-end-of-list.py
- remove-one-element-to-make-the-array-strictly-increasing.py
- remove-outermost-parentheses.py
- remove-palindromic-subsequences.py
- remove-stones-to-minimize-the-total.py
- remove-zero-sum-consecutive-nodes-from-linked-list.py
- removing-minimum-and-maximum-from-array.py
- removing-minimum-number-of-magic-beans.py
- removing-stars-from-a-string.py
- reorder-list.py
- reorder-routes-to-make-all-paths-lead-to-the-city-zero.py
- reordered-power-of-2.py
- reorganize-string.py
- repeated-dna-sequences.py
- repeated-string-match.py
- repeated-substring-pattern.py
- replace-all-digits-with-characters.py
- replace-elements-in-an-array.py
- replace-elements-with-greatest-element-on-right-side.py
- replace-non-coprime-numbers-in-array.py
- replace-question-marks-in-string-to-minimize-its-value.py
- replace-words.py
- reshape-the-matrix.py
- restore-ip-addresses.py
- restore-the-array-from-adjacent-pairs.py
- restore-the-array.py
- reveal-cards-in-increasing-order.py
- reverse-bits.py
- reverse-integer.py
- reverse-linked-list-ii.py
- reverse-linked-list.py
- reverse-nodes-in-even-length-groups.py
- reverse-nodes-in-k-group.py
- reverse-odd-levels-of-binary-tree.py
- reverse-only-letters.py
- reverse-pairs.py
- reverse-prefix-of-word.py
- reverse-string-ii.py
- reverse-string.py
- reverse-substrings-between-each-pair-of-parentheses.py
- reverse-vowels-of-a-string.py
- reverse-words-in-a-string-iii.py
- reverse-words-in-a-string.py
- reward-top-k-students.py
- richest-customer-wealth.py
- right-triangles.py
- rings-and-rods.py
- robot-collisions.py
- robot-return-to-origin.py
- roman-to-integer.py
- root-equals-sum-of-children.py
- rotate-array.py
- rotate-function.py
- rotate-image.py
- rotate-list.py
- rotate-string.py
- rotting-oranges.py
- row-with-maximum-ones.py
- running-sum-of-1d-array.py
- russian-doll-envelopes.py
- same-tree.py
- satisfiability-of-equality-equations.py
- score-after-flipping-matrix.py
- score-of-a-string.py
- score-of-parentheses.py
- scramble-string.py
- search-a-2d-matrix-ii.py
- search-a-2d-matrix.py
- search-in-a-binary-search-tree.py
- search-in-rotated-sorted-array-ii.py
- search-in-rotated-sorted-array.py
- search-insert-position.py
- search-suggestions-system.py
- seat-reservation-manager.py
- second-minimum-node-in-a-binary-tree.py
- second-minimum-time-to-reach-destination.py
- self-dividing-numbers.py
- selling-pieces-of-wood.py
- semi-ordered-permutation.py
- sender-with-largest-word-count.py
- separate-black-and-white-balls.py
- sequential-digits.py
- sequentially-ordinal-rank-tracker.py
- serialize-and-deserialize-binary-tree.py
- serialize-and-deserialize-bst.py
- set-matrix-zeroes.py
- set-mismatch.py
- shift-2d-grid.py
- shifting-letters-ii.py
- shopping-offers.py
- short-encoding-of-words.py
- shortest-and-lexicographically-smallest-beautiful-string.py
- shortest-bridge.py
- shortest-cycle-in-a-graph.py
- shortest-distance-after-road-addition-queries-i.py
- shortest-distance-after-road-addition-queries-ii.py
- shortest-distance-to-a-character.py
- shortest-distance-to-target-string-in-a-circular-array.py
- shortest-impossible-sequence-of-rolls.py
- shortest-palindrome.py
- shortest-path-in-a-grid-with-obstacles-elimination.py
- shortest-path-in-binary-matrix.py
- shortest-path-to-get-all-keys.py
- shortest-path-visiting-all-nodes.py
- shortest-path-with-alternating-colors.py
- shortest-string-that-contains-three-strings.py
- shortest-subarray-to-be-removed-to-make-array-sorted.py
- shortest-subarray-with-sum-at-least-k.py
- shortest-uncommon-substring-in-an-array.py
- shortest-unsorted-continuous-subarray.py
- shuffle-an-array.py
- shuffle-string.py
- shuffle-the-array.py
- sign-of-the-product-of-an-array.py
- similar-string-groups.py
- simplified-fractions.py
- simplify-path.py
- single-element-in-a-sorted-array.py
- single-number-ii.py
- single-number-iii.py
- single-number.py
- single-threaded-cpu.py
- sliding-subarray-beauty.py
- sliding-window-maximum.py
- sliding-window-median.py
- slowest-key.py
- smallest-even-multiple.py
- smallest-good-base.py
- smallest-index-with-equal-value.py
- smallest-k-length-subsequence-with-occurrences-of-a-letter.py
- smallest-missing-genetic-value-in-each-subtree.py
- smallest-missing-integer-greater-than-sequential-prefix-sum.py
- smallest-missing-non-negative-integer-after-operations.py
- smallest-number-in-infinite-set.py
- smallest-range-covering-elements-from-k-lists.py
- smallest-range-i.py
- smallest-range-ii.py
- smallest-string-starting-from-leaf.py
- smallest-string-with-a-given-numeric-value.py
- smallest-string-with-swaps.py
- smallest-subarrays-with-maximum-bitwise-or.py
- smallest-subsequence-of-distinct-characters.py
- smallest-subtree-with-all-the-deepest-nodes.py
- smallest-sufficient-team.py
- smallest-value-after-replacing-with-sum-of-prime-factors.py
- smallest-value-of-the-rearranged-number.py
- snakes-and-ladders.py
- snapshot-array.py
- solve-the-equation.py
- solving-questions-with-brainpower.py
- sort-an-array.py
- sort-array-by-increasing-frequency.py
- sort-array-by-parity-ii.py
- sort-array-by-parity.py
- sort-characters-by-frequency.py
- sort-colors.py
- sort-even-and-odd-indices-independently.py
- sort-integers-by-the-number-of-1-bits.py
- sort-integers-by-the-power-value.py
- sort-items-by-groups-respecting-dependencies.py
- sort-list.py
- sort-the-jumbled-numbers.py
- sort-the-matrix-diagonally.py
- sort-the-people.py
- sort-the-students-by-their-kth-score.py
- sort-vowels-in-a-string.py
- sorting-the-sentence.py
- sorting-three-groups.py
- soup-servings.py
- special-array-i.py
- special-array-ii.py
- special-array-with-x-elements-greater-than-or-equal-x.py
- special-permutations.py
- special-positions-in-a-binary-matrix.py
- spiral-matrix-ii.py
- spiral-matrix-iv.py
- spiral-matrix.py
- split-a-string-in-balanced-strings.py
- split-array-into-consecutive-subsequences.py
- split-array-into-maximum-number-of-subarrays.py
- split-array-largest-sum.py
- split-array-with-same-average.py
- split-linked-list-in-parts.py
- split-message-based-on-limit.py
- split-strings-by-separator.py
- split-the-array-to-make-coprime-products.py
- split-two-strings-to-make-palindrome.py
- sqrtx.py
- squares-of-a-sorted-array.py
- stamping-the-sequence.py
- step-by-step-directions-from-a-binary-tree-node-to-another.py
- stickers-to-spell-word.py
- stone-game-ii.py
- stone-game-iii.py
- stone-game.py
- strange-printer.py
- strictly-palindromic-number.py
- string-compression-ii.py
- string-compression-iii.py
- string-compression.py
- string-matching-in-an-array.py
- string-to-integer-atoi.py
- strong-password-checker-ii.py
- student-attendance-record-i.py
- student-attendance-record-ii.py
- subarray-product-less-than-k.py
- subarray-sum-equals-k.py
- subarray-sums-divisible-by-k.py
- subarray-with-elements-greater-than-varying-threshold.py
- subarrays-distinct-element-sum-of-squares-i.py
- subarrays-distinct-element-sum-of-squares-ii.py
- subarrays-with-k-different-integers.py
- subdomain-visit-count.py
- subrectangle-queries.py
- subsets-ii.py
- subsets.py
- substring-with-concatenation-of-all-words.py
- substring-with-largest-variance.py
- substring-xor-queries.py
- substrings-of-size-three-with-distinct-characters.py
- subtract-the-product-and-sum-of-digits-of-an-integer.py
- subtree-of-another-tree.py
- successful-pairs-of-spells-and-potions.py
- sudoku-solver.py
- sum-in-a-matrix.py
- sum-multiples.py
- sum-of-absolute-differences-in-a-sorted-array.py
- sum-of-all-odd-length-subarrays.cpp
- sum-of-all-subset-xor-totals.py
- sum-of-beauty-in-the-array.py
- sum-of-beauty-of-all-substrings.py
- sum-of-digit-differences-of-all-pairs.py
- sum-of-digits-in-base-k.py
- sum-of-digits-of-string-after-convert.py
- sum-of-distances-in-tree.py
- sum-of-distances.py
- sum-of-even-numbers-after-queries.py
- sum-of-floored-pairs.py
- sum-of-imbalance-numbers-of-all-subarrays.py
- sum-of-left-leaves.py
- sum-of-matrix-after-queries.py
- sum-of-mutated-array-closest-to-target.py
- sum-of-nodes-with-even-valued-grandparent.py
- sum-of-number-and-its-reverse.py
- sum-of-numbers-with-units-digit-k.py
- sum-of-prefix-scores-of-strings.py
- sum-of-root-to-leaf-binary-numbers.py
- sum-of-square-numbers.py
- sum-of-squares-of-special-elements.py
- sum-of-subarray-minimums.py
- sum-of-subarray-ranges.py
- sum-of-subsequence-widths.py
- sum-of-total-strength-of-wizards.py
- sum-of-unique-elements.py
- sum-of-values-at-indices-with-k-set-bits.py
- sum-root-to-leaf-numbers.py
- summary-ranges.py
- super-pow.py
- super-ugly-number.py
- surrounded-regions.py
- swap-nodes-in-pairs.py
- swapping-nodes-in-a-linked-list.py
- symmetric-tree.py
- take-k-of-each-character-from-left-and-right.py
- taking-maximum-energy-from-the-mystic-dungeon.py
- tallest-billboard.py
- target-sum.py
- task-scheduler-ii.py
- task-scheduler.py
- teemo-attacking.py
- tenth-line.sh
- text-justification.py
- the-employee-that-worked-on-the-longest-task.py
- the-k-weakest-rows-in-a-matrix.py
- the-kth-factor-of-n.py
- the-number-of-beautiful-subsets.py
- the-number-of-the-smallest-unoccupied-chair.py
- the-number-of-weak-characters-in-the-game.py
- the-skyline-problem.py
- third-maximum-number.py
- thousand-separator.py
- three-consecutive-odds.py
- three-divisors.py
- three-equal-parts.py
- throne-inheritance.py
- time-based-key-value-store.py
- time-needed-to-buy-tickets.py
- time-needed-to-inform-all-employees.py
- time-needed-to-rearrange-a-binary-string.py
- time-taken-to-mark-all-nodes.py
- to-lower-case.py
- toeplitz-matrix.py
- top-k-frequent-elements.py
- top-k-frequent-words.py
- total-appeal-of-a-string.py
- total-cost-to-hire-k-workers.py
- total-distance-traveled.py
- total-hamming-distance.py
- transpose-matrix.py
- trapping-rain-water.py
- tree-of-coprimes.py
- triangle.py
- trim-a-binary-search-tree.py
- triples-with-bitwise-and-equal-to-zero.py
- truncate-sentence.py
- tuple-with-same-product.py
- two-best-non-overlapping-events.py
- two-city-scheduling.py
- two-furthest-houses-with-different-colors.py
- two-out-of-three.py
- two-sum-ii-input-array-is-sorted.py
- two-sum-iv-input-is-a-bst.py
- two-sum.cpp
- two-sum.java
- two-sum.py
- type-of-triangle.py
- ugly-number-ii.py
- ugly-number.py
- uncommon-words-from-two-sentences.py
- uncrossed-lines.py
- unique-binary-search-trees-ii.py
- unique-binary-search-trees.py
- unique-email-addresses.py
- unique-length-3-palindromic-subsequences.py
- unique-morse-code-words.py
- unique-number-of-occurrences.py
- unique-paths-ii.py
- unique-paths-iii.py
- unique-paths.py
- unique-substrings-in-wraparound-string.py
- univalued-binary-tree.py
- using-a-robot-to-print-the-lexicographically-smallest-string.py
- utf-8-validation.py
- valid-anagram.py
- valid-palindrome-ii.py
- valid-palindrome.py
- valid-parentheses.py
- valid-parenthesis-string.py
- valid-perfect-square.py
- valid-square.py
- valid-sudoku.py
- valid-triangle-number.py
- validate-binary-search-tree.py
- validate-binary-tree-nodes.py
- validate-ip-address.py
- validate-stack-sequences.py
- verifying-an-alien-dictionary.py
- vertical-order-traversal-of-a-binary-tree.py
- video-stitching.py
- visit-array-positions-to-maximize-score.py
- vowels-game-in-a-string.py
- vowels-of-all-substrings.py
- walking-robot-simulation.py
- water-and-jug-problem.py
- water-bottles-ii.py
- water-bottles.py
- watering-plants.py
- ways-to-make-a-fair-array.py
- ways-to-split-array-into-good-subarrays.py
- where-will-the-ball-fall.py
- widest-vertical-area-between-two-points-containing-no-points.py
- wiggle-subsequence.py
- wildcard-matching.py
- word-break-ii.py
- word-break.py
- word-ladder-ii.py
- word-ladder.py
- word-pattern.py
- word-search-ii.py
- word-search.py
- word-subsets.py
- words-within-two-edits-of-dictionary.py
- x-of-a-kind-in-a-deck-of-cards.py
- xor-operation-in-an-array.py
- xor-queries-of-a-subarray.py
- zigzag-conversion.py