├── .gitignore ├── C++ ├── 01-matrix.cpp ├── 1-bit-and-2-bit-characters.cpp ├── 132-pattern.cpp ├── 2-keys-keyboard.cpp ├── 24-game.cpp ├── 3sum-closest.cpp ├── 3sum-smaller.cpp ├── 3sum-with-multiplicity.cpp ├── 3sum.cpp ├── 4-keys-keyboard.cpp ├── 4sum-ii.cpp ├── 4sum.cpp ├── a-number-after-a-double-reversal.cpp ├── abbreviating-the-product-of-a-range.cpp ├── accounts-merge.cpp ├── add-and-search-word-data-structure-design.cpp ├── add-binary.cpp ├── add-bold-tag-in-string.cpp ├── add-digits.cpp ├── add-minimum-number-of-rungs.cpp ├── add-one-row-to-tree.cpp ├── add-strings.cpp ├── add-to-array-form-of-integer.cpp ├── add-two-integers.cpp ├── add-two-numbers-ii.cpp ├── add-two-numbers.cpp ├── add-two-polynomials-represented-as-linked-lists.cpp ├── adding-spaces-to-a-string.cpp ├── adding-two-negabinary-numbers.cpp ├── additive-number.cpp ├── advantage-shuffle.cpp ├── airplane-seat-assignment-probability.cpp ├── alert-using-same-key-card-three-or-more-times-in-a-one-hour-period.cpp ├── alien-dictionary.cpp ├── all-ancestors-of-a-node-in-a-directed-acyclic-graph.cpp ├── all-divisions-with-the-highest-score-of-a-binary-array.cpp ├── all-elements-in-two-binary-search-trees.cpp ├── all-nodes-distance-k-in-binary-tree.cpp ├── all-oone-data-structure.cpp ├── all-paths-from-source-lead-to-destination.cpp ├── all-paths-from-source-to-target.cpp ├── all-possible-full-binary-trees.cpp ├── allocate-mailboxes.cpp ├── alphabet-board-path.cpp ├── ambiguous-coordinates.cpp ├── amount-of-new-area-painted-each-day.cpp ├── analyze-user-website-visit-pattern.cpp ├── android-unlock-patterns.cpp ├── angle-between-hands-of-a-clock.cpp ├── append-k-integers-with-minimal-sum.cpp ├── apply-discount-every-n-orders.cpp ├── arithmetic-slices-ii-subsequence.cpp ├── arithmetic-slices.cpp ├── arithmetic-subarrays.cpp ├── armstrong-number.cpp ├── arranging-coins.cpp ├── array-nesting.cpp ├── array-of-doubled-pairs.cpp ├── array-partition-i.cpp ├── array-transformation.cpp ├── array-with-elements-not-equal-to-average-of-neighbors.cpp ├── as-far-from-land-as-possible.cpp ├── assign-cookies.cpp ├── asteroid-collision.cpp ├── available-captures-for-rook.cpp ├── average-height-of-buildings-in-each-segment.cpp ├── average-of-levels-in-binary-tree.cpp ├── average-salary-excluding-the-minimum-and-maximum-salary.cpp ├── average-waiting-time.cpp ├── avoid-flood-in-the-city.cpp ├── backspace-string-compare.cpp ├── bag-of-tokens.cpp ├── balance-a-binary-search-tree.cpp ├── base-7.cpp ├── baseball-game.cpp ├── basic-calculator-ii.cpp ├── basic-calculator-iii.cpp ├── basic-calculator-iv.cpp ├── basic-calculator.cpp ├── battleships-in-a-board.cpp ├── beautiful-arrangement-ii.cpp ├── beautiful-arrangement.cpp ├── beautiful-array.cpp ├── before-and-after-puzzle.cpp ├── best-meeting-point.cpp ├── best-position-for-a-service-centre.cpp ├── best-sightseeing-pair.cpp ├── best-team-with-no-conflicts.cpp ├── best-time-to-buy-and-sell-stock-ii.cpp ├── best-time-to-buy-and-sell-stock-iv.cpp ├── best-time-to-buy-and-sell-stock-with-cooldown.cpp ├── best-time-to-buy-and-sell-stock-with-transaction-fee.cpp ├── best-time-to-buy-and-sell-stock.cpp ├── binary-gap.cpp ├── binary-number-with-alternating-bits.cpp ├── binary-prefix-divisible-by-5.cpp ├── binary-search-tree-iterator-ii.cpp ├── binary-search-tree-iterator.cpp ├── binary-search-tree-to-greater-sum-tree.cpp ├── binary-search.cpp ├── binary-searchable-numbers-in-an-unsorted-array.cpp ├── binary-string-with-substrings-representing-1-to-n.cpp ├── binary-subarrays-with-sum.cpp ├── binary-tree-cameras.cpp ├── binary-tree-coloring-game.cpp ├── binary-tree-inorder-traversal.cpp ├── binary-tree-level-order-traversal-ii.cpp ├── binary-tree-level-order-traversal.cpp ├── binary-tree-longest-consecutive-sequence-ii.cpp ├── binary-tree-longest-consecutive-sequence.cpp ├── binary-tree-maximum-path-sum.cpp ├── binary-tree-paths.cpp ├── binary-tree-postorder-traversal.cpp ├── binary-tree-preorder-traversal.cpp ├── binary-tree-pruning.cpp ├── binary-tree-tilt.cpp ├── binary-tree-vertical-order-traversal.cpp ├── binary-trees-with-factors.cpp ├── binary-watch.cpp ├── bitwise-and-of-numbers-range.cpp ├── bitwise-ors-of-subarrays.cpp ├── boats-to-save-people.cpp ├── bold-words-in-string.cpp ├── bomb-enemy.cpp ├── boundary-of-binary-tree.cpp ├── brace-expansion-ii.cpp ├── brace-expansion.cpp ├── break-a-palindrome.cpp ├── brick-wall.cpp ├── bricks-falling-when-hit.cpp ├── brightest-position-on-street.cpp ├── broken-calculator.cpp ├── buddy-strings.cpp ├── build-an-array-with-stack-operations.cpp ├── build-array-from-permutation.cpp ├── build-array-where-you-can-find-the-maximum-exactly-k-comparisons.cpp ├── build-binary-expression-tree-from-infix-expression.cpp ├── building-boxes.cpp ├── building-h2o.cpp ├── buildings-with-an-ocean-view.cpp ├── bulb-switcher-ii.cpp ├── bulb-switcher-iii.cpp ├── bulb-switcher-iv.cpp ├── bulb-switcher.cpp ├── bulls-and-cows.cpp ├── burst-balloons.cpp ├── bus-routes.cpp ├── calculate-digit-sum-of-a-string.cpp ├── calculate-money-in-leetcode-bank.cpp ├── camelcase-matching.cpp ├── campus-bikes-ii.cpp ├── campus-bikes.cpp ├── can-convert-string-in-k-moves.cpp ├── can-i-win.cpp ├── can-make-arithmetic-progression-from-sequence.cpp ├── can-make-palindrome-from-substring.cpp ├── can-place-flowers.cpp ├── can-you-eat-your-favorite-candy-on-your-favorite-day.cpp ├── canCompleteCircuit.cpp ├── canJump.cpp ├── candy-crush.cpp ├── candy.cpp ├── capacity-to-ship-packages-within-d-days.cpp ├── capitalize-the-title.cpp ├── car-fleet-ii.cpp ├── car-fleet.cpp ├── car-pooling.cpp ├── card-flipping-game.cpp ├── cat-and-mouse-ii.cpp ├── cat-and-mouse.cpp ├── cells-in-a-range-on-an-excel-sheet.cpp ├── cells-with-odd-values-in-a-matrix.cpp ├── chalkboard-xor-gam.cpp ├── champagne-tower.cpp ├── change-minimum-characters-to-satisfy-one-of-three-conditions.cpp ├── change-the-root-of-a-binary-tree.cpp ├── cheapest-flights-within-k-stops.cpp ├── check-array-formation-through-concatenation.cpp ├── check-completeness-of-a-binary-tree.cpp ├── check-if-a-number-is-majority-element-in-a-sorted-array.cpp ├── check-if-a-parentheses-string-can-be-valid.cpp ├── check-if-a-string-can-break-another-string.cpp ├── check-if-a-string-contains-all-binary-codes-of-size-k.cpp ├── check-if-a-string-is-a-valid-sequence-from-root-to-leaves-path-in-a-binary-tree.cpp ├── check-if-a-word-occurs-as-a-prefix-of-any-word-in-a-sentence.cpp ├── check-if-all-1s-are-at-least-length-k-places-away.cpp ├── check-if-all-as-appears-before-all-bs.cpp ├── check-if-all-characters-have-equal-number-of-occurrences.cpp ├── check-if-all-the-integers-in-a-range-are-covered.cpp ├── check-if-an-array-is-consecutive.cpp ├── check-if-an-original-string-exists-given-two-encoded-strings.cpp ├── check-if-array-is-sorted-and-rotated.cpp ├── check-if-array-pairs-are-divisible-by-k.cpp ├── check-if-binary-string-has-at-most-one-segment-of-ones.cpp ├── check-if-every-row-and-column-contains-all-numbers.cpp ├── check-if-it-is-a-good-array.cpp ├── check-if-it-is-a-straight-line.cpp ├── check-if-move-is-legal.cpp ├── check-if-n-and-its-double-exist.cpp ├── check-if-number-is-a-sum-of-powers-of-three.cpp ├── check-if-numbers-are-ascending-in-a-sentence.cpp ├── check-if-one-string-swap-can-make-strings-equal.cpp ├── check-if-string-is-a-prefix-of-array.cpp ├── check-if-string-is-decomposable-into-value-equal-substrings.cpp ├── check-if-string-is-transformable-with-substring-sort-operations.cpp ├── check-if-the-sentence-is-pangram.cpp ├── check-if-there-is-a-valid-path-in-a-grid.cpp ├── check-if-two-expression-trees-are-equivalent.cpp ├── check-if-two-string-arrays-are-equivalent.cpp ├── check-if-word-can-be-placed-in-crossword.cpp ├── check-if-word-equals-summation-of-two-words.cpp ├── check-if-word-is-valid-after-substitutions.cpp ├── check-whether-two-strings-are-almost-equivalent.cpp ├── checking-existence-of-edge-length-limited-paths-ii.cpp ├── checking-existence-of-edge-length-limited-paths.cpp ├── cherry-pickup-ii.cpp ├── cherry-pickup.cpp ├── choose-numbers-from-two-arrays-in-range.cpp ├── cinema-seat-allocation.cpp ├── circle-and-rectangle-overlapping.cpp ├── circular-array-loop.cpp ├── circular-permutation-in-binary-representation.cpp ├── climbing-stairs.cpp ├── clone-binary-tree-with-random-pointer.cpp ├── clone-n-ary-tree.cpp ├── cloneGraph.cpp ├── closest-binary-search-tree-value-ii.cpp ├── closest-binary-search-tree-value.cpp ├── closest-dessert-cost.cpp ├── closest-divisors.cpp ├── closest-leaf-in-a-binary-tree.cpp ├── closest-room.cpp ├── closest-subsequence-sum.cpp ├── clumsy-factorial.cpp ├── coin-change-2.cpp ├── coin-change.cpp ├── coin-path.cpp ├── coloring-a-border.cpp ├── combination-sum-iii.cpp ├── combination-sum-iv.cpp ├── combinationSum.cpp ├── combinationSum2.cpp ├── combinations.cpp ├── combine.cpp ├── compare-strings-by-frequency-of-the-smallest-character.cpp ├── compare-version-numbers.cpp ├── complement-of-base-10-integer.cpp ├── complete-binary-tree-inserter.cpp ├── complex-number-multiplication.cpp ├── concatenated-words.cpp ├── concatenation-of-array.cpp ├── concatenation-of-consecutive-binary-numbers.cpp ├── confusing-number-ii.cpp ├── confusing-number.cpp ├── connect.cpp ├── connecting-cities-with-minimum-cost.cpp ├── consecutive-characters.cpp ├── consecutive-numbers-sum.cpp ├── constrained-subset-sum.cpp ├── construct-binary-search-tree-from-preorder-traversal.cpp ├── construct-binary-tree-from-inorder-and-postorder-traversal.cpp ├── construct-binary-tree-from-preorder-and-inorder-traversal.cpp ├── construct-binary-tree-from-preorder-and-postorder-traversal.cpp ├── construct-binary-tree-from-string.cpp ├── construct-k-palindrome-strings.cpp ├── construct-quad-tree.cpp ├── construct-string-from-binary-tree.cpp ├── construct-string-with-repeat-limit.cpp ├── construct-target-array-with-multiple-sums.cpp ├── construct-the-lexicographically-largest-valid-sequence.cpp ├── construct-the-rectangle.cpp ├── contain-virus.cpp ├── container-with-most-water.cpp ├── contains-duplicate-ii.cpp ├── contains-duplicate-iii.cpp ├── contains-duplicate.cpp ├── contiguous-array.cpp ├── continuous-subarray-sum.cpp ├── convert-1d-array-into-2d-array.cpp ├── convert-a-number-to-hexadecimal.cpp ├── convert-binary-number-in-a-linked-list-to-integer.cpp ├── convert-binary-search-tree-to-sorted-doubly-linked-list.cpp ├── convert-bst-to-greater-tree.cpp ├── convert-integer-to-the-sum-of-two-no-zero-integers.cpp ├── convert-sorted-array-to-binary-search-tree.cpp ├── convert-sorted-list-to-binary-search-tree.cpp ├── convert-to-base-2.cpp ├── convert.cpp ├── convex-polygon.cpp ├── coordinate-with-maximum-network-quality.cpp ├── copy-list-with-random-pointer.cpp ├── corporate-flight-bookings.cpp ├── correct-a-binary-tree.cpp ├── count-all-possible-routes.cpp ├── count-all-valid-pickup-and-delivery-options.cpp ├── count-and-say.cpp ├── count-array-pairs-divisible-by-k.cpp ├── count-artifacts-that-can-be-extracted.cpp ├── count-binary-substrings.cpp ├── count-collisions-on-a-road.cpp ├── count-common-words-with-one-occurrence.cpp ├── count-complete-tree-nodes.cpp ├── count-different-palindromic-subsequences.cpp ├── count-elements-with-strictly-smaller-and-greater-elements.cpp ├── count-equal-and-divisible-pairs-in-an-array.cpp ├── count-fertile-pyramids-in-a-land.cpp ├── count-good-meals.cpp ├── count-good-nodes-in-binary-tree.cpp ├── count-good-numbers.cpp ├── count-good-triplets-in-an-array.cpp ├── count-good-triplets.cpp ├── count-hills-and-valleys-in-an-array.cpp ├── count-integers-with-even-digit-sum.cpp ├── count-items-matching-a-rule.cpp ├── count-largest-group.cpp ├── count-lattice-points-inside-a-circle.cpp ├── count-negative-numbers-in-a-sorted-matrix.cpp ├── count-nice-pairs-in-an-array.cpp ├── count-nodes-equal-to-sum-of-descendants.cpp ├── count-nodes-with-the-highest-score.cpp ├── count-number-of-homogenous-substrings.cpp ├── count-number-of-maximum-bitwise-or-subsets.cpp ├── count-number-of-nice-subarrays.cpp ├── count-number-of-pairs-with-absolute-difference-k.cpp ├── count-number-of-rectangles-containing-each-point.cpp ├── count-number-of-special-subsequences.cpp ├── count-number-of-teams.cpp ├── count-numbers-with-unique-digits.cpp ├── count-odd-numbers-in-an-interval-range.cpp ├── count-of-matches-in-tournament.cpp ├── count-of-range-sum.cpp ├── count-of-smaller-numbers-after-self.cpp ├── count-operations-to-obtain-zero.cpp ├── count-pairs-in-two-arrays.cpp ├── count-pairs-of-equal-substrings-with-minimum-difference.cpp ├── count-pairs-of-nodes.cpp ├── count-pairs-with-xor-in-a-range.cpp ├── count-positions-on-street-with-required-brightness.cpp ├── count-primes.cpp ├── count-servers-that-communicate.cpp ├── count-sorted-vowel-strings.cpp ├── count-special-quadruplets.cpp ├── count-square-submatrices-with-all-ones.cpp ├── count-square-sum-triples.cpp ├── count-sub-islands.cpp ├── count-subarrays-with-more-ones-than-zeros.cpp ├── count-submatrices-with-all-ones.cpp ├── count-substrings-that-differ-by-one-character.cpp ├── count-substrings-with-only-one-distinct-letter.cpp ├── count-subtrees-with-max-distance-between-cities.cpp ├── count-the-hidden-sequences.cpp ├── count-the-number-of-consistent-strings.cpp ├── count-the-repetitions.cpp ├── count-triplets-that-can-form-two-arrays-of-equal-xor.cpp ├── count-unhappy-friends.cpp ├── count-unique-characters-of-all-substrings-of-a-given-string.cpp ├── count-univalue-subtrees.cpp ├── count-vowel-substrings-of-a-string.cpp ├── count-vowels-permutation.cpp ├── count-ways-to-build-rooms-in-an-ant-colony.cpp ├── count-ways-to-distribute-candies.cpp ├── count-ways-to-make-array-with-product.cpp ├── count-words-obtained-after-adding-a-letter.cpp ├── counting-bits.cpp ├── counting-elements.cpp ├── counting-words-with-a-given-prefix.cpp ├── couples-holding-hands.cpp ├── course-schedule-ii.cpp ├── course-schedule-iii.cpp ├── course-schedule-iv.cpp ├── course-schedule.cpp ├── cousins-in-binary-tree.cpp ├── cracking-the-safe.cpp ├── crawler-log-folder.cpp ├── create-binary-tree-from-descriptions.cpp ├── create-maximum-number.cpp ├── create-sorted-array-through-instructions.cpp ├── create-target-array-in-the-given-order.cpp ├── critical-connections-in-a-network.cpp ├── custom-sort-string.cpp ├── cut-off-trees-for-golf-event.cpp ├── cutting-ribbons.cpp ├── cyclically-rotating-a-grid.cpp ├── daily-temperatures.cpp ├── data-stream-as-disjoint-intervals.cpp ├── day-of-the-week.cpp ├── day-of-the-year.cpp ├── decode-string.cpp ├── decode-the-slanted-ciphertext.cpp ├── decode-ways-ii.cpp ├── decode-ways.cpp ├── decode-xored-array.cpp ├── decode-xored-permutation.cpp ├── decoded-string-at-index.cpp ├── decompress-run-length-encoded-list.cpp ├── decrease-elements-to-make-array-zigzag.cpp ├── decrypt-string-from-alphabet-to-integer-mapping.cpp ├── deepest-leaves-sum.cpp ├── defanging-an-ip-address.cpp ├── defuse-the-bomb.cpp ├── degree-of-an-array.cpp ├── delete-and-earn.cpp ├── delete-characters-to-make-fancy-string.cpp ├── delete-columns-to-make-sorted-ii.cpp ├── delete-columns-to-make-sorted-iii.cpp ├── delete-columns-to-make-sorted.cpp ├── delete-duplicate-folders-in-system.cpp ├── delete-leaves-with-a-given-value.cpp ├── delete-n-nodes-after-m-nodes-of-a-linked-list.cpp ├── delete-node-in-a-bst.cpp ├── delete-node-in-a-linked-list.cpp ├── delete-nodes-and-return-forest.cpp ├── delete-operation-for-two-strings.cpp ├── delete-the-middle-node-of-a-linked-list.cpp ├── delete-tree-nodes.cpp ├── delivering-boxes-from-storage-to-ports.cpp ├── depth-of-bst-given-insertion-order.cpp ├── describe-the-painting.cpp ├── design-a-file-sharing-system.cpp ├── design-a-leaderboard.cpp ├── design-a-stack-with-increment-operation.cpp ├── design-an-atm-machine.cpp ├── design-an-expression-tree-with-evaluate-function.cpp ├── design-an-ordered-stream.cpp ├── design-authentication-manager.cpp ├── design-bitset.cpp ├── design-bounded-blocking-queue.cpp ├── design-browser-history.cpp ├── design-circular-deque.cpp ├── design-circular-queue.cpp ├── design-compressed-string-iterator.cpp ├── design-excel-sum-formula.cpp ├── design-file-system.cpp ├── design-front-middle-back-queue.cpp ├── design-hashmap.cpp ├── design-hashset.cpp ├── design-hit-counter.cpp ├── design-in-memory-file-system.cpp ├── design-linked-list.cpp ├── design-log-storage-system.cpp ├── design-most-recently-used-queue.cpp ├── design-movie-rental-system.cpp ├── design-parking-system.cpp ├── design-phone-directory.cpp ├── design-search-autocomplete-system.cpp ├── design-skiplist.cpp ├── design-snake-game.cpp ├── design-tic-tac-toe.cpp ├── design-twitter.cpp ├── design-underground-system.cpp ├── destination-city.cpp ├── destroying-asteroids.cpp ├── detect-capital.cpp ├── detect-cycles-in-2d-grid.cpp ├── detect-pattern-of-length-m-repeated-k-or-more-times.cpp ├── detect-squares.cpp ├── determine-color-of-a-chessboard-square.cpp ├── determine-if-string-halves-are-alike.cpp ├── determine-if-two-strings-are-close.cpp ├── determine-whether-matrix-can-be-obtained-by-rotation.cpp ├── detonate-the-maximum-bombs.cpp ├── di-string-match.cpp ├── diagonal-traverse-ii.cpp ├── diagonal-traverse.cpp ├── diameter-of-binary-tree.cpp ├── diameter-of-n-ary-tree.cpp ├── dice-roll-simulation.cpp ├── diet-plan-performance.cpp ├── different-ways-to-add-parentheses.cpp ├── digit-count-in-range.cpp ├── dinner-plate-stacks.cpp ├── display-table-of-food-orders-in-a-restaurant.cpp ├── distance-between-bus-stops.cpp ├── distance-to-a-cycle-in-undirected-graph.cpp ├── distant-barcodes.cpp ├── distinct-echo-substrings.cpp ├── distinct-numbers-in-each-subarray.cpp ├── distinct-subsequences-ii.cpp ├── distribute-candies-to-people.cpp ├── distribute-candies.cpp ├── distribute-coins-in-binary-tree.cpp ├── distribute-repeating-integers.cpp ├── divide-a-string-into-groups-of-size-k.cpp ├── divide-array-in-sets-of-k-consecutive-numbers.cpp ├── divide-array-into-equal-pairs.cpp ├── divide-array-into-increasing-sequences.cpp ├── divide-chocolate.cpp ├── divide-two-integers.cpp ├── divisor-game.cpp ├── domino-and-tromino-tiling.cpp ├── dot-product-of-two-sparse-vectors.cpp ├── dota2-senate.cpp ├── duplicate-zeros.cpp ├── earliest-possible-day-of-full-bloom.cpp ├── egg-drop-with-2-eggs-and-n-floors.cpp ├── element-appearing-more-than-25-in-sorted-array.cpp ├── elements-in-array-after-removing-and-replacing-elements.cpp ├── eliminate-maximum-number-of-monsters.cpp ├── elimination-game.cpp ├── employee-free-time.cpp ├── employee-importance.cpp ├── encode-and-decode-strings.cpp ├── encode-and-decode-tinyurl.cpp ├── encode-n-ary-tree-to-binary-tree.cpp ├── encode-number.cpp ├── encode-string-with-shortest-length.cpp ├── encrypt-and-decrypt-strings.cpp ├── equal-rational-numbers.cpp ├── equal-sum-arrays-with-minimum-number-of-operations.cpp ├── equal-tree-partition.cpp ├── erect-the-fence-ii.cpp ├── erect-the-fence.cpp ├── escape-a-large-maze.cpp ├── escape-the-ghosts.cpp ├── evaluate-division.cpp ├── evaluate-reverse-polish-notation.cpp ├── evaluate-the-bracket-pairs-of-a-string.cpp ├── even-odd-tree.cpp ├── exam-room.cpp ├── excel-sheet-column-number.cpp ├── excel-sheet-column-title.cpp ├── exclusive-time-of-functions.cpp ├── execution-of-all-suffix-instructions-staying-in-a-grid.cpp ├── exist.cpp ├── expression-add-operators.cpp ├── expressive-words.cpp ├── factor-combinations.cpp ├── factorial-trailing-zeroes.cpp ├── fair-candy-swap.cpp ├── falling-squares.cpp ├── fancy-sequence.cpp ├── faulty-sensor.cpp ├── fibonacci-number.cpp ├── filling-bookcase-shelves.cpp ├── filter-restaurants-by-vegan-friendly-price-and-distance.cpp ├── final-prices-with-a-special-discount-in-a-shop.cpp ├── final-value-of-variable-after-performing-operations.cpp ├── find-a-corresponding-node-of-a-binary-tree-in-a-clone-of-that-tree.cpp ├── find-a-peak-element-ii.cpp ├── find-a-value-of-a-mysterious-function-closest-to-target.cpp ├── find-all-anagrams-in-a-string.cpp ├── find-all-duplicates-in-an-array.cpp ├── find-all-good-strings.cpp ├── find-all-groups-of-farmland.cpp ├── find-all-k-distant-indices-in-an-array.cpp ├── find-all-lonely-numbers-in-the-array.cpp ├── find-all-numbers-disappeared-in-an-array.cpp ├── find-all-people-with-secret.cpp ├── find-all-possible-recipes-from-given-supplies.cpp ├── find-all-the-lonely-nodes.cpp ├── find-anagram-mappings.cpp ├── find-and-replace-in-string.cpp ├── find-and-replace-pattern.cpp ├── find-array-given-subset-sums.cpp ├── find-bottom-left-tree-value.cpp ├── find-center-of-star-graph.cpp ├── find-closest-number-to-zero.cpp ├── find-common-characters.cpp ├── find-critical-and-pseudo-critical-edges-in-minimum-spanning-tree.cpp ├── find-distance-in-a-binary-tree.cpp ├── find-duplicate-file-in-system.cpp ├── find-duplicate-subtrees.cpp ├── find-elements-in-a-contaminated-binary-tree.cpp ├── find-eventual-safe-states.cpp ├── find-first-and-last-position-of-element-in-sorted-array.cpp ├── find-first-palindromic-string-in-the-array.cpp ├── find-good-days-to-rob-the-bank.cpp ├── find-greatest-common-divisor-of-array.cpp ├── find-if-path-exists-in-graph.cpp ├── find-in-mountain-array.cpp ├── find-k-closest-elements.cpp ├── find-k-length-substrings-with-no-repeated-characters.cpp ├── find-k-pairs-with-smallest-sums.cpp ├── find-k-th-smallest-pair-distance.cpp ├── find-kth-bit-in-nth-binary-string.cpp ├── find-kth-largest-xor-coordinate-value.cpp ├── find-largest-value-in-each-tree-row.cpp ├── find-latest-group-of-size-m.cpp ├── find-leaves-of-binary-tree.cpp ├── find-longest-awesome-substring.cpp ├── find-lucky-integer-in-an-array.cpp ├── find-median-from-data-stream.cpp ├── find-minimum-in-rotated-sorted-array-ii.cpp ├── find-minimum-in-rotated-sorted-array.cpp ├── find-minimum-time-to-finish-all-jobs.cpp ├── find-missing-observations.cpp ├── find-mode-in-binary-search-tree.cpp ├── find-n-unique-integers-sum-up-to-zero.cpp ├── find-nearest-point-that-has-the-same-x-or-y-coordinate.cpp ├── find-nearest-right-node-in-binary-tree.cpp ├── find-numbers-with-even-number-of-digits.cpp ├── find-original-array-from-doubled-array.cpp ├── find-palindrome-with-fixed-length.cpp ├── find-peak-element.cpp ├── find-permutation.cpp ├── find-pivot-index.cpp ├── find-players-with-zero-or-one-losses.cpp ├── find-positive-integer-solution-for-a-given-equation.cpp ├── find-right-interval.cpp ├── find-root-of-n-ary-tree.cpp ├── find-servers-that-handled-most-number-of-requests.cpp ├── find-smallest-common-element-in-all-rows.cpp ├── find-smallest-letter-greater-than-target.cpp ├── find-subsequence-of-length-k-with-the-largest-sum.cpp ├── find-substring-with-given-hash-value.cpp ├── find-target-indices-after-sorting-array.cpp ├── find-the-celebrity.cpp ├── find-the-city-with-the-smallest-number-of-neighbors-at-a-threshold-distance.cpp ├── find-the-closest-palindrome.cpp ├── find-the-derangement-of-an-array.cpp ├── find-the-difference-of-two-arrays.cpp ├── find-the-difference.cpp ├── find-the-distance-value-between-two-arrays.cpp ├── find-the-duplicate-number.cpp ├── find-the-highest-altitude.cpp ├── find-the-index-of-the-large-integer.cpp ├── find-the-kth-largest-integer-in-the-array.cpp ├── find-the-kth-smallest-sum-of-a-matrix-with-sorted-rows.cpp ├── find-the-longest-substring-containing-vowels-in-even-counts.cpp ├── find-the-longest-valid-obstacle-course-at-each-position.cpp ├── find-the-middle-index-in-array.cpp ├── find-the-minimum-and-maximum-number-of-nodes-between-critical-points.cpp ├── find-the-minimum-number-of-fibonacci-numbers-whose-sum-is-k.cpp ├── find-the-most-competitive-subsequence.cpp ├── find-the-shortest-superstring.cpp ├── find-the-smallest-divisor-given-a-threshold.cpp ├── find-the-student-that-will-replace-the-chalk.cpp ├── find-the-town-judge.cpp ├── find-the-winner-of-an-array-game.cpp ├── find-the-winner-of-the-circular-game.cpp ├── find-three-consecutive-integers-that-sum-to-a-given-number.cpp ├── find-triangular-sum-of-an-array.cpp ├── find-two-non-overlapping-sub-arrays-each-with-target-sum.cpp ├── find-unique-binary-string.cpp ├── find-valid-matrix-given-row-and-column-sums.cpp ├── find-winner-on-a-tic-tac-toe-game.cpp ├── find-words-that-can-be-formed-by-characters.cpp ├── find-xor-sum-of-all-pairs-bitwise-and.cpp ├── finding-3-digit-even-numbers.cpp ├── finding-mk-average.cpp ├── finding-pairs-with-a-certain-sum.cpp ├── finding-the-users-active-minutes.cpp ├── first-bad-version.cpp ├── first-day-where-you-have-been-in-all-the-rooms.cpp ├── first-missing-positive.cpp ├── first-unique-character-in-a-string.cpp ├── first-unique-number.cpp ├── fixed-point.cpp ├── fizz-buzz-multithreaded.cpp ├── fizz-buzz.cpp ├── flatten-2d-vector.cpp ├── flatten-a-multilevel-doubly-linked-list.cpp ├── flatten-nested-list-iterator.cpp ├── flatten.cpp ├── flip-binary-tree-to-match-preorder-traversal.cpp ├── flip-columns-for-maximum-number-of-equal-rows.cpp ├── flip-equivalent-binary-trees.cpp ├── flip-game-ii.cpp ├── flip-game.cpp ├── flip-string-to-monotone-increasing.cpp ├── flipping-an-image.cpp ├── flood-fill.cpp ├── flower-planting-with-no-adjacent.cpp ├── form-array-by-concatenating-subarrays-of-another-array.cpp ├── form-largest-integer-with-digits-that-add-up-to-target.cpp ├── four-divisors.cpp ├── fraction-addition-and-subtraction.cpp ├── fraction-to-recurring-decimal.cpp ├── freedom-trail.cpp ├── frequency-of-the-most-frequent-element.cpp ├── friend-circles.cpp ├── friends-of-appropriate-ages.cpp ├── frog-jump.cpp ├── frog-position-after-t-seconds.cpp ├── fruit-into-baskets.cpp ├── furthest-building-you-can-reach.cpp ├── game-of-life.cpp ├── game-of-nim.cpp ├── gcd-sort-of-an-array.cpp ├── generalized-abbreviation.cpp ├── generate-a-string-with-characters-that-have-odd-counts.cpp ├── generate-parentheses.cpp ├── generate-random-point-in-a-circle.cpp ├── generateParenthesis.cpp ├── get-biggest-three-rhombus-sums-in-a-grid.cpp ├── get-equal-substrings-within-budget.cpp ├── get-maximum-in-generated-array.cpp ├── get-the-maximum-score.cpp ├── get-watched-videos-by-your-friends.cpp ├── getRow.cpp ├── global-and-local-inversions.cpp ├── goal-parser-interpretation.cpp ├── goat-latin.cpp ├── graph-connectivity-with-threshold.cpp ├── graph-valid-tree.cpp ├── gray-code.cpp ├── greatest-common-divisor-of-strings.cpp ├── greatest-sum-divisible-by-three.cpp ├── grid-game.cpp ├── grid-illumination.cpp ├── group-anagrams.cpp ├── group-shifted-strings.cpp ├── group-the-people-given-the-group-size-they-belong-to.cpp ├── groups-of-special-equivalent-strings.cpp ├── groups-of-strings.cpp ├── grumpy-bookstore-owner.cpp ├── guess-number-higher-or-lower-ii.cpp ├── guess-number-higher-or-lower.cpp ├── guess-the-majority-in-a-hidden-array.cpp ├── guess-the-word.cpp ├── h-index-ii.cpp ├── h-index.cpp ├── hamming-distance.cpp ├── hand-of-straights.cpp ├── handshakes-that-dont-cross.cpp ├── happy-number.cpp ├── hasPathSum.cpp ├── heaters.cpp ├── height-checker.cpp ├── hexspeak.cpp ├── high-five.cpp ├── house-robber-ii.cpp ├── house-robber-iii.cpp ├── house-robber.cpp ├── how-many-apples-can-you-put-into-the-basket.cpp ├── how-many-numbers-are-smaller-than-the-current-number.cpp ├── html-entity-parser.cpp ├── image-overlap.cpp ├── image-smoother.cpp ├── implement-magic-dictionary.cpp ├── implement-queue-using-stacks.cpp ├── implement-rand10-using-rand7.cpp ├── implement-stack-using-queues.cpp ├── implement-strstr.cpp ├── implement-trie-ii-prefix-tree.cpp ├── implement-trie-prefix-tree.cpp ├── increasing-decreasing-string.cpp ├── increasing-order-search-tree.cpp ├── increasing-subsequences.cpp ├── increasing-triplet-subsequence.cpp ├── incremental-memory-leak.cpp ├── index-pairs-of-a-string.cpp ├── inorder-successor-in-bst-ii.cpp ├── inorder-successor-in-bst.cpp ├── insert-delete-getrandom-o1-duplicates-allowed.cpp ├── insert-delete-getrandom-o1.cpp ├── insert-interval.cpp ├── insert-into-a-binary-search-tree.cpp ├── insert-into-a-cyclic-sorted-list.cpp ├── insert-into-a-sorted-circular-linked-list.cpp ├── insertion-sort-list.cpp ├── insufficient-nodes-in-root-to-leaf-paths.cpp ├── integer-break.cpp ├── integer-replacement.cpp ├── integer-to-english-words.cpp ├── integer-to-roman.cpp ├── intersection-of-multiple-arrays.cpp ├── intersection-of-three-sorted-arrays.cpp ├── intersection-of-two-arrays-ii.cpp ├── intersection-of-two-arrays.cpp ├── intersection-of-two-linked-lists.cpp ├── interval-list-intersections.cpp ├── intervals-between-identical-elements.cpp ├── invalid-transactions.cpp ├── invert-binary-tree.cpp ├── ip-to-cidr.cpp ├── ipo.cpp ├── is-graph-bipartite.cpp ├── is-subsequence.cpp ├── isInterleave.cpp ├── isMatch.cpp ├── isScramble.cpp ├── isValidBST2.cpp ├── island-perimeter.cpp ├── isomorphic-strings.cpp ├── iterator-for-combination.cpp ├── jewels-and-stones.cpp ├── judge-route-circle.cpp ├── jump-game-iii.cpp ├── jump-game-iv.cpp ├── jump-game-v.cpp ├── jump-game-vi.cpp ├── jump-game-vii.cpp ├── jump-game.cpp ├── jump.cpp ├── k-closest-points-to-origin.cpp ├── k-concatenation-maximum-sum.cpp ├── k-diff-pairs-in-an-array.cpp ├── k-empty-slots.cpp ├── k-highest-ranked-items-within-a-price-range.cpp ├── k-inverse-pairs-array.cpp ├── k-radius-subarray-averages.cpp ├── k-similar-strings.cpp ├── k-th-smallest-in-lexicographical-order.cpp ├── k-th-smallest-prime-fraction.cpp ├── k-th-symbol-in-grammar.cpp ├── keep-multiplying-found-values-by-two.cpp ├── keyboard-row.cpp ├── keys-and-rooms.cpp ├── kids-with-the-greatest-number-of-candies.cpp ├── kill-process.cpp ├── knight-dialer.cpp ├── knight-probability-in-chessboard.cpp ├── koko-eating-bananas.cpp ├── kth-ancestor-of-a-tree-node.cpp ├── kth-distinct-string-in-an-array.cpp ├── kth-largest-element-in-a-stream.cpp ├── kth-largest-element-in-an-array.cpp ├── kth-missing-positive-number.cpp ├── kth-smallest-element-in-a-bst.cpp ├── kth-smallest-element-in-a-sorted-matrix.cpp ├── kth-smallest-instructions.cpp ├── kth-smallest-number-in-multiplication-table.cpp ├── kth-smallest-product-of-two-sorted-arrays.cpp ├── kth-smallest-subarray-sum.cpp ├── ladderLength.cpp ├── largest-1-bordered-square.cpp ├── largest-bst-subtree.cpp ├── largest-color-value-in-a-directed-graph.cpp ├── largest-component-size-by-common-factor.cpp ├── largest-divisible-subset.cpp ├── largest-magic-square.cpp ├── largest-merge-of-two-strings.cpp ├── largest-multiple-of-three.cpp ├── largest-number-after-digit-swaps-by-parity.cpp ├── largest-number-after-mutating-substring.cpp ├── largest-number-at-least-twice-of-others.cpp ├── largest-number.cpp ├── largest-odd-number-in-string.cpp ├── largest-palindrome-product.cpp ├── largest-perimeter-triangle.cpp ├── largest-plus-sign.cpp ├── largest-rectangle-in-histogram.cpp ├── largest-subarray-length-k.cpp ├── largest-submatrix-with-rearrangements.cpp ├── largest-substring-between-two-equal-characters.cpp ├── largest-sum-of-averages.cpp ├── largest-time-for-given-digits.cpp ├── largest-triangle-area.cpp ├── largest-unique-number.cpp ├── largest-values-from-labels.cpp ├── last-day-where-you-can-still-cross.cpp ├── last-moment-before-all-ants-fall-out-of-a-plank.cpp ├── last-stone-weight-ii.cpp ├── last-stone-weight.cpp ├── last-substring-in-lexicographical-order.cpp ├── latest-time-by-replacing-hidden-digits.cpp ├── leaf-similar-trees.cpp ├── least-number-of-unique-integers-after-k-removals.cpp ├── least-operators-to-express-number.cpp ├── leftmost-column-with-at-least-a-one.cpp ├── lemonade-change.cpp ├── length-of-last-word.cpp ├── length-of-longest-fibonacci-subsequence.cpp ├── letter-case-permutation.cpp ├── letter-combinations-of-a-phone-number.cpp ├── letter-tile-possibilities.cpp ├── letterCombinations.cpp ├── lexicographical-numbers.cpp ├── lexicographically-smallest-equivalent-string.cpp ├── lexicographically-smallest-string-after-applying-operations.cpp ├── lfu-cache.cpp ├── license-key-formatting.cpp ├── line-reflection.cpp ├── linked-list-components.cpp ├── linked-list-cycle-ii.cpp ├── linked-list-cycle.cpp ├── linked-list-in-binary-tree.cpp ├── linked-list-random-node.cpp ├── logger-rate-limiter.cpp ├── logical-or-of-two-binary-grids-represented-as-quad-trees.cpp ├── lonely-pixel-i.cpp ├── lonely-pixel-ii.cpp ├── long-pressed-name.cpp ├── longer-contiguous-segments-of-ones-than-zeros.cpp ├── longest-absolute-file-path.cpp ├── longest-arithmetic-sequence.cpp ├── longest-arithmetic-subsequence-of-given-difference.cpp ├── longest-chunked-palindrome-decomposition.cpp ├── longest-common-prefix.cpp ├── longest-common-subpath.cpp ├── longest-common-subsequence-between-sorted-arrays.cpp ├── longest-common-subsequence.cpp ├── longest-consecutive-sequence.cpp ├── longest-continuous-increasing-subsequence.cpp ├── longest-continuous-subarray-with-absolute-diff-less-than-or-equal-to-limit.cpp ├── longest-duplicate-substring.cpp ├── longest-happy-prefix.cpp ├── longest-happy-string.cpp ├── longest-harmonious-subsequence.cpp ├── longest-increasing-path-in-a-matrix.cpp ├── longest-increasing-subsequence.cpp ├── longest-line-of-consecutive-one-in-matrix.cpp ├── longest-mountain-in-array.cpp ├── longest-nice-substring.cpp ├── longest-palindrome-by-concatenating-two-letter-words.cpp ├── longest-palindrome.cpp ├── longest-palindromic-subsequence-ii.cpp ├── longest-palindromic-subsequence.cpp ├── longest-palindromic-substring.cpp ├── longest-path-with-different-adjacent-characters.cpp ├── longest-repeating-character-replacement.cpp ├── longest-repeating-substring.cpp ├── longest-string-chain.cpp ├── longest-subarray-of-1s-after-deleting-one-element.cpp ├── longest-subsequence-repeated-k-times.cpp ├── longest-substring-of-all-vowels-in-order.cpp ├── longest-substring-of-one-repeating-character.cpp ├── longest-substring-with-at-least-k-repeating-characters.cpp ├── longest-substring-with-at-most-k-distinct-characters.cpp ├── longest-substring-with-at-most-two-distinct-characters.cpp ├── longest-substring-without-repeating-characters.cpp ├── longest-turbulent-subarray.cpp ├── longest-uncommon-subsequence-i.cpp ├── longest-uncommon-subsequence-ii.cpp ├── longest-univalue-path.cpp ├── longest-valid-parentheses.cpp ├── longest-well-performing-interval.cpp ├── longest-word-in-dictionary-through-deleting.cpp ├── longest-word-in-dictionary.cpp ├── longest-word-with-all-prefixes.cpp ├── longest-zigzag-path-in-a-binary-tree.cpp ├── longestCommonLength.cpp ├── loud-and-rich.cpp ├── lowest-common-ancestor-of-a-binary-search-tree.cpp ├── lowest-common-ancestor-of-a-binary-tree-ii.cpp ├── lowest-common-ancestor-of-a-binary-tree-iii.cpp ├── lowest-common-ancestor-of-a-binary-tree-iv.cpp ├── lowest-common-ancestor-of-a-binary-tree.cpp ├── lowest-common-ancestor-of-deepest-leaves.cpp ├── lru-cache.cpp ├── lucky-numbers-in-a-matrix.cpp ├── magic-squares-in-grid.cpp ├── magical-string.cpp ├── magnetic-force-between-two-balls.cpp ├── majority-element-ii.cpp ├── majority-element.cpp ├── make-array-strictly-increasing.cpp ├── make-sum-divisible-by-p.cpp ├── make-the-string-great.cpp ├── make-the-xor-of-all-segments-equal-to-zero.cpp ├── make-two-arrays-equal-by-reversing-sub-arrays.cpp ├── making-a-large-island.cpp ├── making-file-names-unique.cpp ├── map-of-highest-peak.cpp ├── map-sum-pairs.cpp ├── masking-personal-information.cpp ├── matchsticks-to-square.cpp ├── matrix-block-sum.cpp ├── matrix-cells-in-distance-order.cpp ├── matrix-diagonal-sum.cpp ├── max-area-of-island.cpp ├── max-chunks-to-make-sorted-ii.cpp ├── max-chunks-to-make-sorted.cpp ├── max-consecutive-ones-ii.cpp ├── max-consecutive-ones-iii.cpp ├── max-consecutive-ones.cpp ├── max-difference-you-can-get-from-changing-an-integer.cpp ├── max-dot-product-of-two-subsequences.cpp ├── max-increase-to-keep-city-skyline.cpp ├── max-number-of-k-sum-pairs.cpp ├── max-points-on-a-line.cpp ├── max-stack.cpp ├── max-sum-of-sub-matrix-no-larger-than-k.cpp ├── max-value-of-equation.cpp ├── maxPathSum.cpp ├── maxProfitII.cpp ├── maxProfitIII.cpp ├── maximal-network-rank.cpp ├── maximal-rectangle.cpp ├── maximal-square.cpp ├── maximize-distance-to-closest-person.cpp ├── maximize-grid-happiness.cpp ├── maximize-number-of-nice-divisors.cpp ├── maximize-number-of-subsequences-in-a-string.cpp ├── maximize-palindrome-length-from-subsequences.cpp ├── maximize-score-after-n-operations.cpp ├── maximize-sum-of-array-after-k-negations.cpp ├── maximize-the-beauty-of-the-garden.cpp ├── maximize-the-confusion-of-an-exam.cpp ├── maximize-the-topmost-element-after-k-moves.cpp ├── maximum-69-number.cpp ├── maximum-absolute-sum-of-any-subarray.cpp ├── maximum-alternating-subarray-sum.cpp ├── maximum-alternating-subsequence-sum.cpp ├── maximum-and-sum-of-array.cpp ├── maximum-area-of-a-piece-of-cake-after-horizontal-and-vertical-cuts.cpp ├── maximum-ascending-subarray-sum.cpp ├── maximum-average-pass-ratio.cpp ├── maximum-average-subarray-i.cpp ├── maximum-average-subarray-ii.cpp ├── maximum-average-subtree.cpp ├── maximum-binary-string-after-change.cpp ├── maximum-binary-tree-ii.cpp ├── maximum-binary-tree.cpp ├── maximum-building-height.cpp ├── maximum-candies-allocated-to-k-children.cpp ├── maximum-candies-you-can-get-from-boxes.cpp ├── maximum-compatibility-score-sum.cpp ├── maximum-cost-of-trip-with-k-highways.cpp ├── maximum-depth-of-binary-tree.cpp ├── maximum-depth-of-n-ary-tree.cpp ├── maximum-difference-between-increasing-elements.cpp ├── maximum-difference-between-node-and-ancestor.cpp ├── maximum-distance-between-a-pair-of-values.cpp ├── maximum-distance-in-arrays.cpp ├── maximum-earnings-from-taxi.cpp ├── maximum-element-after-decreasing-and-rearranging.cpp ├── maximum-employees-to-be-invited-to-a-meeting.cpp ├── maximum-equal-frequency.cpp ├── maximum-erasure-value.cpp ├── maximum-font-to-fit-a-sentence-in-a-screen.cpp ├── maximum-frequency-stack.cpp ├── maximum-fruits-harvested-after-at-most-k-steps.cpp ├── maximum-gap.cpp ├── maximum-genetic-difference-query.cpp ├── maximum-good-people-based-on-statements.cpp ├── maximum-height-by-stacking-cuboids.cpp ├── maximum-ice-cream-bars.cpp ├── maximum-length-of-a-concatenated-string-with-unique-characters.cpp ├── maximum-length-of-pair-chain.cpp ├── maximum-length-of-repeated-subarray.cpp ├── maximum-length-of-subarray-with-positive-product.cpp ├── maximum-level-sum-of-a-binary-tree.cpp ├── maximum-matrix-sum.cpp ├── maximum-nesting-depth-of-the-parentheses.cpp ├── maximum-nesting-depth-of-two-valid-parentheses-strings.cpp ├── maximum-non-negative-product-in-a-matrix.cpp ├── maximum-number-of-accepted-invitations.cpp ├── maximum-number-of-achievable-transfer-requests.cpp ├── maximum-number-of-balloons.cpp ├── maximum-number-of-balls-in-a-box.cpp ├── maximum-number-of-coins-you-can-get.cpp ├── maximum-number-of-consecutive-values-you-can-make.cpp ├── maximum-number-of-darts-inside-of-a-circular-dartboard.cpp ├── maximum-number-of-eaten-apples.cpp ├── maximum-number-of-events-that-can-be-attended-ii.cpp ├── maximum-number-of-events-that-can-be-attended.cpp ├── maximum-number-of-groups-getting-fresh-donuts.cpp ├── maximum-number-of-non-overlapping-subarrays-with-sum-equals-target.cpp ├── maximum-number-of-non-overlapping-substrings.cpp ├── maximum-number-of-occurrences-of-a-substring.cpp ├── maximum-number-of-ones.cpp ├── maximum-number-of-people-that-can-be-caught-in-tag.cpp ├── maximum-number-of-points-with-cost.cpp ├── maximum-number-of-removable-characters.cpp ├── maximum-number-of-tasks-you-can-assign.cpp ├── maximum-number-of-visible-points.cpp ├── maximum-number-of-vowels-in-a-substring-of-given-length.cpp ├── maximum-number-of-ways-to-partition-an-array.cpp ├── maximum-number-of-weeks-for-which-you-can-work.cpp ├── maximum-number-of-words-found-in-sentences.cpp ├── maximum-number-of-words-you-can-type.cpp ├── maximum-of-absolute-value-expression.cpp ├── maximum-of-minimum-values-in-all-subarrays.cpp ├── maximum-path-quality-of-a-graph.cpp ├── maximum-performance-of-a-team.cpp ├── maximum-points-in-an-archery-competition.cpp ├── maximum-points-you-can-obtain-from-cards.cpp ├── maximum-population-year.cpp ├── maximum-product-after-k-increments.cpp ├── maximum-product-difference-between-two-pairs.cpp ├── maximum-product-of-splitted-binary-tree.cpp ├── maximum-product-of-the-length-of-two-palindromic-subsequences.cpp ├── maximum-product-of-the-length-of-two-palindromic-substrings.cpp ├── maximum-product-of-three-numbers.cpp ├── maximum-product-of-two-elements-in-an-array.cpp ├── maximum-product-of-word-lengths.cpp ├── maximum-product-subarray.cpp ├── maximum-profit-in-job-scheduling.cpp ├── maximum-profit-of-operating-a-centennial-wheel.cpp ├── maximum-repeating-substring.cpp ├── maximum-running-time-of-n-computers.cpp ├── maximum-score-after-splitting-a-string.cpp ├── maximum-score-from-performing-multiplication-operations.cpp ├── maximum-score-from-removing-stones.cpp ├── maximum-score-from-removing-substrings.cpp ├── maximum-score-of-a-good-subarray.cpp ├── maximum-score-of-a-node-sequence.cpp ├── maximum-score-words-formed-by-letters.cpp ├── maximum-side-length-of-a-square-with-sum-less-than-or-equal-to-threshold.cpp ├── maximum-size-subarray-sum-equals-k.cpp ├── maximum-split-of-positive-even-integers.cpp ├── maximum-students-taking-exam.cpp ├── maximum-subarray-min-product.cpp ├── maximum-subarray-sum-after-one-operation.cpp ├── maximum-subarray-sum-with-one-deletion.cpp ├── maximum-subarray.cpp ├── maximum-sum-bst-in-binary-tree.cpp ├── maximum-sum-circular-subarray.cpp ├── maximum-sum-obtained-of-any-permutation.cpp ├── maximum-sum-of-3-non-overlapping-subarrays.cpp ├── maximum-sum-of-two-non-overlapping-subarrays.cpp ├── maximum-sum-score-of-array.cpp ├── maximum-swap.cpp ├── maximum-total-beauty-of-the-gardens.cpp ├── maximum-trailing-zeros-in-a-cornered-path.cpp ├── maximum-twin-sum-of-a-linked-list.cpp ├── maximum-units-on-a-truck.cpp ├── maximum-vacation-days.cpp ├── maximum-value-after-insertion.cpp ├── maximum-value-at-a-given-index-in-a-bounded-array.cpp ├── maximum-value-of-k-coins-from-piles.cpp ├── maximum-width-of-binary-tree.cpp ├── maximum-width-ramp.cpp ├── maximum-xor-for-each-query.cpp ├── maximum-xor-of-two-numbers-in-an-array.cpp ├── maximum-xor-with-an-element-from-array.cpp ├── mean-of-array-after-removing-some-elements.cpp ├── median-of-two-sorted-arrays.cpp ├── meeting-rooms-ii.cpp ├── meeting-rooms.cpp ├── meeting-scheduler.cpp ├── merge-bsts-to-create-single-bst.cpp ├── merge-in-between-linked-lists.cpp ├── merge-intervals.cpp ├── merge-k-sorted-lists.cpp ├── merge-nodes-in-between-zeros.cpp ├── merge-sorted-array.cpp ├── merge-strings-alternately.cpp ├── merge-triplets-to-form-target-triplet.cpp ├── merge-two-binary-trees.cpp ├── merge-two-sorted-lists.cpp ├── merge2.cpp ├── middle-of-the-linked-list.cpp ├── min-cost-climbing-stairs.cpp ├── min-cost-to-connect-all-points.cpp ├── min-stack.cpp ├── minCut.cpp ├── minDepth.cpp ├── minDistance.cpp ├── minPathSum.cpp ├── minesweeper.cpp ├── mini-parser.cpp ├── minimize-deviation-in-array.cpp ├── minimize-hamming-distance-after-swap-operations.cpp ├── minimize-malware-spread-ii.cpp ├── minimize-malware-spread.cpp ├── minimize-max-distance-to-gas-station.cpp ├── minimize-maximum-pair-sum-in-array.cpp ├── minimize-product-sum-of-two-arrays.cpp ├── minimize-result-by-adding-parentheses-to-expression.cpp ├── minimize-rounding-error-to-meet-target.cpp ├── minimize-the-difference-between-target-and-chosen-elements.cpp ├── minimized-maximum-of-products-distributed-to-any-store.cpp ├── minimum-absolute-difference-in-bst.cpp ├── minimum-absolute-difference-queries.cpp ├── minimum-absolute-difference.cpp ├── minimum-absolute-sum-difference.cpp ├── minimum-add-to-make-parentheses-valid.cpp ├── minimum-adjacent-swaps-for-k-consecutive-ones.cpp ├── minimum-adjacent-swaps-to-reach-the-kth-smallest-number.cpp ├── minimum-area-rectangle-ii.cpp ├── minimum-area-rectangle.cpp ├── minimum-ascii-delete-sum-for-two-strings.cpp ├── minimum-bit-flips-to-convert-number.cpp ├── minimum-changes-to-make-alternating-binary-string.cpp ├── minimum-cost-for-tickets.cpp ├── minimum-cost-homecoming-of-a-robot-in-a-grid.cpp ├── minimum-cost-of-buying-candies-with-discount.cpp ├── minimum-cost-to-change-the-final-value-of-expression.cpp ├── minimum-cost-to-connect-sticks.cpp ├── minimum-cost-to-connect-two-groups-of-points.cpp ├── minimum-cost-to-cut-a-stick.cpp ├── minimum-cost-to-hire-k-workers.cpp ├── minimum-cost-to-make-at-least-one-valid-path-in-a-grid.cpp ├── minimum-cost-to-merge-stones.cpp ├── minimum-cost-to-reach-city-with-discounts.cpp ├── minimum-cost-to-reach-destination-in-time.cpp ├── minimum-cost-to-separate-sentence-into-rows.cpp ├── minimum-cost-to-set-cooking-time.cpp ├── minimum-cost-tree-from-leaf-values.cpp ├── minimum-degree-of-a-connected-trio-in-a-graph.cpp ├── minimum-deletion-cost-to-avoid-repeating-letters.cpp ├── minimum-deletions-to-make-array-beautiful.cpp ├── minimum-deletions-to-make-character-frequencies-unique.cpp ├── minimum-deletions-to-make-string-balanced.cpp ├── minimum-difference-between-highest-and-lowest-of-k-scores.cpp ├── minimum-difference-between-largest-and-smallest-value-in-three-moves.cpp ├── minimum-difference-in-sums-after-removal-of-elements.cpp ├── minimum-difficulty-of-a-job-schedule.cpp ├── minimum-distance-between-bst-nodes.cpp ├── minimum-distance-to-the-target-element.cpp ├── minimum-distance-to-type-a-word-using-two-fingers.cpp ├── minimum-domino-rotations-for-equal-row.cpp ├── minimum-elements-to-add-to-form-a-given-sum.cpp ├── minimum-factorization.cpp ├── minimum-falling-path-sum-ii.cpp ├── minimum-falling-path-sum.cpp ├── minimum-flips-to-make-a-or-b-equal-to-c.cpp ├── minimum-garden-perimeter-to-collect-enough-apples.cpp ├── minimum-genetic-mutation.cpp ├── minimum-health-to-beat-game.cpp ├── minimum-height-trees.cpp ├── minimum-incompatibility.cpp ├── minimum-increment-to-make-array-unique.cpp ├── minimum-index-sum-of-two-lists.cpp ├── minimum-initial-energy-to-finish-tasks.cpp ├── minimum-insertion-steps-to-make-a-string-palindrome.cpp ├── minimum-insertions-to-balance-a-parentheses-string.cpp ├── minimum-interval-to-include-each-query.cpp ├── minimum-jumps-to-reach-home.cpp ├── minimum-knight-moves.cpp ├── minimum-length-of-string-after-deleting-similar-ends.cpp ├── minimum-limit-of-balls-in-a-bag.cpp ├── minimum-moves-to-convert-string.cpp ├── minimum-moves-to-equal-array-elements-ii.cpp ├── minimum-moves-to-equal-array-elements.cpp ├── minimum-moves-to-make-array-complementary.cpp ├── minimum-moves-to-move-a-box-to-their-target-location.cpp ├── minimum-moves-to-reach-target-score.cpp ├── minimum-moves-to-reach-target-with-rotations.cpp ├── minimum-non-zero-product-of-the-array-elements.cpp ├── minimum-number-of-arrows-to-burst-balloons.cpp ├── minimum-number-of-buckets-required-to-collect-rainwater-from-houses.cpp ├── minimum-number-of-days-to-disconnect-island.cpp ├── minimum-number-of-days-to-eat-n-oranges.cpp ├── minimum-number-of-days-to-make-m-bouquets.cpp ├── minimum-number-of-flips-to-convert-binary-matrix-to-zero-matrix.cpp ├── minimum-number-of-flips-to-make-the-binary-string-alternating.cpp ├── minimum-number-of-frogs-croaking.cpp ├── minimum-number-of-increments-on-subarrays-to-form-a-target-array.cpp ├── minimum-number-of-k-consecutive-bit-flips.cpp ├── minimum-number-of-lines-to-cover-points.cpp ├── minimum-number-of-moves-to-make-palindrome.cpp ├── minimum-number-of-moves-to-seat-everyone.cpp ├── minimum-number-of-operations-to-convert-time.cpp ├── minimum-number-of-operations-to-make-array-continuous.cpp ├── minimum-number-of-operations-to-make-string-sorted.cpp ├── minimum-number-of-operations-to-move-all-balls-to-each-box.cpp ├── minimum-number-of-operations-to-reinitialize-a-permutation.cpp ├── minimum-number-of-people-to-teach.cpp ├── minimum-number-of-refueling-stops.cpp ├── minimum-number-of-removals-to-make-mountain-array.cpp ├── minimum-number-of-steps-to-make-two-strings-anagram-ii.cpp ├── minimum-number-of-steps-to-make-two-strings-anagram.cpp ├── minimum-number-of-swaps-to-make-the-binary-string-alternating.cpp ├── minimum-number-of-swaps-to-make-the-string-balanced.cpp ├── minimum-number-of-taps-to-open-to-water-a-garden.cpp ├── minimum-number-of-vertices-to-reach-all-nodes.cpp ├── minimum-number-of-work-sessions-to-finish-the-tasks.cpp ├── minimum-numbers-of-function-calls-to-make-target-array.cpp ├── minimum-one-bit-operations-to-make-integers-zero.cpp ├── minimum-operations-to-convert-number.cpp ├── minimum-operations-to-halve-array-sum.cpp ├── minimum-operations-to-make-a-subsequence.cpp ├── minimum-operations-to-make-a-uni-value-grid.cpp ├── minimum-operations-to-make-array-equal.cpp ├── minimum-operations-to-make-the-array-alternating.cpp ├── minimum-operations-to-make-the-array-increasing.cpp ├── minimum-operations-to-make-the-array-k-increasing.cpp ├── minimum-operations-to-reduce-x-to-zero.cpp ├── minimum-operations-to-remove-adjacent-ones-in-matrix.cpp ├── minimum-path-cost-in-a-hidden-grid.cpp ├── minimum-possible-integer-after-at-most-k-adjacent-swaps-on-digits.cpp ├── minimum-remove-to-make-valid-parentheses.cpp ├── minimum-rounds-to-complete-all-tasks.cpp ├── minimum-score-triangulation-of-polygon.cpp ├── minimum-sideway-jumps.cpp ├── minimum-size-subarray-sum.cpp ├── minimum-skips-to-arrive-at-meeting-on-time.cpp ├── minimum-space-wasted-from-packaging.cpp ├── minimum-speed-to-arrive-on-time.cpp ├── minimum-subsequence-in-non-increasing-order.cpp ├── minimum-sum-of-four-digit-number-after-splitting-digits.cpp ├── minimum-swaps-to-arrange-a-binary-grid.cpp ├── minimum-swaps-to-group-all-1s-together-ii.cpp ├── minimum-swaps-to-group-all-1s-together.cpp ├── minimum-swaps-to-make-sequences-increasing.cpp ├── minimum-swaps-to-make-strings-equal.cpp ├── minimum-time-difference.cpp ├── minimum-time-for-k-virus-variants-to-spread.cpp ├── minimum-time-to-build-blocks.cpp ├── minimum-time-to-collect-all-apples-in-a-tree.cpp ├── minimum-time-to-complete-trips.cpp ├── minimum-time-to-finish-the-race.cpp ├── minimum-time-to-remove-all-cars-containing-illegal-goods.cpp ├── minimum-time-to-type-word-using-special-typewriter.cpp ├── minimum-time-visiting-all-points.cpp ├── minimum-total-space-wasted-with-k-resizing-operations.cpp ├── minimum-unique-word-abbreviation.cpp ├── minimum-value-to-get-positive-step-by-step-sum.cpp ├── minimum-weighted-subgraph-with-the-required-paths.cpp ├── minimum-white-tiles-after-covering-with-carpets.cpp ├── minimum-window-subsequence.cpp ├── minimum-window-substring.cpp ├── minimum-xor-sum-of-two-arrays.cpp ├── minimumTotal.cpp ├── minimumTotal2.cpp ├── mirror-reflection.cpp ├── missing-element-in-sorted-array.cpp ├── missing-number-in-arithmetic-progression.cpp ├── missing-number.cpp ├── missing-ranges.cpp ├── monotone-increasing-digits.cpp ├── monotonic-array.cpp ├── most-beautiful-item-for-each-query.cpp ├── most-common-word.cpp ├── most-frequent-number-following-key-in-an-array.cpp ├── most-frequent-subtree-sum.cpp ├── most-profit-assigning-work.cpp ├── most-stones-removed-with-same-row-or-column.cpp ├── most-visited-sector-in-a-circular-track.cpp ├── move-sub-tree-of-n-ary-tree.cpp ├── move-zeroes.cpp ├── moving-average-from-data-stream.cpp ├── moving-stones-until-consecutive-ii.cpp ├── moving-stones-until-consecutive.cpp ├── multiply-strings.cpp ├── my-calendar-i.cpp ├── my-calendar-ii.cpp ├── my-calendar-iii.cpp ├── n-ary-tree-level-order-traversal.cpp ├── n-ary-tree-postorder-traversal.cpp ├── n-ary-tree-preorder-traversal.cpp ├── n-repeated-element-in-size-2n-array.cpp ├── n-th-tribonacci-number.cpp ├── nearest-exit-from-entrance-in-maze.cpp ├── nested-list-weight-sum-ii.cpp ├── nested-list-weight-sum.cpp ├── network-delay-time.cpp ├── new-21-game.cpp ├── next-closest-time.cpp ├── next-greater-element-i.cpp ├── next-greater-element-ii.cpp ├── next-greater-element-iii.cpp ├── next-greater-node-in-linked-list.cpp ├── next-greater-numerically-balanced-number.cpp ├── next-palindrome-using-same-digits.cpp ├── next-permutation.cpp ├── nim-game.cpp ├── non-decreasing-array.cpp ├── non-negative-integers-without-consecutive-ones.cpp ├── non-overlapping-intervals.cpp ├── nth-digit.cpp ├── nth-magical-number.cpp ├── numDistinct.cpp ├── number-complement.cpp ├── number-of-1-bits.cpp ├── number-of-atoms.cpp ├── number-of-boomerangs.cpp ├── number-of-burgers-with-no-waste-of-ingredients.cpp ├── number-of-closed-islands.cpp ├── number-of-connected-components-in-an-undirected-graph.cpp ├── number-of-corner-rectangles.cpp ├── number-of-days-between-two-dates.cpp ├── number-of-days-in-a-month.cpp ├── number-of-dice-rolls-with-target-sum.cpp ├── number-of-different-integers-in-a-string.cpp ├── number-of-different-subsequences-gcds.cpp ├── number-of-digit-one.cpp ├── number-of-distinct-islands-ii.cpp ├── number-of-distinct-islands.cpp ├── number-of-distinct-substrings-in-a-string.cpp ├── number-of-enclaves.cpp ├── number-of-equal-count-substrings.cpp ├── number-of-equivalent-domino-pairs.cpp ├── number-of-flowers-in-full-bloom.cpp ├── number-of-good-leaf-nodes-pairs.cpp ├── number-of-good-pairs.cpp ├── number-of-good-ways-to-split-a-string.cpp ├── number-of-islands-ii.cpp ├── number-of-islands.cpp ├── number-of-laser-beams-in-a-bank.cpp ├── number-of-lines-to-write-string.cpp ├── number-of-longest-increasing-subsequence.cpp ├── number-of-matching-subsequences.cpp ├── number-of-music-playlists.cpp ├── number-of-nodes-in-the-sub-tree-with-the-same-label.cpp ├── number-of-operations-to-make-network-connected.cpp ├── number-of-orders-in-the-backlog.cpp ├── number-of-pairs-of-interchangeable-rectangles.cpp ├── number-of-pairs-of-strings-with-concatenation-equal-to-target.cpp ├── number-of-paths-with-max-score.cpp ├── number-of-recent-calls.cpp ├── number-of-rectangles-that-can-form-the-largest-square.cpp ├── number-of-restricted-paths-from-first-to-last-node.cpp ├── number-of-segments-in-a-string.cpp ├── number-of-sets-of-k-non-overlapping-line-segments.cpp ├── number-of-ships-in-a-rectangle.cpp ├── number-of-single-divisor-triplets.cpp ├── number-of-smooth-descent-periods-of-a-stock.cpp ├── number-of-spaces-cleaning-robot-cleaned.cpp ├── number-of-squareful-arrays.cpp ├── number-of-steps-to-reduce-a-number-in-binary-representation-to-one.cpp ├── number-of-steps-to-reduce-a-number-to-zero.cpp ├── number-of-strings-that-appear-as-substrings-in-word.cpp ├── number-of-students-doing-homework-at-a-given-time.cpp ├── number-of-students-unable-to-eat-lunch.cpp ├── number-of-sub-arrays-of-size-k-and-average-greater-than-or-equal-to-threshold.cpp ├── number-of-sub-arrays-with-odd-sum.cpp ├── number-of-subarrays-with-bounded-maximum.cpp ├── number-of-submatrices-that-sum-to-target.cpp ├── number-of-subsequences-that-satisfy-the-given-sum-condition.cpp ├── number-of-substrings-containing-all-three-characters.cpp ├── number-of-substrings-with-only-1s.cpp ├── number-of-unique-flavors-after-sharing-k-candies.cpp ├── number-of-unique-good-subsequences.cpp ├── number-of-valid-move-combinations-on-chessboard.cpp ├── number-of-valid-subarrays.cpp ├── number-of-valid-words-for-each-puzzle.cpp ├── number-of-valid-words-in-a-sentence.cpp ├── number-of-visible-people-in-a-queue.cpp ├── number-of-ways-of-cutting-a-pizza.cpp ├── number-of-ways-to-arrive-at-destination.cpp ├── number-of-ways-to-build-house-of-cards.cpp ├── number-of-ways-to-build-sturdy-brick-wall.cpp ├── number-of-ways-to-buy-pens-and-pencils.cpp ├── number-of-ways-to-divide-a-long-corridor.cpp ├── number-of-ways-to-form-a-target-string-given-a-dictionary.cpp ├── number-of-ways-to-paint-n-3-grid.cpp ├── number-of-ways-to-rearrange-sticks-with-k-sticks-visible.cpp ├── number-of-ways-to-reconstruct-a-tree.cpp ├── number-of-ways-to-reorder-array-to-get-same-bst.cpp ├── number-of-ways-to-select-buildings.cpp ├── number-of-ways-to-separate-numbers.cpp ├── number-of-ways-to-split-a-string.cpp ├── number-of-ways-to-stay-in-the-same-place-after-some-steps.cpp ├── number-of-ways-to-wear-different-hats-to-each-other.cpp ├── number-of-ways-where-square-of-number-is-equal-to-product-of-two-numbers.cpp ├── number-of-wonderful-substrings.cpp ├── numbers-at-most-n-given-digit-set.cpp ├── numbers-with-repeated-digits.cpp ├── numbers-with-same-consecutive-differences.cpp ├── occurrences-after-bigram.cpp ├── odd-even-jump.cpp ├── odd-even-linked-list.cpp ├── one-edit-distance.cpp ├── ones-and-zeroes.cpp ├── online-election.cpp ├── online-majority-element-in-subarray.cpp ├── online-stock-span.cpp ├── open-the-lock.cpp ├── operations-on-tree.cpp ├── optimal-account-balancing.cpp ├── optimal-division.cpp ├── optimize-water-distribution-in-a-village.cpp ├── orderly-queue.cpp ├── out-of-boundary-paths.cpp ├── output-contest-matches.cpp ├── pacific-atlantic-water-flow.cpp ├── paint-fence.cpp ├── paint-house-ii.cpp ├── paint-house-iii.cpp ├── paint-house.cpp ├── painting-a-grid-with-three-different-colors.cpp ├── pairs-of-songs-with-total-durations-divisible-by-60.cpp ├── palindrome-linked-list.cpp ├── palindrome-number.cpp ├── palindrome-pairs.cpp ├── palindrome-partitioning-iii.cpp ├── palindrome-partitioning-iv.cpp ├── palindrome-permutation-ii.cpp ├── palindrome-permutation.cpp ├── palindrome-removal.cpp ├── palindromePartition.cpp ├── palindromePartition2.cpp ├── palindromic-substrings.cpp ├── pancake-sorting.cpp ├── parallel-courses-ii.cpp ├── parallel-courses-iii.cpp ├── parallel-courses.cpp ├── parse-lisp-expression.cpp ├── parsing-a-boolean-expression.cpp ├── partition-array-according-to-given-pivot.cpp ├── partition-array-for-maximum-sum.cpp ├── partition-array-into-disjoint-intervals.cpp ├── partition-array-into-three-parts-with-equal-sum.cpp ├── partition-array-into-two-arrays-to-minimize-sum-difference.cpp ├── partition-equal-subset-sum.cpp ├── partition-labels.cpp ├── partition-list.cpp ├── partition-to-k-equal-sum-subsets.cpp ├── partitioning-into-minimum-number-of-deci-binary-numbers.cpp ├── pascals-triangle-ii.cpp ├── pascals-triangle.cpp ├── patching-array.cpp ├── path-crossing.cpp ├── path-in-zigzag-labelled-binary-tree.cpp ├── path-sum-iii.cpp ├── path-sum-iv.cpp ├── path-with-maximum-gold.cpp ├── path-with-maximum-minimum-value.cpp ├── path-with-maximum-probability.cpp ├── path-with-minimum-effort.cpp ├── pathSum.cpp ├── paths-in-maze-that-lead-to-same-room.cpp ├── peak-index-in-a-mountain-array.cpp ├── peeking-iterator.cpp ├── people-whose-list-of-favorite-companies-is-not-a-subset-of-another-list.cpp ├── perfect-number.cpp ├── perfect-rectangle.cpp ├── perfect-squares.cpp ├── perform-string-shifts.cpp ├── permutation-in-string.cpp ├── permutation-sequence.cpp ├── permuteUnique.cpp ├── pizza-with-3n-slices.cpp ├── plates-between-candles.cpp ├── play-with-chips.cpp ├── plus-one-linked-list.cpp ├── plus-one.cpp ├── poor-pigs.cpp ├── positions-of-large-groups.cpp ├── possible-bipartition.cpp ├── pour-water-between-buckets-to-make-water-levels-equal.cpp ├── pour-water.cpp ├── power-of-four.cpp ├── power-of-three.cpp ├── power-of-two.cpp ├── powerful-integers.cpp ├── powx-n.cpp ├── predict-the-winner.cpp ├── prefix-and-suffix-search.cpp ├── preimage-size-of-factorial-zeroes-function.cpp ├── previous-permutation-with-one-swap.cpp ├── prime-arrangements.cpp ├── prime-number-of-set-bits-in-binary-representation.cpp ├── prime-palindrome.cpp ├── print-binary-tree.cpp ├── print-foobar-alternately.cpp ├── print-immutable-linked-list-in-reverse.cpp ├── print-in-order.cpp ├── print-words-vertically.cpp ├── print-zero-even-odd.cpp ├── prison-cells-after-n-days.cpp ├── probability-of-a-two-boxes-having-the-same-number-of-distinct-balls.cpp ├── process-restricted-friend-requests.cpp ├── process-tasks-using-servers.cpp ├── product-of-array-except-self.cpp ├── product-of-the-last-k-numbers.cpp ├── product-of-two-run-length-encoded-arrays.cpp ├── profitable-schemes.cpp ├── projection-area-of-3d-shapes.cpp ├── pseudo-palindromic-paths-in-a-binary-tree.cpp ├── push-dominoes.cpp ├── put-boxes-into-the-warehouse-i.cpp ├── put-boxes-into-the-warehouse-ii.cpp ├── pyramid-transition-matrix.cpp ├── quad-tree-intersection.cpp ├── queens-that-can-attack-the-king.cpp ├── queries-on-a-permutation-with-key.cpp ├── queries-on-number-of-points-inside-a-circle.cpp ├── queue-reconstruction-by-height.cpp ├── rabbits-in-forest.cpp ├── race-car.cpp ├── random-flip-matrix.cpp ├── random-pick-index.cpp ├── random-pick-with-blacklist.cpp ├── random-pick-with-weight.cpp ├── random-point-in-non-overlapping-rectangles.cpp ├── range-addition-ii.cpp ├── range-addition.cpp ├── range-frequency-queries.cpp ├── range-module.cpp ├── range-sum-of-bst.cpp ├── range-sum-of-sorted-subarray-sums.cpp ├── range-sum-query-2d-immutable.cpp ├── range-sum-query-2d-mutable.cpp ├── range-sum-query-immutable.cpp ├── range-sum-query-mutable.cpp ├── rank-teams-by-votes.cpp ├── rank-transform-of-a-matrix.cpp ├── rank-transform-of-an-array.cpp ├── ransom-note.cpp ├── reach-a-number.cpp ├── reachable-nodes-in-subdivided-graph.cpp ├── reaching-points.cpp ├── read-n-characters-given-read4-ii-call-multiple-times.cpp ├── read-n-characters-given-read4.cpp ├── rearrange-array-elements-by-sign.cpp ├── rearrange-spaces-between-words.cpp ├── rearrange-string-k-distance-apart.cpp ├── rearrange-words-in-a-sentence.cpp ├── reconstruct-a-2-row-binary-matrix.cpp ├── reconstruct-itinerary.cpp ├── reconstruct-original-digits-from-english.cpp ├── recover-a-tree-from-preorder-traversal.cpp ├── recover-binary-search-tree.cpp ├── recover-the-original-array.cpp ├── rectangle-area-ii.cpp ├── rectangle-area.cpp ├── rectangle-overlap.cpp ├── redistribute-characters-to-make-all-strings-equal.cpp ├── reduce-array-size-to-the-half.cpp ├── reducing-dishes.cpp ├── reduction-operations-to-make-the-array-elements-equal.cpp ├── redundant-connection-ii.cpp ├── redundant-connection.cpp ├── reformat-date.cpp ├── reformat-phone-number.cpp ├── reformat-the-string.cpp ├── regions-cut-by-slashes.cpp ├── relative-ranks.cpp ├── relative-sort-array.cpp ├── remove-9.cpp ├── remove-all-adjacent-duplicates-in-string-ii.cpp ├── remove-all-adjacent-duplicates-in-string.cpp ├── remove-all-occurrences-of-a-substring.cpp ├── remove-all-ones-with-row-and-column-flips-ii.cpp ├── remove-all-ones-with-row-and-column-flips.cpp ├── remove-boxes.cpp ├── remove-colored-pieces-if-both-neighbors-are-the-same-color.cpp ├── remove-comments.cpp ├── remove-covered-intervals.cpp ├── remove-duplicate-letters.cpp ├── remove-duplicates-from-an-unsorted-linked-list.cpp ├── remove-duplicates-from-sorted-array-ii.cpp ├── remove-duplicates-from-sorted-array.cpp ├── remove-duplicates-from-sorted-list-ii.cpp ├── remove-duplicates-from-sorted-list.cpp ├── remove-element.cpp ├── remove-interval.cpp ├── remove-invalid-parentheses.cpp ├── remove-k-digits.cpp ├── remove-linked-list-elements.cpp ├── remove-max-number-of-edges-to-keep-graph-fully-traversable.cpp ├── remove-nth-node-from-end-of-list.cpp ├── remove-one-element-to-make-the-array-strictly-increasing.cpp ├── remove-outermost-parentheses.cpp ├── remove-palindromic-subsequences.cpp ├── remove-stones-to-minimize-the-total.cpp ├── remove-sub-folders-from-the-filesystem.cpp ├── remove-vowels-from-a-string.cpp ├── remove-zero-sum-consecutive-nodes-from-linked-list.cpp ├── removing-minimum-and-maximum-from-array.cpp ├── removing-minimum-number-of-magic-beans.cpp ├── reorder-list.cpp ├── reorder-log-files.cpp ├── reorder-routes-to-make-all-paths-lead-to-the-city-zero.cpp ├── reordered-power-of-2.cpp ├── reorganize-string.cpp ├── repeated-string-match.cpp ├── repeated-substring-pattern.cpp ├── replace-all-digits-with-characters.cpp ├── replace-all-s-to-avoid-consecutive-repeating-characters.cpp ├── replace-elements-with-greatest-element-on-right-side.cpp ├── replace-non-coprime-numbers-in-array.cpp ├── replace-the-substring-for-balanced-string.cpp ├── replace-words.cpp ├── reshape-the-matrix.cpp ├── restore-the-array-from-adjacent-pairs.cpp ├── restore-the-array.cpp ├── restoreIpAddresses.cpp ├── reveal-cards-in-increasing-order.cpp ├── reverse-bits.cpp ├── reverse-integer.cpp ├── reverse-linked-list-ii.cpp ├── reverse-linked-list.cpp ├── reverse-nodes-in-even-length-groups.cpp ├── reverse-nodes-in-k-group.cpp ├── reverse-only-letters.cpp ├── reverse-pairs.cpp ├── reverse-prefix-of-word.cpp ├── reverse-string-ii.cpp ├── reverse-string.cpp ├── reverse-subarray-to-maximize-array-value.cpp ├── reverse-substrings-between-each-pair-of-parentheses.cpp ├── reverse-vowels-of-a-string.cpp ├── reverse-words-in-a-string-ii.cpp ├── reverse-words-in-a-string-iii.cpp ├── reverse-words-in-a-string.cpp ├── richest-customer-wealth.cpp ├── rings-and-rods.cpp ├── rle-iterator.cpp ├── robot-bounded-in-circle.cpp ├── robot-return-to-origin.cpp ├── robot-room-cleaner.cpp ├── roman-to-integer.cpp ├── root-equals-sum-of-children.cpp ├── rotate-array.cpp ├── rotate-function.cpp ├── rotate-image.cpp ├── rotate-list.cpp ├── rotate-string.cpp ├── rotated-digits.cpp ├── rotating-the-box.cpp ├── rotting-oranges.cpp ├── running-sum-of-1d-array.cpp ├── russian-doll-envelopes.cpp ├── same-tree.cpp ├── satisfiability-of-equality-equations.cpp ├── score-after-flipping-matrix.cpp ├── score-of-parentheses.cpp ├── search-a-2d-matrix-ii.cpp ├── search-a-2d-matrix.cpp ├── search-for-a-range.cpp ├── search-in-a-binary-search-tree.cpp ├── search-in-a-sorted-array-of-unknown-size.cpp ├── search-in-rotated-sorted-array-ii.cpp ├── search-in-rotated-sorted-array.cpp ├── search-insert-position.cpp ├── search-suggestions-system.cpp ├── searchMatrix2.cpp ├── seat-reservation-manager.cpp ├── second-largest-digit-in-a-string.cpp ├── second-minimum-node-in-a-binary-tree.cpp ├── second-minimum-time-to-reach-destination.cpp ├── self-crossing.cpp ├── self-dividing-numbers.cpp ├── sell-diminishing-valued-colored-balls.cpp ├── sentence-screen-fitting.cpp ├── sentence-similarity-ii.cpp ├── sentence-similarity-iii.cpp ├── sentence-similarity.cpp ├── sequence-reconstruction.cpp ├── sequential-digits.cpp ├── sequentially-ordinal-rank-tracker.cpp ├── serialize-and-deserialize-binary-tree.cpp ├── serialize-and-deserialize-bst.cpp ├── serialize-and-deserialize-n-ary-tree.cpp ├── set-intersection-size-at-least-two.cpp ├── set-matrix-zeroes.cpp ├── set-mismatch.cpp ├── shift-2d-grid.cpp ├── shifting-letters.cpp ├── shopping-offers.cpp ├── short-encoding-of-words.cpp ├── shortest-bridge.cpp ├── shortest-common-supersequence.cpp ├── shortest-completing-word.cpp ├── shortest-distance-from-all-buildings.cpp ├── shortest-distance-to-a-character.cpp ├── shortest-distance-to-target-color.cpp ├── shortest-palindrome.cpp ├── shortest-path-in-a-grid-with-obstacles-elimination.cpp ├── shortest-path-in-a-hidden-grid.cpp ├── shortest-path-in-binary-matrix.cpp ├── shortest-path-to-get-all-keys.cpp ├── shortest-path-to-get-food.cpp ├── shortest-path-visiting-all-nodes.cpp ├── shortest-path-with-alternating-colors.cpp ├── shortest-subarray-to-be-removed-to-make-array-sorted.cpp ├── shortest-subarray-with-sum-at-least-k.cpp ├── shortest-unsorted-continuous-subarray.cpp ├── shortest-way-to-form-string.cpp ├── shortest-word-distance-ii.cpp ├── shortest-word-distance-iii.cpp ├── shortest-word-distance.cpp ├── shuffle-an-array.cpp ├── shuffle-string.cpp ├── shuffle-the-array.cpp ├── sign-of-the-product-of-an-array.cpp ├── similar-rgb-color.cpp ├── similar-string-groups.cpp ├── simple-bank-system.cpp ├── simplified-fractions.cpp ├── simplify-path.cpp ├── single-element-in-a-sorted-array.cpp ├── single-number-ii.cpp ├── single-number-iii.cpp ├── single-number.cpp ├── single-row-keyboard.cpp ├── single-threaded-cpu.cpp ├── sliding-puzzle.cpp ├── sliding-window-maximum.cpp ├── sliding-window-median.cpp ├── slowest-key.cpp ├── smallest-common-region.cpp ├── smallest-good-base.cpp ├── smallest-greater-multiple-made-of-two-digits.cpp ├── smallest-index-with-equal-value.cpp ├── smallest-integer-divisible-by-k.cpp ├── smallest-k-length-subsequence-with-occurrences-of-a-letter.cpp ├── smallest-missing-genetic-value-in-each-subtree.cpp ├── smallest-range-i.cpp ├── smallest-range-ii.cpp ├── smallest-range.cpp ├── smallest-rectangle-enclosing-black-pixels.cpp ├── smallest-rotation-with-highest-score.cpp ├── smallest-string-starting-from-leaf.cpp ├── smallest-string-with-a-given-numeric-value.cpp ├── smallest-string-with-swaps.cpp ├── smallest-subsequence-of-distinct-characters.cpp ├── smallest-subtree-with-all-the-deepest-nodes.cpp ├── smallest-sufficient-team.cpp ├── smallest-value-of-the-rearranged-number.cpp ├── snakes-and-ladders.cpp ├── snapshot-array.cpp ├── solve-the-equation.cpp ├── solveNQueens.cpp ├── solveSudoku.cpp ├── solving-questions-with-brainpower.cpp ├── sort-an-array.cpp ├── sort-array-by-increasing-frequency.cpp ├── sort-array-by-parity-ii.cpp ├── sort-array-by-parity.cpp ├── sort-characters-by-frequency.cpp ├── sort-colors.cpp ├── sort-even-and-odd-indices-independently.cpp ├── sort-features-by-popularity.cpp ├── sort-integers-by-the-number-of-1-bits.cpp ├── sort-integers-by-the-power-value.cpp ├── sort-items-by-groups-respecting-dependencies.cpp ├── sort-linked-list-already-sorted-using-absolute-values.cpp ├── sort-list.cpp ├── sort-the-jumbled-numbers.cpp ├── sort-the-matrix-diagonally.cpp ├── sort-transformed-array.cpp ├── sortColors.cpp ├── sorting-the-sentence.cpp ├── soup-servings.cpp ├── sparse-matrix-multiplication.cpp ├── special-array-with-x-elements-greater-than-or-equal-x.cpp ├── special-binary-string.cpp ├── special-positions-in-a-binary-matrix.cpp ├── spiral-matrix-ii.cpp ├── spiral-matrix-iii.cpp ├── spiral-matrix.cpp ├── split-a-string-in-balanced-strings.cpp ├── split-a-string-into-the-max-number-of-unique-substrings.cpp ├── split-array-into-consecutive-subsequences.cpp ├── split-array-into-fibonacci-sequence.cpp ├── split-array-largest-sum.cpp ├── split-array-with-equal-sum.cpp ├── split-array-with-same-average.cpp ├── split-bst.cpp ├── split-concatenated-strings.cpp ├── split-linked-list-in-parts.cpp ├── split-two-strings-to-make-palindrome.cpp ├── splitting-a-string-into-descending-consecutive-values.cpp ├── sqrtx.cpp ├── squares-of-a-sorted-array.cpp ├── squirrel-simulation.cpp ├── stamping-the-grid.cpp ├── stamping-the-sequence.cpp ├── statistics-from-a-large-sample.cpp ├── step-by-step-directions-from-a-binary-tree-node-to-another.cpp ├── stepping-numbers.cpp ├── stickers-to-spell-word.cpp ├── stock-price-fluctuation.cpp ├── stone-game-ii.cpp ├── stone-game-iii.cpp ├── stone-game-iv.cpp ├── stone-game-ix.cpp ├── stone-game-v.cpp ├── stone-game-vi.cpp ├── stone-game-vii.cpp ├── stone-game-viii.cpp ├── stone-game.cpp ├── strange-printer-ii.cpp ├── strange-printer.cpp ├── stream-of-characters.cpp ├── stream-of-characters2.cpp ├── string-compression-ii.cpp ├── string-compression.cpp ├── string-matching-in-an-array.cpp ├── string-to-integer-atoi.cpp ├── string-transforms-into-another-string.cpp ├── string-without-aaa-or-bbb.cpp ├── strings-differ-by-one-character.cpp ├── strobogrammatic-number-ii.cpp ├── strobogrammatic-number-iii.cpp ├── strobogrammatic-number.cpp ├── strong-password-checker.cpp ├── student-attendance-record-i.cpp ├── student-attendance-record-ii.cpp ├── subarray-product-less-than-k.cpp ├── subarray-sum-equals-k.cpp ├── subarray-sums-divisible-by-k.cpp ├── subarrays-with-k-different-integers.cpp ├── subdomain-visit-count.cpp ├── subrectangle-queries.cpp ├── subsequence-of-size-k-with-the-largest-even-sum.cpp ├── subsets-ii.cpp ├── subsets.cpp ├── substring-with-concatenation-of-all-words.cpp ├── substrings-of-size-three-with-distinct-characters.cpp ├── substrings-that-begin-and-end-with-the-same-letter.cpp ├── subtract-the-product-and-sum-of-digits-of-an-integer.cpp ├── subtree-of-another-tree.cpp ├── subtree-removal-game-with-fibonacci-tree.cpp ├── sum-game.cpp ├── sum-of-absolute-differences-in-a-sorted-array.cpp ├── sum-of-all-odd-length-subarrays.cpp ├── sum-of-all-subset-xor-totals.cpp ├── sum-of-beauty-in-the-array.cpp ├── sum-of-beauty-of-all-substrings.cpp ├── sum-of-digits-in-base-k.cpp ├── sum-of-digits-in-the-minimum-number.cpp ├── sum-of-digits-of-string-after-convert.cpp ├── sum-of-distances-in-tree.cpp ├── sum-of-even-numbers-after-queries.cpp ├── sum-of-floored-pairs.cpp ├── sum-of-k-mirror-numbers.cpp ├── sum-of-left-leaves.cpp ├── sum-of-mutated-array-closest-to-target.cpp ├── sum-of-nodes-with-even-valued-grandparent.cpp ├── sum-of-root-to-leaf-binary-numbers.cpp ├── sum-of-scores-of-built-strings.cpp ├── sum-of-special-evenly-spaced-elements-in-array.cpp ├── sum-of-square-numbers.cpp ├── sum-of-subarray-minimums.cpp ├── sum-of-subarray-ranges.cpp ├── sum-of-subsequence-widths.cpp ├── sum-of-two-integers.cpp ├── sum-of-unique-elements.cpp ├── sumNumbers.cpp ├── summary-ranges.cpp ├── super-egg-drop.cpp ├── super-palindromes.cpp ├── super-pow.cpp ├── super-ugly-number.cpp ├── super-washing-machines.cpp ├── surface-area-of-3d-shapes.cpp ├── surrounded-regions.cpp ├── surroundedRegions.cpp ├── swap-adjacent-in-lr-string.cpp ├── swap-for-longest-repeated-character-substring.cpp ├── swap-nodes-in-pairs.cpp ├── swapping-nodes-in-a-linked-list.cpp ├── swim-in-rising-water.cpp ├── symmetric-tree.cpp ├── synonymous-sentences.cpp ├── tag-validator.cpp ├── tallest-billboard.cpp ├── target-sum.cpp ├── task-scheduler.cpp ├── teemo-attacking.cpp ├── ternary-expression-parser.cpp ├── text-justification.cpp ├── the-dining-philosophers.cpp ├── the-earliest-and-latest-rounds-where-players-compete.cpp ├── the-earliest-moment-when-everyone-become-friends.cpp ├── the-k-strongest-values-in-an-array.cpp ├── the-k-th-lexicographical-string-of-all-happy-strings-of-length-n.cpp ├── the-k-weakest-rows-in-a-matrix.cpp ├── the-kth-factor-of-n.cpp ├── the-maze-ii.cpp ├── the-maze-iii.cpp ├── the-maze.cpp ├── the-most-similar-path-in-a-graph.cpp ├── the-number-of-full-rounds-you-have-played.cpp ├── the-number-of-good-subsets.cpp ├── the-number-of-the-smallest-unoccupied-chair.cpp ├── the-number-of-weak-characters-in-the-game.cpp ├── the-score-of-students-solving-math-expression.cpp ├── the-skyline-problem.cpp ├── the-time-when-the-network-becomes-idle.cpp ├── third-maximum-number.cpp ├── thousand-separator.cpp ├── three-consecutive-odds.cpp ├── three-divisors.cpp ├── three-equal-parts.cpp ├── threeSum2.cpp ├── throne-inheritance.cpp ├── tiling-a-rectangle-with-the-fewest-squares.cpp ├── time-based-key-value-store.cpp ├── time-needed-to-buy-tickets.cpp ├── time-needed-to-inform-all-employees.cpp ├── to-lower-case.cpp ├── toeplitz-matrix.cpp ├── top-k-frequent-elements.cpp ├── top-k-frequent-words.cpp ├── toss-strange-coins.cpp ├── total-hamming-distance.cpp ├── totalNQueens.cpp ├── traffic-light-controlled-intersection.cpp ├── transform-to-chessboard.cpp ├── transpose-matrix.cpp ├── trapping-rain-water-ii.cpp ├── trapping-rain-water.cpp ├── tree-diameter.cpp ├── tree-of-coprimes.cpp ├── trim-a-binary-search-tree.cpp ├── triples-with-bitwise-and-equal-to-zero.cpp ├── truncate-sentence.cpp ├── tuple-with-same-product.cpp ├── tweet-counts-per-frequency.cpp ├── two-best-non-overlapping-events.cpp ├── two-city-scheduling.cpp ├── two-furthest-houses-with-different-colors.cpp ├── two-out-of-three.cpp ├── two-sum-bsts.cpp ├── two-sum-ii-input-array-is-sorted.cpp ├── two-sum-iii-data-structure-design.cpp ├── two-sum-iv-input-is-a-bst.cpp ├── two-sum-less-than-k.cpp ├── two-sum.cpp ├── ugly-number-ii.cpp ├── ugly-number-iii.cpp ├── ugly-number.cpp ├── uncommon-words-from-two-sentences.cpp ├── uncrossed-lines.cpp ├── unique-binary-search-trees-ii.cpp ├── unique-email-addresses.cpp ├── unique-length-3-palindromic-subsequences.cpp ├── unique-letter-string.cpp ├── unique-morse-code-words.cpp ├── unique-number-of-occurrences.cpp ├── unique-paths-iii.cpp ├── unique-substrings-in-wraparound-string.cpp ├── unique-substrings-with-equal-digit-frequency.cpp ├── unique-word-abbreviation.cpp ├── uniquePathWithObstacles.cpp ├── uniquePaths.cpp ├── uniquePaths2.cpp ├── univalued-binary-tree.cpp ├── utf-8-validation.cpp ├── valid-anagram.cpp ├── valid-arrangement-of-pairs.cpp ├── valid-boomerang.cpp ├── valid-mountain-array.cpp ├── valid-number.cpp ├── valid-palindrome-ii.cpp ├── valid-palindrome-iii.cpp ├── valid-palindrome.cpp ├── valid-parentheses.cpp ├── valid-parenthesis-string.cpp ├── valid-perfect-square.cpp ├── valid-permutations-for-di-sequence.cpp ├── valid-square.cpp ├── valid-sudoku.cpp ├── valid-tic-tac-toe-state.cpp ├── valid-triangle-number.cpp ├── valid-word-abbreviation.cpp ├── valid-word-square.cpp ├── validate-binary-search-tree.cpp ├── validate-binary-tree-nodes.cpp ├── validate-ip-address.cpp ├── validate-stack-sequences.cpp ├── verbal-arithmetic-puzzle.cpp ├── verify-preorder-sequence-in-binary-search-tree.cpp ├── verify-preorder-serialization-of-a-binary-tree.cpp ├── verifying-an-alien-dictionary.cpp ├── vertical-order-traversal-of-a-binary-tree.cpp ├── video-stitching.cpp ├── vowel-spellchecker.cpp ├── vowels-of-all-substrings.cpp ├── walking-robot-simulation-ii.cpp ├── walking-robot-simulation.cpp ├── walls-and-gates.cpp ├── water-and-jug-problem.cpp ├── water-bottles.cpp ├── watering-plants-ii.cpp ├── watering-plants.cpp ├── ways-to-make-a-fair-array.cpp ├── ways-to-split-array-into-three-subarrays.cpp ├── web-crawler-multithreaded.cpp ├── web-crawler.cpp ├── where-will-the-ball-fall.cpp ├── widest-pair-of-indices-with-equal-range-sum.cpp ├── widest-vertical-area-between-two-points-containing-no-points.cpp ├── wiggle-sort-ii.cpp ├── wiggle-sort.cpp ├── wiggle-subsequence.cpp ├── word-abbreviation.cpp ├── word-break-ii.cpp ├── word-break.cpp ├── word-ladder-ii.cpp ├── word-ladder.cpp ├── word-pattern-ii.cpp ├── word-pattern.cpp ├── word-search-ii.cpp ├── word-search.cpp ├── word-squares.cpp ├── word-subsets.cpp ├── wordBreakII.cpp ├── x-of-a-kind-in-a-deck-of-cards.cpp ├── xor-operation-in-an-array.cpp ├── xor-queries-of-a-subarray.cpp ├── zigzag-conversion.cpp ├── zigzag-iterator.cpp ├── zigzagLevelOrder.cpp └── zuma-game.cpp ├── Golang ├── add-two-numbers.go ├── longest-substring-without-repeating-characters.go ├── minimum-cost-for-tickets.go ├── two-sum.go └── two-sum_test.go ├── Leetcode ├── Clean Code Handbook.pdf ├── Comprehensive Coding Guide.pdf ├── LeetCode SQL Questions with Solutions.pdf ├── Leetcode Dynamic Programming.pdf ├── Leetcode Google Questions.pdf ├── Leetcode Interview Questions.pdf ├── Leetcode Miscellaneous.pdf ├── Leetcode Pro Sheet.pdf └── README.md ├── MySQL ├── accepted-candidates-from-the-interviews.sql ├── account-balance.sql ├── active-businesses.sql ├── active-users.sql ├── activity-participants.sql ├── actors-and-directors-who-cooperated-at-least-three-times.sql ├── ad-free-sessions.sql ├── ads-performance.sql ├── all-people-report-to-the-given-manager.sql ├── all-the-pairs-with-the-maximum-number-of-common-followers.sql ├── all-valid-triplets-that-can-represent-a-country.sql ├── apples-oranges.sql ├── article-views-i.sql ├── article-views-ii.sql ├── average-salary-departments-vs-company.sql ├── average-selling-price.sql ├── average-time-of-process-per-machine.sql ├── bank-account-summary-ii.sql ├── bank-account-summary.sql ├── big-countries.sql ├── biggest-single-number.sql ├── biggest-window-between-visits.sql ├── build-the-equation.sql ├── calculate-salaries.sql ├── calculate-special-bonus.sql ├── capital-gainloss.sql ├── classes-more-than-5-students.sql ├── combine-two-tables.sql ├── confirmation-rate.sql ├── consecutive-available-seats.sql ├── consecutive-numbers.sql ├── convert-date-format.sql ├── count-apples-and-oranges.sql ├── count-salary-categories.sql ├── count-student-number-in-department.sql ├── count-student-number-in-departments.sql ├── count-the-number-of-experiments.sql ├── countries-you-can-safely-invest-in.sql ├── create-a-session-bar-chart.sql ├── customer-order-frequency.sql ├── customer-placing-the-largest-number-of-orders.sql ├── customer-who-visited-but-did-not-make-any-transactions.sql ├── customers-who-bought-all-products.sql ├── customers-who-bought-products-a-and-b-but-not-c.sql ├── customers-who-never-order.sql ├── daily-leads-and-partners.sql ├── delete-duplicate-emails.sql ├── department-highest-salary.sql ├── department-top-three-salaries.sql ├── drop-type-1-orders-for-customers-with-type-0-orders.sql ├── duplicate-emails.sql ├── dynamic-pivoting-of-a-table.sql ├── dynamic-unpivoting-of-a-table.sql ├── employee-bonus.sql ├── employees-earning-more-than-their-managers.sql ├── employees-whose-manager-left-the-company.sql ├── employees-with-missing-information.sql ├── evaluate-boolean-expression.sql ├── exchange-seats.sql ├── find-cumulative-salary-of-an-employee.sql ├── find-customer-referee.sql ├── find-customers-with-positive-revenue-this-year.sql ├── find-cutoff-score-for-each-school.sql ├── find-followers-count.sql ├── find-interview-candidates.sql ├── find-median-given-frequency-of-numbers.sql ├── find-the-missing-ids.sql ├── find-the-quiet-students-in-all-exams.sql ├── find-the-start-and-end-number-of-continuous-ranges.sql ├── find-the-subtasks-that-did-not-execute.sql ├── find-the-team-size.sql ├── find-total-time-spent-by-each-employee.sql ├── find-users-with-valid-e-mails.sql ├── finding-the-topic-of-each-post.sql ├── first-and-last-call-on-the-same-day.sql ├── fix-names-in-a-table.sql ├── fix-product-name-format.sql ├── friend-requests-i-overall-acceptance-rate.sql ├── friend-requests-ii-who-has-the-most-friends.sql ├── friendly-movies-streamed-last-month.sql ├── game-play-analysis-i.sql ├── game-play-analysis-ii.sql ├── game-play-analysis-iii.sql ├── game-play-analysis-iv.sql ├── game-play-analysis-v.sql ├── get-highest-answer-rate-question.sql ├── get-the-second-most-recent-activity.sql ├── grand-slam-titles.sql ├── group-employees-of-the-same-salary.sql ├── group-sold-products-by-the-date.sql ├── highest-grade-for-each-student.sql ├── hopper-company-queries-i.sql ├── hopper-company-queries-ii.sql ├── hopper-company-queries-iii.sql ├── human-traffic-of-stadium.sql ├── immediate-food-delivery-i.sql ├── immediate-food-delivery-ii.sql ├── invalid-tweets.sql ├── investments-in-2016.sql ├── last-person-to-fit-in-the-elevator.sql ├── league-statistics.sql ├── leetcodify-friends-recommendations.sql ├── leetcodify-similar-friends.sql ├── leetflex-banned-accounts.sql ├── list-the-products-ordered-in-a-period.sql ├── longest-winning-streak.sql ├── low-quality-problems.sql ├── managers-with-at-least-5-direct-reports.sql ├── market-analysis-i.sql ├── market-analysis-ii.sql ├── maximum-transaction-each-day.sql ├── median-employee-salary.sql ├── monthly-transactions-i.sql ├── monthly-transactions-ii.sql ├── movie-rating.sql ├── new-users-daily-count.sql ├── not-boring-movies.sql ├── npv-queries.sql ├── nth-highest-salary.sql ├── number-of-accounts-that-did-not-stream.sql ├── number-of-calls-between-two-persons.sql ├── number-of-comments-per-post.sql ├── number-of-times-a-driver-was-a-passenger.sql ├── number-of-transactions-per-visit.sql ├── number-of-trusted-contacts-of-a-customer.sql ├── order-two-columns-independently.sql ├── orders-with-maximum-quantity-above-average.sql ├── page-recommendations-ii.sql ├── page-recommendations.sql ├── patients-with-a-condition.sql ├── percentage-of-users-attended-a-contest.sql ├── primary-department-for-each-employee.sql ├── product-price-at-a-given-date.sql ├── product-sales-analysis-i.sql ├── product-sales-analysis-ii.sql ├── product-sales-analysis-iii.sql ├── products-price-for-each-store.sql ├── products-worth-over-invoices.sql ├── project-employees-i.sql ├── project-employees-ii.sql ├── project-employees-iii.sql ├── queries-quality-and-percentage.sql ├── rank-scores.sql ├── rearrange-products-table.sql ├── rectangles-area.sql ├── recyclable-and-low-fat-products.sql ├── reformat-department-table.sql ├── replace-employee-id-with-the-unique-identifier.sql ├── report-contiguous-dates.sql ├── reported-posts-ii.sql ├── reported-posts.sql ├── restaurant-growth.sql ├── rising-temperature.sql ├── running-total-for-different-genders.sql ├── sales-analysis-i.sql ├── sales-analysis-ii.sql ├── sales-analysis-iii.sql ├── sales-by-day-of-the-week.sql ├── sales-person.sql ├── second-degree-follower.sql ├── second-highest-salary.sql ├── sellers-with-no-sales.sql ├── shortest-distance-in-a-line.sql ├── shortest-distance-in-a-plane.sql ├── strong-friendship.sql ├── students-and-examinations.sql ├── students-report-by-geography.sql ├── students-with-invalid-departments.sql ├── suspicious-bank-accounts.sql ├── swap-salary.sql ├── team-scores-in-football-tournament.sql ├── the-airport-with-the-most-traffic.sql ├── the-category-of-each-member-in-the-store.sql ├── the-change-in-global-rankings.sql ├── the-latest-login-in-2020.sql ├── the-most-frequently-ordered-products-for-each-customer.sql ├── the-most-recent-orders-for-each-product.sql ├── the-most-recent-three-orders.sql ├── the-number-of-employees-which-report-to-each-employee.sql ├── the-number-of-passengers-in-each-bus-i.sql ├── the-number-of-passengers-in-each-bus-ii.sql ├── the-number-of-rich-customers.sql ├── the-number-of-seniors-and-juniors-to-join-the-company-ii.sql ├── the-number-of-seniors-and-juniors-to-join-the-company.sql ├── the-number-of-users-that-are-eligible-for-discount.sql ├── the-users-that-are-eligible-for-discount.sql ├── the-winner-university.sql ├── top-travellers.sql ├── total-sales-amount-by-year.sql ├── tournament-winners.sql ├── tree-node.sql ├── triangle-judgement.sql ├── trips-and-users.sql ├── unique-orders-and-customers-per-month.sql ├── unpopular-books.sql ├── user-activity-for-the-past-30-days-i.sql ├── user-activity-for-the-past-30-days-ii.sql ├── user-purchase-platform.sql ├── users-that-actively-request-confirmation-messages.sql ├── users-with-two-purchases-within-seven-days.sql ├── warehouse-manager.sql ├── weather-type-in-each-country.sql └── winning-candidate.sql ├── Python ├── 01-matrix.py ├── 1-bit-and-2-bit-characters.py ├── 132-pattern.py ├── 2-keys-keyboard.py ├── 24-game.py ├── 3sum-closest.py ├── 3sum-smaller.py ├── 3sum-with-multiplicity.py ├── 3sum.py ├── 4-keys-keyboard.py ├── 4sum-ii.py ├── 4sum.py ├── a-number-after-a-double-reversal.py ├── abbreviating-the-product-of-a-range.py ├── accounts-merge.py ├── add-and-search-word-data-structure-design.py ├── add-binary.py ├── add-bold-tag-in-string.py ├── add-digits.py ├── add-minimum-number-of-rungs.py ├── add-one-row-to-tree.py ├── add-strings.py ├── add-to-array-form-of-integer.py ├── add-two-integers.py ├── add-two-numbers-ii.py ├── add-two-numbers.py ├── add-two-polynomials-represented-as-linked-lists.py ├── adding-spaces-to-a-string.py ├── adding-two-negabinary-numbers.py ├── additive-number.py ├── advantage-shuffle.py ├── airplane-seat-assignment-probability.py ├── alert-using-same-key-card-three-or-more-times-in-a-one-hour-period.py ├── alien-dictionary.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-lead-to-destination.py ├── all-paths-from-source-to-target.py ├── all-possible-full-binary-trees.py ├── allocate-mailboxes.py ├── alphabet-board-path.py ├── ambiguous-coordinates.py ├── amount-of-new-area-painted-each-day.py ├── analyze-user-website-visit-pattern.py ├── android-unlock-patterns.py ├── angle-between-hands-of-a-clock.py ├── append-k-integers-with-minimal-sum.py ├── apply-discount-every-n-orders.py ├── arithmetic-slices-ii-subsequence.py ├── arithmetic-slices.py ├── arithmetic-subarrays.py ├── armstrong-number.py ├── arranging-coins.py ├── array-nesting.py ├── array-of-doubled-pairs.py ├── array-partition-i.py ├── array-transformation.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-height-of-buildings-in-each-segment.py ├── average-of-levels-in-binary-tree.py ├── average-salary-excluding-the-minimum-and-maximum-salary.py ├── average-waiting-time.py ├── avoid-flood-in-the-city.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-iii.py ├── basic-calculator-iv.py ├── basic-calculator.py ├── battleships-in-a-board.py ├── beautiful-arrangement-ii.py ├── beautiful-arrangement.py ├── beautiful-array.py ├── before-and-after-puzzle.py ├── best-meeting-point.py ├── best-position-for-a-service-centre.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-ii.py ├── binary-search-tree-iterator.py ├── binary-search-tree-to-greater-sum-tree.py ├── binary-search.py ├── binary-searchable-numbers-in-an-unsorted-array.py ├── binary-string-with-substrings-representing-1-to-n.py ├── binary-subarrays-with-sum.py ├── binary-tree-cameras.py ├── binary-tree-coloring-game.py ├── binary-tree-inorder-traversal.py ├── binary-tree-level-order-traversal-ii.py ├── binary-tree-level-order-traversal.py ├── binary-tree-longest-consecutive-sequence-ii.py ├── binary-tree-longest-consecutive-sequence.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-upside-down.py ├── binary-tree-vertical-order-traversal.py ├── binary-tree-zigzag-level-order-traversal.py ├── binary-trees-with-factors.py ├── binary-watch.py ├── bitwise-and-of-numbers-range.py ├── bitwise-ors-of-subarrays.py ├── boats-to-save-people.py ├── bold-words-in-string.py ├── bomb-enemy.py ├── boundary-of-binary-tree.py ├── brace-expansion-ii.py ├── brace-expansion.py ├── break-a-palindrome.py ├── brick-wall.py ├── bricks-falling-when-hit.py ├── brightest-position-on-street.py ├── broken-calculator.py ├── buddy-strings.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 ├── build-binary-expression-tree-from-infix-expression.py ├── building-boxes.py ├── building-h2o.py ├── buildings-with-an-ocean-view.py ├── bulb-switcher-ii.py ├── bulb-switcher-iii.py ├── bulb-switcher-iv.py ├── bulb-switcher.py ├── bulls-and-cows.py ├── burst-balloons.py ├── bus-routes.py ├── calculate-digit-sum-of-a-string.py ├── calculate-money-in-leetcode-bank.py ├── camelcase-matching.py ├── campus-bikes-ii.py ├── campus-bikes.py ├── can-convert-string-in-k-moves.py ├── can-i-win.py ├── can-make-arithmetic-progression-from-sequence.py ├── can-make-palindrome-from-substring.py ├── can-place-flowers.py ├── can-you-eat-your-favorite-candy-on-your-favorite-day.py ├── candy-crush.py ├── candy.py ├── capacity-to-ship-packages-within-d-days.py ├── capitalize-the-title.py ├── car-fleet-ii.py ├── car-fleet.py ├── car-pooling.py ├── card-flipping-game.py ├── cat-and-mouse-ii.py ├── cat-and-mouse.py ├── cells-in-a-range-on-an-excel-sheet.py ├── cells-with-odd-values-in-a-matrix.py ├── chalkboard-xor-game.py ├── champagne-tower.py ├── change-minimum-characters-to-satisfy-one-of-three-conditions.py ├── change-the-root-of-a-binary-tree.py ├── cheapest-flights-within-k-stops.py ├── check-array-formation-through-concatenation.py ├── check-completeness-of-a-binary-tree.py ├── check-if-a-number-is-majority-element-in-a-sorted-array.py ├── check-if-a-parentheses-string-can-be-valid.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-a-valid-sequence-from-root-to-leaves-path-in-a-binary-tree.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-all-the-integers-in-a-range-are-covered.py ├── check-if-an-array-is-consecutive.py ├── check-if-an-original-string-exists-given-two-encoded-strings.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-every-row-and-column-contains-all-numbers.py ├── check-if-it-is-a-good-array.py ├── check-if-it-is-a-straight-line.py ├── check-if-move-is-legal.py ├── check-if-n-and-its-double-exist.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-string-is-a-prefix-of-array.py ├── check-if-string-is-decomposable-into-value-equal-substrings.py ├── check-if-string-is-transformable-with-substring-sort-operations.py ├── check-if-the-sentence-is-pangram.py ├── check-if-there-is-a-valid-path-in-a-grid.py ├── check-if-two-expression-trees-are-equivalent.py ├── check-if-two-string-arrays-are-equivalent.py ├── check-if-word-can-be-placed-in-crossword.py ├── check-if-word-equals-summation-of-two-words.py ├── check-if-word-is-valid-after-substitutions.py ├── check-whether-two-strings-are-almost-equivalent.py ├── checking-existence-of-edge-length-limited-paths-ii.py ├── checking-existence-of-edge-length-limited-paths.py ├── cherry-pickup-ii.py ├── cherry-pickup.py ├── choose-numbers-from-two-arrays-in-range.py ├── cinema-seat-allocation.py ├── circle-and-rectangle-overlapping.py ├── circular-array-loop.py ├── circular-permutation-in-binary-representation.py ├── climbing-stairs.py ├── clone-binary-tree-with-random-pointer.py ├── clone-graph.py ├── clone-n-ary-tree.py ├── closest-binary-search-tree-value-ii.py ├── closest-binary-search-tree-value.py ├── closest-dessert-cost.py ├── closest-divisors.py ├── closest-leaf-in-a-binary-tree.py ├── closest-room.py ├── closest-subsequence-sum.py ├── clumsy-factorial.py ├── coin-change-2.py ├── coin-change.py ├── coin-path.py ├── coloring-a-border.py ├── combination-sum-ii.py ├── combination-sum-iii.py ├── combination-sum-iv.py ├── combination-sum.py ├── combinations.py ├── compare-strings-by-frequency-of-the-smallest-character.py ├── compare-version-numbers.py ├── complement-of-base-10-integer.py ├── complete-binary-tree-inserter.py ├── complex-number-multiplication.py ├── concatenated-words.py ├── concatenation-of-array.py ├── concatenation-of-consecutive-binary-numbers.py ├── confusing-number-ii.py ├── confusing-number.py ├── connecting-cities-with-minimum-cost.py ├── consecutive-characters.py ├── consecutive-numbers-sum.py ├── constrained-subset-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-binary-tree-from-string.py ├── construct-k-palindrome-strings.py ├── construct-quad-tree.py ├── construct-string-from-binary-tree.py ├── construct-string-with-repeat-limit.py ├── construct-target-array-with-multiple-sums.py ├── construct-the-lexicographically-largest-valid-sequence.py ├── construct-the-rectangle.py ├── contain-virus.py ├── container-with-most-water.py ├── contains-duplicate-ii.py ├── contains-duplicate-iii.py ├── contains-duplicate.py ├── contiguous-array.py ├── continuous-subarray-sum.py ├── convert-1d-array-into-2d-array.py ├── convert-a-number-to-hexadecimal.py ├── convert-binary-number-in-a-linked-list-to-integer.py ├── convert-binary-search-tree-to-sorted-doubly-linked-list.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-to-base-2.py ├── convex-polygon.py ├── coordinate-with-maximum-network-quality.py ├── copy-list-with-random-pointer.py ├── corporate-flight-bookings.py ├── correct-a-binary-tree.py ├── count-all-possible-routes.py ├── count-all-valid-pickup-and-delivery-options.py ├── count-and-say.py ├── count-array-pairs-divisible-by-k.py ├── count-artifacts-that-can-be-extracted.py ├── count-binary-substrings.py ├── count-collisions-on-a-road.py ├── count-common-words-with-one-occurrence.py ├── count-complete-tree-nodes.py ├── count-different-palindromic-subsequences.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-integers-with-even-digit-sum.py ├── count-items-matching-a-rule.py ├── count-largest-group.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-sum-of-descendants.py ├── count-nodes-with-the-highest-score.py ├── count-number-of-homogenous-substrings.py ├── count-number-of-maximum-bitwise-or-subsets.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-numbers-with-unique-digits.py ├── count-odd-numbers-in-an-interval-range.py ├── count-of-matches-in-tournament.py ├── count-of-range-sum.py ├── count-of-smaller-numbers-after-self.py ├── count-operations-to-obtain-zero.py ├── count-pairs-in-two-arrays.py ├── count-pairs-of-equal-substrings-with-minimum-difference.py ├── count-pairs-of-nodes.py ├── count-pairs-with-xor-in-a-range.py ├── count-positions-on-street-with-required-brightness.py ├── count-primes.py ├── count-servers-that-communicate.py ├── count-sorted-vowel-strings.py ├── count-special-quadruplets.py ├── count-square-submatrices-with-all-ones.py ├── count-square-sum-triples.py ├── count-sub-islands.py ├── count-subarrays-with-more-ones-than-zeros.py ├── count-submatrices-with-all-ones.py ├── count-substrings-that-differ-by-one-character.py ├── count-substrings-with-only-one-distinct-letter.py ├── count-subtrees-with-max-distance-between-cities.py ├── count-the-hidden-sequences.py ├── count-the-number-of-consistent-strings.py ├── count-the-repetitions.py ├── count-triplets-that-can-form-two-arrays-of-equal-xor.py ├── count-unhappy-friends.py ├── count-unique-characters-of-all-substrings-of-a-given-string.py ├── count-univalue-subtrees.py ├── count-vowel-substrings-of-a-string.py ├── count-vowels-permutation.py ├── count-ways-to-build-rooms-in-an-ant-colony.py ├── count-ways-to-distribute-candies.py ├── count-ways-to-make-array-with-product.py ├── count-words-obtained-after-adding-a-letter.py ├── counting-bits.py ├── counting-elements.py ├── counting-words-with-a-given-prefix.py ├── couples-holding-hands.py ├── course-schedule-ii.py ├── course-schedule-iii.py ├── course-schedule-iv.py ├── course-schedule.py ├── cousins-in-binary-tree.py ├── cracking-the-safe.py ├── crawler-log-folder.py ├── create-binary-tree-from-descriptions.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 ├── cutting-ribbons.py ├── cyclically-rotating-a-grid.py ├── daily-temperatures.py ├── data-stream-as-disjoint-intervals.py ├── day-of-the-week.py ├── day-of-the-year.py ├── decode-string.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 ├── decrease-elements-to-make-array-zigzag.py ├── decrypt-string-from-alphabet-to-integer-mapping.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-ii.py ├── delete-columns-to-make-sorted-iii.py ├── delete-columns-to-make-sorted.py ├── delete-duplicate-folders-in-system.py ├── delete-leaves-with-a-given-value.py ├── delete-n-nodes-after-m-nodes-of-a-linked-list.py ├── delete-node-in-a-bst.py ├── delete-node-in-a-linked-list.py ├── delete-nodes-and-return-forest.py ├── delete-operation-for-two-strings.py ├── delete-the-middle-node-of-a-linked-list.py ├── delete-tree-nodes.py ├── delivering-boxes-from-storage-to-ports.py ├── depth-of-bst-given-insertion-order.py ├── describe-the-painting.py ├── design-a-file-sharing-system.py ├── design-a-leaderboard.py ├── design-a-stack-with-increment-operation.py ├── design-an-atm-machine.py ├── design-an-expression-tree-with-evaluate-function.py ├── design-an-ordered-stream.py ├── design-authentication-manager.py ├── design-bitset.py ├── design-bounded-blocking-queue.py ├── design-browser-history.py ├── design-circular-deque.py ├── design-circular-queue.py ├── design-compressed-string-iterator.py ├── design-excel-sum-formula.py ├── design-file-system.py ├── design-front-middle-back-queue.py ├── design-hashmap.py ├── design-hashset.py ├── design-hit-counter.py ├── design-in-memory-file-system.py ├── design-linked-list.py ├── design-log-storage-system.py ├── design-most-recently-used-queue.py ├── design-movie-rental-system.py ├── design-parking-system.py ├── design-phone-directory.py ├── design-search-autocomplete-system.py ├── design-skiplist.py ├── design-snake-game.py ├── design-tic-tac-toe.py ├── design-twitter.py ├── design-underground-system.py ├── destination-city.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-color-of-a-chessboard-square.py ├── determine-if-string-halves-are-alike.py ├── determine-if-two-strings-are-close.py ├── determine-whether-matrix-can-be-obtained-by-rotation.py ├── detonate-the-maximum-bombs.py ├── di-string-match.py ├── diagonal-traverse-ii.py ├── diagonal-traverse.py ├── diameter-of-binary-tree.py ├── diameter-of-n-ary-tree.py ├── dice-roll-simulation.py ├── diet-plan-performance.py ├── different-ways-to-add-parentheses.py ├── digit-count-in-range.py ├── dinner-plate-stacks.py ├── display-table-of-food-orders-in-a-restaurant.py ├── distance-between-bus-stops.py ├── distance-to-a-cycle-in-undirected-graph.py ├── distant-barcodes.py ├── distinct-echo-substrings.py ├── distinct-numbers-in-each-subarray.py ├── distinct-subsequences-ii.py ├── distinct-subsequences.py ├── distribute-candies-to-people.py ├── distribute-candies.py ├── distribute-coins-in-binary-tree.py ├── distribute-repeating-integers.py ├── divide-a-string-into-groups-of-size-k.py ├── divide-array-in-sets-of-k-consecutive-numbers.py ├── divide-array-into-equal-pairs.py ├── divide-array-into-increasing-sequences.py ├── divide-chocolate.py ├── divide-two-integers.py ├── divisor-game.py ├── domino-and-tromino-tiling.py ├── dot-product-of-two-sparse-vectors.py ├── dota2-senate.py ├── dungeon-game.py ├── duplicate-zeros.py ├── earliest-possible-day-of-full-bloom.py ├── edit-distance.py ├── egg-drop-with-2-eggs-and-n-floors.py ├── element-appearing-more-than-25-in-sorted-array.py ├── elements-in-array-after-removing-and-replacing-elements.py ├── eliminate-maximum-number-of-monsters.py ├── elimination-game.py ├── employee-free-time.py ├── employee-importance.py ├── encode-and-decode-strings.py ├── encode-and-decode-tinyurl.py ├── encode-n-ary-tree-to-binary-tree.py ├── encode-number.py ├── encode-string-with-shortest-length.py ├── encrypt-and-decrypt-strings.py ├── equal-rational-numbers.py ├── equal-sum-arrays-with-minimum-number-of-operations.py ├── equal-tree-partition.py ├── erect-the-fence-ii.py ├── erect-the-fence.py ├── escape-a-large-maze.py ├── escape-the-ghosts.py ├── evaluate-division.py ├── evaluate-reverse-polish-notation.py ├── evaluate-the-bracket-pairs-of-a-string.py ├── even-odd-tree.py ├── exam-room.py ├── excel-sheet-column-number.py ├── excel-sheet-column-title.py ├── exclusive-time-of-functions.py ├── execution-of-all-suffix-instructions-staying-in-a-grid.py ├── expression-add-operators.py ├── expressive-words.py ├── factor-combinations.py ├── factorial-trailing-zeroes.py ├── fair-candy-swap.py ├── falling-squares.py ├── fancy-sequence.py ├── faulty-sensor.py ├── fibonacci-number.py ├── filling-bookcase-shelves.py ├── filter-restaurants-by-vegan-friendly-price-and-distance.py ├── final-prices-with-a-special-discount-in-a-shop.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-peak-element-ii.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-strings.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-the-lonely-nodes.py ├── find-anagram-mappings.py ├── find-and-replace-in-string.py ├── find-and-replace-pattern.py ├── find-array-given-subset-sums.py ├── find-bottom-left-tree-value.py ├── find-center-of-star-graph.py ├── find-closest-number-to-zero.py ├── find-common-characters.py ├── find-critical-and-pseudo-critical-edges-in-minimum-spanning-tree.py ├── find-distance-in-a-binary-tree.py ├── find-duplicate-file-in-system.py ├── find-duplicate-subtrees.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-path-exists-in-graph.py ├── find-in-mountain-array.py ├── find-k-closest-elements.py ├── find-k-length-substrings-with-no-repeated-characters.py ├── find-k-pairs-with-smallest-sums.py ├── find-k-th-smallest-pair-distance.py ├── find-kth-bit-in-nth-binary-string.py ├── find-kth-largest-xor-coordinate-value.py ├── find-largest-value-in-each-tree-row.py ├── find-latest-group-of-size-m.py ├── find-leaves-of-binary-tree.py ├── find-longest-awesome-substring.py ├── find-lucky-integer-in-an-array.py ├── find-median-from-data-stream.py ├── find-minimum-in-rotated-sorted-array-ii.py ├── find-minimum-in-rotated-sorted-array.py ├── find-minimum-time-to-finish-all-jobs.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-nearest-right-node-in-binary-tree.py ├── find-numbers-with-even-number-of-digits.py ├── find-original-array-from-doubled-array.py ├── find-palindrome-with-fixed-length.py ├── find-peak-element.py ├── find-permutation.py ├── find-pivot-index.py ├── find-players-with-zero-or-one-losses.py ├── find-positive-integer-solution-for-a-given-equation.py ├── find-right-interval.py ├── find-root-of-n-ary-tree.py ├── find-servers-that-handled-most-number-of-requests.py ├── find-smallest-common-element-in-all-rows.py ├── find-smallest-letter-greater-than-target.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-celebrity.py ├── find-the-city-with-the-smallest-number-of-neighbors-at-a-threshold-distance.py ├── find-the-closest-palindrome.py ├── find-the-derangement-of-an-array.py ├── find-the-difference-of-two-arrays.py ├── find-the-difference.py ├── find-the-distance-value-between-two-arrays.py ├── find-the-duplicate-number.py ├── find-the-highest-altitude.py ├── find-the-index-of-the-large-integer.py ├── find-the-kth-largest-integer-in-the-array.py ├── find-the-kth-smallest-sum-of-a-matrix-with-sorted-rows.py ├── find-the-longest-substring-containing-vowels-in-even-counts.py ├── find-the-longest-valid-obstacle-course-at-each-position.py ├── find-the-middle-index-in-array.py ├── find-the-minimum-and-maximum-number-of-nodes-between-critical-points.py ├── find-the-minimum-number-of-fibonacci-numbers-whose-sum-is-k.py ├── find-the-most-competitive-subsequence.py ├── find-the-shortest-superstring.py ├── find-the-smallest-divisor-given-a-threshold.py ├── find-the-student-that-will-replace-the-chalk.py ├── find-the-town-judge.py ├── find-the-winner-of-an-array-game.py ├── find-the-winner-of-the-circular-game.py ├── find-three-consecutive-integers-that-sum-to-a-given-number.py ├── find-triangular-sum-of-an-array.py ├── find-two-non-overlapping-sub-arrays-each-with-target-sum.py ├── find-unique-binary-string.py ├── find-valid-matrix-given-row-and-column-sums.py ├── find-winner-on-a-tic-tac-toe-game.py ├── find-words-that-can-be-formed-by-characters.py ├── find-xor-sum-of-all-pairs-bitwise-and.py ├── finding-3-digit-even-numbers.py ├── finding-mk-average.py ├── finding-pairs-with-a-certain-sum.py ├── finding-the-users-active-minutes.py ├── first-bad-version.py ├── first-day-where-you-have-been-in-all-the-rooms.py ├── first-missing-positive.py ├── first-unique-character-in-a-string.py ├── first-unique-number.py ├── fixed-point.py ├── fizz-buzz-multithreaded.py ├── fizz-buzz.py ├── flatten-2d-vector.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-game-ii.py ├── flip-game.py ├── flip-string-to-monotone-increasing.py ├── flipping-an-image.py ├── flood-fill.py ├── flower-planting-with-no-adjacent.py ├── form-array-by-concatenating-subarrays-of-another-array.py ├── form-largest-integer-with-digits-that-add-up-to-target.py ├── four-divisors.py ├── fraction-addition-and-subtraction.py ├── fraction-to-recurring-decimal.py ├── freedom-trail.py ├── frequency-of-the-most-frequent-element.py ├── friend-circles.py ├── friends-of-appropriate-ages.py ├── frog-jump.py ├── frog-position-after-t-seconds.py ├── fruit-into-baskets.py ├── furthest-building-you-can-reach.py ├── game-of-life.py ├── game-of-nim.py ├── gas-station.py ├── gcd-sort-of-an-array.py ├── generalized-abbreviation.py ├── generate-a-string-with-characters-that-have-odd-counts.py ├── generate-parentheses.py ├── generate-random-point-in-a-circle.py ├── get-biggest-three-rhombus-sums-in-a-grid.py ├── get-equal-substrings-within-budget.py ├── get-maximum-in-generated-array.py ├── get-the-maximum-score.py ├── get-watched-videos-by-your-friends.py ├── global-and-local-inversions.py ├── goal-parser-interpretation.py ├── goat-latin.py ├── graph-connectivity-with-threshold.py ├── graph-valid-tree.py ├── gray-code.py ├── greatest-common-divisor-of-strings.py ├── greatest-sum-divisible-by-three.py ├── grid-game.py ├── grid-illumination.py ├── group-anagrams.py ├── group-shifted-strings.py ├── group-the-people-given-the-group-size-they-belong-to.py ├── groups-of-special-equivalent-strings.py ├── groups-of-strings.py ├── grumpy-bookstore-owner.py ├── guess-number-higher-or-lower-ii.py ├── guess-number-higher-or-lower.py ├── guess-the-majority-in-a-hidden-array.py ├── guess-the-word.py ├── h-index-ii.py ├── h-index.py ├── hamming-distance.py ├── hand-of-straights.py ├── handshakes-that-dont-cross.py ├── happy-number.py ├── heaters.py ├── height-checker.py ├── hexspeak.py ├── high-five.py ├── house-robber-ii.py ├── house-robber-iii.py ├── house-robber.py ├── how-many-apples-can-you-put-into-the-basket.py ├── how-many-numbers-are-smaller-than-the-current-number.py ├── html-entity-parser.py ├── image-overlap.py ├── image-smoother.py ├── implement-magic-dictionary.py ├── implement-queue-using-stacks.py ├── implement-rand10-using-rand7.py ├── implement-stack-using-queues.py ├── implement-strstr.py ├── implement-trie-ii-prefix-tree.py ├── implement-trie-prefix-tree.py ├── increasing-decreasing-string.py ├── increasing-order-search-tree.py ├── increasing-subsequences.py ├── increasing-triplet-subsequence.py ├── incremental-memory-leak.py ├── index-pairs-of-a-string.py ├── inorder-successor-in-bst-ii.py ├── inorder-successor-in-bst.py ├── insert-delete-getrandom-o1-duplicates-allowed.py ├── insert-delete-getrandom-o1.py ├── insert-interval.py ├── insert-into-a-binary-search-tree.py ├── insert-into-a-cyclic-sorted-list.py ├── insert-into-a-sorted-circular-linked-list.py ├── insertion-sort-list.py ├── insufficient-nodes-in-root-to-leaf-paths.py ├── integer-break.py ├── integer-replacement.py ├── integer-to-english-words.py ├── integer-to-roman.py ├── interleaving-string.py ├── intersection-of-multiple-arrays.py ├── intersection-of-three-sorted-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 ├── invalid-transactions.py ├── invert-binary-tree.py ├── ip-to-cidr.py ├── ipo.py ├── is-graph-bipartite.py ├── is-subsequence.py ├── island-perimeter.py ├── isomorphic-strings.py ├── iterator-for-combination.py ├── jewels-and-stones.py ├── judge-route-circle.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-empty-slots.py ├── k-highest-ranked-items-within-a-price-range.py ├── k-inverse-pairs-array.py ├── k-radius-subarray-averages.py ├── k-similar-strings.py ├── k-th-smallest-in-lexicographical-order.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 ├── kill-process.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-missing-positive-number.py ├── kth-smallest-element-in-a-bst.py ├── kth-smallest-element-in-a-sorted-matrix.py ├── kth-smallest-instructions.py ├── kth-smallest-number-in-multiplication-table.py ├── kth-smallest-product-of-two-sorted-arrays.py ├── kth-smallest-subarray-sum.py ├── largest-1-bordered-square.py ├── largest-bst-subtree.py ├── largest-color-value-in-a-directed-graph.py ├── largest-component-size-by-common-factor.py ├── largest-divisible-subset.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-palindrome-product.py ├── largest-perimeter-triangle.py ├── largest-plus-sign.py ├── largest-rectangle-in-histogram.py ├── largest-subarray-length-k.py ├── largest-submatrix-with-rearrangements.py ├── largest-substring-between-two-equal-characters.py ├── largest-sum-of-averages.py ├── largest-time-for-given-digits.py ├── largest-triangle-area.py ├── largest-unique-number.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 ├── latest-time-by-replacing-hidden-digits.py ├── leaf-similar-trees.py ├── least-number-of-unique-integers-after-k-removals.py ├── least-operators-to-express-number.py ├── leftmost-column-with-at-least-a-one.py ├── lemonade-change.py ├── length-of-last-word.py ├── length-of-longest-fibonacci-subsequence.py ├── letter-case-permutation.py ├── letter-combinations-of-a-phone-number.py ├── letter-tile-possibilities.py ├── lexicographical-numbers.py ├── lexicographically-smallest-equivalent-string.py ├── lexicographically-smallest-string-after-applying-operations.py ├── lfu-cache.py ├── license-key-formatting.py ├── line-reflection.py ├── linked-list-components.py ├── linked-list-cycle-ii.py ├── linked-list-cycle.py ├── linked-list-in-binary-tree.py ├── linked-list-random-node.py ├── logger-rate-limiter.py ├── logical-or-of-two-binary-grids-represented-as-quad-trees.py ├── lonely-pixel-i.py ├── lonely-pixel-ii.py ├── long-pressed-name.py ├── longer-contiguous-segments-of-ones-than-zeros.py ├── longest-absolute-file-path.py ├── longest-arithmetic-sequence.py ├── longest-arithmetic-subsequence-of-given-difference.py ├── longest-chunked-palindrome-decomposition.py ├── longest-common-prefix.py ├── longest-common-subpath.py ├── longest-common-subsequence-between-sorted-arrays.py ├── longest-common-subsequence.py ├── longest-consecutive-sequence.py ├── longest-continuous-increasing-subsequence.py ├── longest-continuous-subarray-with-absolute-diff-less-than-or-equal-to-limit.py ├── longest-duplicate-substring.py ├── longest-happy-prefix.py ├── longest-happy-string.py ├── longest-harmonious-subsequence.py ├── longest-increasing-path-in-a-matrix.py ├── longest-increasing-subsequence.py ├── longest-line-of-consecutive-one-in-matrix.py ├── longest-mountain-in-array.py ├── longest-nice-substring.py ├── longest-palindrome-by-concatenating-two-letter-words.py ├── longest-palindrome.py ├── longest-palindromic-subsequence-ii.py ├── longest-palindromic-subsequence.py ├── longest-palindromic-substring.py ├── longest-path-with-different-adjacent-characters.py ├── longest-repeating-character-replacement.py ├── longest-repeating-substring.py ├── longest-string-chain.py ├── longest-subarray-of-1s-after-deleting-one-element.py ├── longest-subsequence-repeated-k-times.py ├── longest-substring-of-all-vowels-in-order.py ├── longest-substring-of-one-repeating-character.py ├── longest-substring-with-at-least-k-repeating-characters.py ├── longest-substring-with-at-most-k-distinct-characters.py ├── longest-substring-with-at-most-two-distinct-characters.py ├── longest-substring-without-repeating-characters.py ├── longest-turbulent-subarray.py ├── longest-uncommon-subsequence-i.py ├── longest-uncommon-subsequence-ii.py ├── longest-univalue-path.py ├── longest-valid-parentheses.py ├── longest-well-performing-interval.py ├── longest-word-in-dictionary-through-deleting.py ├── longest-word-in-dictionary.py ├── longest-word-with-all-prefixes.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-ii.py ├── lowest-common-ancestor-of-a-binary-tree-iii.py ├── lowest-common-ancestor-of-a-binary-tree-iv.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 ├── magical-string.py ├── magnetic-force-between-two-balls.py ├── majority-element-ii.py ├── majority-element.py ├── make-array-strictly-increasing.py ├── make-sum-divisible-by-p.py ├── make-the-string-great.py ├── make-the-xor-of-all-segments-equal-to-zero.py ├── make-two-arrays-equal-by-reversing-sub-arrays.py ├── making-a-large-island.py ├── making-file-names-unique.py ├── map-of-highest-peak.py ├── map-sum-pairs.py ├── masking-personal-information.py ├── matchsticks-to-square.py ├── matrix-block-sum.py ├── matrix-cells-in-distance-order.py ├── matrix-diagonal-sum.py ├── max-area-of-island.py ├── max-chunks-to-make-sorted-ii.py ├── max-chunks-to-make-sorted.py ├── max-consecutive-ones-ii.py ├── max-consecutive-ones-iii.py ├── max-consecutive-ones.py ├── max-difference-you-can-get-from-changing-an-integer.py ├── max-dot-product-of-two-subsequences.py ├── max-increase-to-keep-city-skyline.py ├── max-number-of-k-sum-pairs.py ├── max-points-on-a-line.py ├── max-stack.py ├── max-sum-of-sub-matrix-no-larger-than-k.py ├── max-value-of-equation.py ├── maximal-network-rank.py ├── maximal-rectangle.py ├── maximal-square.py ├── maximize-distance-to-closest-person.py ├── maximize-grid-happiness.py ├── maximize-number-of-nice-divisors.py ├── maximize-number-of-subsequences-in-a-string.py ├── maximize-palindrome-length-from-subsequences.py ├── maximize-score-after-n-operations.py ├── maximize-sum-of-array-after-k-negations.py ├── maximize-the-beauty-of-the-garden.py ├── maximize-the-confusion-of-an-exam.py ├── maximize-the-topmost-element-after-k-moves.py ├── maximum-69-number.py ├── maximum-absolute-sum-of-any-subarray.py ├── maximum-alternating-subarray-sum.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-average-subarray-ii.py ├── maximum-average-subtree.py ├── maximum-binary-string-after-change.py ├── maximum-binary-tree-ii.py ├── maximum-binary-tree.py ├── maximum-building-height.py ├── maximum-candies-allocated-to-k-children.py ├── maximum-candies-you-can-get-from-boxes.py ├── maximum-compatibility-score-sum.py ├── maximum-cost-of-trip-with-k-highways.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-distance-between-a-pair-of-values.py ├── maximum-distance-in-arrays.py ├── maximum-earnings-from-taxi.py ├── maximum-element-after-decreasing-and-rearranging.py ├── maximum-employees-to-be-invited-to-a-meeting.py ├── maximum-equal-frequency.py ├── maximum-erasure-value.py ├── maximum-font-to-fit-a-sentence-in-a-screen.py ├── maximum-frequency-stack.py ├── maximum-fruits-harvested-after-at-most-k-steps.py ├── maximum-gap.py ├── maximum-genetic-difference-query.py ├── maximum-good-people-based-on-statements.py ├── maximum-height-by-stacking-cuboids.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-level-sum-of-a-binary-tree.py ├── maximum-matrix-sum.py ├── maximum-nesting-depth-of-the-parentheses.py ├── maximum-nesting-depth-of-two-valid-parentheses-strings.py ├── maximum-non-negative-product-in-a-matrix.py ├── maximum-number-of-accepted-invitations.py ├── maximum-number-of-achievable-transfer-requests.py ├── maximum-number-of-balloons.py ├── maximum-number-of-balls-in-a-box.py ├── maximum-number-of-coins-you-can-get.py ├── maximum-number-of-consecutive-values-you-can-make.py ├── maximum-number-of-darts-inside-of-a-circular-dartboard.py ├── maximum-number-of-eaten-apples.py ├── maximum-number-of-events-that-can-be-attended-ii.py ├── maximum-number-of-events-that-can-be-attended.py ├── maximum-number-of-groups-getting-fresh-donuts.py ├── maximum-number-of-non-overlapping-subarrays-with-sum-equals-target.py ├── maximum-number-of-non-overlapping-substrings.py ├── maximum-number-of-occurrences-of-a-substring.py ├── maximum-number-of-ones.py ├── maximum-number-of-people-that-can-be-caught-in-tag.py ├── maximum-number-of-points-with-cost.py ├── maximum-number-of-removable-characters.py ├── maximum-number-of-tasks-you-can-assign.py ├── maximum-number-of-visible-points.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-of-absolute-value-expression.py ├── maximum-of-minimum-values-in-all-subarrays.py ├── maximum-path-quality-of-a-graph.py ├── maximum-performance-of-a-team.py ├── maximum-points-in-an-archery-competition.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-the-length-of-two-palindromic-substrings.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-profit-of-operating-a-centennial-wheel.py ├── maximum-repeating-substring.py ├── maximum-running-time-of-n-computers.py ├── maximum-score-after-splitting-a-string.py ├── maximum-score-from-performing-multiplication-operations.py ├── maximum-score-from-removing-stones.py ├── maximum-score-from-removing-substrings.py ├── maximum-score-of-a-good-subarray.py ├── maximum-score-of-a-node-sequence.py ├── maximum-score-words-formed-by-letters.py ├── maximum-side-length-of-a-square-with-sum-less-than-or-equal-to-threshold.py ├── maximum-size-subarray-sum-equals-k.py ├── maximum-split-of-positive-even-integers.py ├── maximum-students-taking-exam.py ├── maximum-subarray-min-product.py ├── maximum-subarray-sum-after-one-operation.py ├── maximum-subarray-sum-with-one-deletion.py ├── maximum-subarray.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-two-non-overlapping-subarrays.py ├── maximum-sum-score-of-array.py ├── maximum-swap.py ├── maximum-total-beauty-of-the-gardens.py ├── maximum-trailing-zeros-in-a-cornered-path.py ├── maximum-twin-sum-of-a-linked-list.py ├── maximum-units-on-a-truck.py ├── maximum-vacation-days.py ├── maximum-value-after-insertion.py ├── maximum-value-at-a-given-index-in-a-bounded-array.py ├── maximum-value-of-k-coins-from-piles.py ├── maximum-width-of-binary-tree.py ├── maximum-width-ramp.py ├── maximum-xor-for-each-query.py ├── maximum-xor-of-two-numbers-in-an-array.py ├── maximum-xor-with-an-element-from-array.py ├── mean-of-array-after-removing-some-elements.py ├── median-of-two-sorted-arrays.py ├── meeting-rooms-ii.py ├── meeting-rooms.py ├── meeting-scheduler.py ├── merge-bsts-to-create-single-bst.py ├── merge-in-between-linked-lists.py ├── merge-intervals.py ├── merge-k-sorted-lists.py ├── merge-nodes-in-between-zeros.py ├── merge-sorted-array.py ├── merge-strings-alternately.py ├── merge-triplets-to-form-target-triplet.py ├── merge-two-binary-trees.py ├── merge-two-sorted-lists.py ├── middle-of-the-linked-list.py ├── min-cost-climbing-stairs.py ├── min-cost-to-connect-all-points.py ├── min-stack.py ├── minesweeper.py ├── mini-parser.py ├── minimize-deviation-in-array.py ├── minimize-hamming-distance-after-swap-operations.py ├── minimize-malware-spread-ii.py ├── minimize-malware-spread.py ├── minimize-max-distance-to-gas-station.py ├── minimize-maximum-pair-sum-in-array.py ├── minimize-product-sum-of-two-arrays.py ├── minimize-result-by-adding-parentheses-to-expression.py ├── minimize-rounding-error-to-meet-target.py ├── minimize-the-difference-between-target-and-chosen-elements.py ├── minimized-maximum-of-products-distributed-to-any-store.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-adjacent-swaps-for-k-consecutive-ones.py ├── minimum-adjacent-swaps-to-reach-the-kth-smallest-number.py ├── minimum-area-rectangle-ii.py ├── minimum-area-rectangle.py ├── minimum-ascii-delete-sum-for-two-strings.py ├── minimum-bit-flips-to-convert-number.py ├── minimum-changes-to-make-alternating-binary-string.py ├── minimum-cost-for-tickets.py ├── minimum-cost-homecoming-of-a-robot-in-a-grid.py ├── minimum-cost-of-buying-candies-with-discount.py ├── minimum-cost-to-change-the-final-value-of-expression.py ├── minimum-cost-to-connect-sticks.py ├── minimum-cost-to-connect-two-groups-of-points.py ├── minimum-cost-to-cut-a-stick.py ├── minimum-cost-to-hire-k-workers.py ├── minimum-cost-to-make-at-least-one-valid-path-in-a-grid.py ├── minimum-cost-to-merge-stones.py ├── minimum-cost-to-reach-city-with-discounts.py ├── minimum-cost-to-reach-destination-in-time.py ├── minimum-cost-to-separate-sentence-into-rows.py ├── minimum-cost-to-set-cooking-time.py ├── minimum-cost-tree-from-leaf-values.py ├── minimum-degree-of-a-connected-trio-in-a-graph.py ├── minimum-deletion-cost-to-avoid-repeating-letters.py ├── minimum-deletions-to-make-array-beautiful.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-distance-to-type-a-word-using-two-fingers.py ├── minimum-domino-rotations-for-equal-row.py ├── minimum-elements-to-add-to-form-a-given-sum.py ├── minimum-factorization.py ├── minimum-falling-path-sum-ii.py ├── minimum-falling-path-sum.py ├── minimum-flips-to-make-a-or-b-equal-to-c.py ├── minimum-garden-perimeter-to-collect-enough-apples.py ├── minimum-genetic-mutation.py ├── minimum-health-to-beat-game.py ├── minimum-height-trees.py ├── minimum-incompatibility.py ├── minimum-increment-to-make-array-unique.py ├── minimum-index-sum-of-two-lists.py ├── minimum-initial-energy-to-finish-tasks.py ├── minimum-insertion-steps-to-make-a-string-palindrome.py ├── minimum-insertions-to-balance-a-parentheses-string.py ├── minimum-interval-to-include-each-query.py ├── minimum-jumps-to-reach-home.py ├── minimum-knight-moves.py ├── minimum-length-of-string-after-deleting-similar-ends.py ├── minimum-limit-of-balls-in-a-bag.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-make-array-complementary.py ├── minimum-moves-to-move-a-box-to-their-target-location.py ├── minimum-moves-to-reach-target-score.py ├── minimum-moves-to-reach-target-with-rotations.py ├── minimum-non-zero-product-of-the-array-elements.py ├── minimum-number-of-arrows-to-burst-balloons.py ├── minimum-number-of-buckets-required-to-collect-rainwater-from-houses.py ├── minimum-number-of-days-to-disconnect-island.py ├── minimum-number-of-days-to-eat-n-oranges.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-the-binary-string-alternating.py ├── minimum-number-of-frogs-croaking.py ├── minimum-number-of-increments-on-subarrays-to-form-a-target-array.py ├── minimum-number-of-k-consecutive-bit-flips.py ├── minimum-number-of-lines-to-cover-points.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-array-continuous.py ├── minimum-number-of-operations-to-make-string-sorted.py ├── minimum-number-of-operations-to-move-all-balls-to-each-box.py ├── minimum-number-of-operations-to-reinitialize-a-permutation.py ├── minimum-number-of-people-to-teach.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-number-of-work-sessions-to-finish-the-tasks.py ├── minimum-numbers-of-function-calls-to-make-target-array.py ├── minimum-one-bit-operations-to-make-integers-zero.py ├── minimum-operations-to-convert-number.py ├── minimum-operations-to-halve-array-sum.py ├── minimum-operations-to-make-a-subsequence.py ├── minimum-operations-to-make-a-uni-value-grid.py ├── minimum-operations-to-make-array-equal.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-reduce-x-to-zero.py ├── minimum-operations-to-remove-adjacent-ones-in-matrix.py ├── minimum-path-cost-in-a-hidden-grid.py ├── minimum-path-sum.py ├── minimum-possible-integer-after-at-most-k-adjacent-swaps-on-digits.py ├── minimum-remove-to-make-valid-parentheses.py ├── minimum-rounds-to-complete-all-tasks.py ├── minimum-score-triangulation-of-polygon.py ├── minimum-sideway-jumps.py ├── minimum-size-subarray-sum.py ├── minimum-skips-to-arrive-at-meeting-on-time.py ├── minimum-space-wasted-from-packaging.py ├── minimum-speed-to-arrive-on-time.py ├── minimum-subsequence-in-non-increasing-order.py ├── minimum-sum-of-four-digit-number-after-splitting-digits.py ├── minimum-swaps-to-arrange-a-binary-grid.py ├── minimum-swaps-to-group-all-1s-together-ii.py ├── minimum-swaps-to-group-all-1s-together.py ├── minimum-swaps-to-make-sequences-increasing.py ├── minimum-swaps-to-make-strings-equal.py ├── minimum-time-difference.py ├── minimum-time-for-k-virus-variants-to-spread.py ├── minimum-time-to-build-blocks.py ├── minimum-time-to-collect-all-apples-in-a-tree.py ├── minimum-time-to-complete-trips.py ├── minimum-time-to-finish-the-race.py ├── minimum-time-to-remove-all-cars-containing-illegal-goods.py ├── minimum-time-to-type-word-using-special-typewriter.py ├── minimum-time-visiting-all-points.py ├── minimum-total-space-wasted-with-k-resizing-operations.py ├── minimum-unique-word-abbreviation.py ├── minimum-value-to-get-positive-step-by-step-sum.py ├── minimum-weighted-subgraph-with-the-required-paths.py ├── minimum-white-tiles-after-covering-with-carpets.py ├── minimum-window-subsequence.py ├── minimum-window-substring.py ├── minimum-xor-sum-of-two-arrays.py ├── mirror-reflection.py ├── missing-element-in-sorted-array.py ├── missing-number-in-arithmetic-progression.py ├── missing-number.py ├── missing-ranges.py ├── monotone-increasing-digits.py ├── monotonic-array.py ├── most-beautiful-item-for-each-query.py ├── most-common-word.py ├── most-frequent-number-following-key-in-an-array.py ├── most-frequent-subtree-sum.py ├── most-profit-assigning-work.py ├── most-stones-removed-with-same-row-or-column.py ├── most-visited-sector-in-a-circular-track.py ├── move-sub-tree-of-n-ary-tree.py ├── move-zeroes.py ├── moving-average-from-data-stream.py ├── moving-stones-until-consecutive-ii.py ├── moving-stones-until-consecutive.py ├── multiply-strings.py ├── my-calendar-i.py ├── my-calendar-ii.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 ├── nearest-exit-from-entrance-in-maze.py ├── nested-list-weight-sum-ii.py ├── nested-list-weight-sum.py ├── network-delay-time.py ├── next-closest-time.py ├── next-greater-element-i.py ├── next-greater-element-ii.py ├── next-greater-element-iii.py ├── next-greater-node-in-linked-list.py ├── next-greater-numerically-balanced-number.py ├── next-palindrome-using-same-digits.py ├── next-permutation.py ├── nim-game.py ├── non-decreasing-array.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-atoms.py ├── number-of-boomerangs.py ├── number-of-burgers-with-no-waste-of-ingredients.py ├── number-of-closed-islands.py ├── number-of-connected-components-in-an-undirected-graph.py ├── number-of-corner-rectangles.py ├── number-of-days-between-two-dates.py ├── number-of-days-in-a-month.py ├── number-of-dice-rolls-with-target-sum.py ├── number-of-different-integers-in-a-string.py ├── number-of-different-subsequences-gcds.py ├── number-of-digit-one.py ├── number-of-distinct-islands-ii.py ├── number-of-distinct-islands.py ├── number-of-distinct-subarrays-with-at-most-k-odd-integers.py ├── number-of-distinct-substrings-in-a-string.py ├── number-of-enclaves.py ├── number-of-equal-count-substrings.py ├── number-of-equivalent-domino-pairs.py ├── number-of-flowers-in-full-bloom.py ├── number-of-good-leaf-nodes-pairs.py ├── number-of-good-pairs.py ├── number-of-good-ways-to-split-a-string.py ├── number-of-islands-ii.py ├── number-of-islands.py ├── number-of-laser-beams-in-a-bank.py ├── number-of-lines-to-write-string.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-orders-in-the-backlog.py ├── number-of-pairs-of-interchangeable-rectangles.py ├── number-of-pairs-of-strings-with-concatenation-equal-to-target.py ├── number-of-paths-with-max-score.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-sets-of-k-non-overlapping-line-segments.py ├── number-of-ships-in-a-rectangle.py ├── number-of-single-divisor-triplets.py ├── number-of-smooth-descent-periods-of-a-stock.py ├── number-of-spaces-cleaning-robot-cleaned.py ├── number-of-squareful-arrays.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-students-doing-homework-at-a-given-time.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-with-bounded-maximum.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-unique-flavors-after-sharing-k-candies.py ├── number-of-unique-good-subsequences.py ├── number-of-valid-move-combinations-on-chessboard.py ├── number-of-valid-subarrays.py ├── number-of-valid-words-for-each-puzzle.py ├── number-of-valid-words-in-a-sentence.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-build-house-of-cards.py ├── number-of-ways-to-build-sturdy-brick-wall.py ├── number-of-ways-to-buy-pens-and-pencils.py ├── number-of-ways-to-divide-a-long-corridor.py ├── number-of-ways-to-form-a-target-string-given-a-dictionary.py ├── number-of-ways-to-paint-n-3-grid.py ├── number-of-ways-to-rearrange-sticks-with-k-sticks-visible.py ├── number-of-ways-to-reconstruct-a-tree.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-a-string.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 ├── 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-jump.py ├── odd-even-linked-list.py ├── one-edit-distance.py ├── ones-and-zeroes.py ├── online-election.py ├── online-majority-element-in-subarray.py ├── online-stock-span.py ├── open-the-lock.py ├── operations-on-tree.py ├── optimal-account-balancing.py ├── optimal-division.py ├── optimize-water-distribution-in-a-village.py ├── orderly-queue.py ├── out-of-boundary-paths.py ├── output-contest-matches.py ├── pacific-atlantic-water-flow.py ├── paint-fence.py ├── paint-house-ii.py ├── paint-house-iii.py ├── paint-house.py ├── painting-a-grid-with-three-different-colors.py ├── pairs-of-songs-with-total-durations-divisible-by-60.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 ├── palindrome-permutation-ii.py ├── palindrome-permutation.py ├── palindrome-removal.py ├── palindromic-substrings.py ├── pancake-sorting.py ├── parallel-courses-ii.py ├── parallel-courses-iii.py ├── parallel-courses.py ├── parse-lisp-expression.py ├── parsing-a-boolean-expression.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-equal-subset-sum.py ├── partition-labels.py ├── partition-list.py ├── partition-to-k-equal-sum-subsets.py ├── partitioning-into-minimum-number-of-deci-binary-numbers.py ├── pascals-triangle-ii.py ├── pascals-triangle.py ├── patching-array.py ├── path-crossing.py ├── path-in-zigzag-labelled-binary-tree.py ├── path-sum-ii.py ├── path-sum-iii.py ├── path-sum-iv.py ├── path-sum.py ├── path-with-maximum-gold.py ├── path-with-maximum-minimum-value.py ├── path-with-maximum-probability.py ├── path-with-minimum-effort.py ├── paths-in-maze-that-lead-to-same-room.py ├── peak-index-in-a-mountain-array.py ├── peeking-iterator.py ├── people-whose-list-of-favorite-companies-is-not-a-subset-of-another-list.py ├── perfect-number.py ├── perfect-rectangle.py ├── perfect-squares.py ├── perform-string-shifts.py ├── permutation-in-string.py ├── permutation-sequence.py ├── permutations-ii.py ├── permutations.py ├── pizza-with-3n-slices.py ├── plates-between-candles.py ├── play-with-chips.py ├── plus-one-linked-list.py ├── plus-one.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 ├── pour-water-between-buckets-to-make-water-levels-equal.py ├── pour-water.py ├── power-of-four.py ├── power-of-three.py ├── power-of-two.py ├── powerful-integers.py ├── powx-n.py ├── predict-the-winner.py ├── prefix-and-suffix-search.py ├── preimage-size-of-factorial-zeroes-function.py ├── previous-permutation-with-one-swap.py ├── prime-arrangements.py ├── prime-number-of-set-bits-in-binary-representation.py ├── prime-palindrome.py ├── print-binary-tree.py ├── print-foobar-alternately.py ├── print-immutable-linked-list-in-reverse.py ├── print-in-order.py ├── print-words-vertically.py ├── print-zero-even-odd.py ├── prison-cells-after-n-days.py ├── probability-of-a-two-boxes-having-the-same-number-of-distinct-balls.py ├── process-restricted-friend-requests.py ├── process-tasks-using-servers.py ├── product-of-array-except-self.py ├── product-of-the-last-k-numbers.py ├── product-of-two-run-length-encoded-arrays.py ├── profitable-schemes.py ├── projection-area-of-3d-shapes.py ├── pseudo-palindromic-paths-in-a-binary-tree.py ├── push-dominoes.py ├── put-boxes-into-the-warehouse-i.py ├── put-boxes-into-the-warehouse-ii.py ├── pyramid-transition-matrix.py ├── quad-tree-intersection.py ├── queens-that-can-attack-the-king.py ├── queries-on-a-permutation-with-key.py ├── queries-on-number-of-points-inside-a-circle.py ├── queue-reconstruction-by-height.py ├── rabbits-in-forest.py ├── race-car.py ├── random-flip-matrix.py ├── random-pick-index.py ├── random-pick-with-blacklist.py ├── random-pick-with-weight.py ├── random-point-in-non-overlapping-rectangles.py ├── range-addition-ii.py ├── range-addition.py ├── range-frequency-queries.py ├── range-module.py ├── range-sum-of-bst.py ├── range-sum-of-sorted-subarray-sums.py ├── range-sum-query-2d-immutable.py ├── range-sum-query-2d-mutable.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 ├── reaching-points.py ├── read-n-characters-given-read4-ii-call-multiple-times.py ├── read-n-characters-given-read4.py ├── rearrange-array-elements-by-sign.py ├── rearrange-spaces-between-words.py ├── rearrange-string-k-distance-apart.py ├── rearrange-words-in-a-sentence.py ├── reconstruct-a-2-row-binary-matrix.py ├── reconstruct-itinerary.py ├── reconstruct-original-digits-from-english.py ├── recover-a-tree-from-preorder-traversal.py ├── recover-binary-search-tree.py ├── recover-the-original-array.py ├── rectangle-area-ii.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 ├── reformat-date.py ├── reformat-phone-number.py ├── reformat-the-string.py ├── regions-cut-by-slashes.py ├── regular-expression-matching.py ├── relative-ranks.py ├── relative-sort-array.py ├── remove-9.py ├── remove-all-adjacent-duplicates-in-string-ii.py ├── remove-all-adjacent-duplicates-in-string.py ├── remove-all-occurrences-of-a-substring.py ├── remove-all-ones-with-row-and-column-flips-ii.py ├── remove-all-ones-with-row-and-column-flips.py ├── remove-boxes.py ├── remove-colored-pieces-if-both-neighbors-are-the-same-color.py ├── remove-comments.py ├── remove-covered-intervals.py ├── remove-duplicate-letters.py ├── remove-duplicates-from-an-unsorted-linked-list.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-interval.py ├── remove-invalid-parentheses.py ├── remove-k-digits.py ├── remove-linked-list-elements.py ├── remove-max-number-of-edges-to-keep-graph-fully-traversable.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-sub-folders-from-the-filesystem.py ├── remove-vowels-from-a-string.py ├── remove-zero-sum-consecutive-nodes-from-linked-list.py ├── removing-minimum-and-maximum-from-array.py ├── removing-minimum-number-of-magic-beans.py ├── reorder-list.py ├── reorder-log-files.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-all-s-to-avoid-consecutive-repeating-characters.py ├── replace-elements-with-greatest-element-on-right-side.py ├── replace-non-coprime-numbers-in-array.py ├── replace-the-substring-for-balanced-string.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-only-letters.py ├── reverse-pairs.py ├── reverse-prefix-of-word.py ├── reverse-string-ii.py ├── reverse-string.py ├── reverse-subarray-to-maximize-array-value.py ├── reverse-substrings-between-each-pair-of-parentheses.py ├── reverse-vowels-of-a-string.py ├── reverse-words-in-a-string-ii.py ├── reverse-words-in-a-string-iii.py ├── reverse-words-in-a-string.py ├── richest-customer-wealth.py ├── rings-and-rods.py ├── rle-iterator.py ├── robot-bounded-in-circle.py ├── robot-return-to-origin.py ├── robot-room-cleaner.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 ├── rotated-digits.py ├── rotating-the-box.py ├── rotting-oranges.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-parentheses.py ├── scramble-string.py ├── search-a-2d-matrix-ii.py ├── search-a-2d-matrix.py ├── search-for-a-range.py ├── search-in-a-binary-search-tree.py ├── search-in-a-sorted-array-of-unknown-size.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-largest-digit-in-a-string.py ├── second-minimum-node-in-a-binary-tree.py ├── second-minimum-time-to-reach-destination.py ├── self-crossing.py ├── self-dividing-numbers.py ├── sell-diminishing-valued-colored-balls.py ├── sentence-screen-fitting.py ├── sentence-similarity-ii.py ├── sentence-similarity-iii.py ├── sentence-similarity.py ├── sequence-reconstruction.py ├── sequential-digits.py ├── sequentially-ordinal-rank-tracker.py ├── serialize-and-deserialize-binary-tree.py ├── serialize-and-deserialize-bst.py ├── serialize-and-deserialize-n-ary-tree.py ├── set-intersection-size-at-least-two.py ├── set-matrix-zeroes.py ├── set-mismatch.py ├── shift-2d-grid.py ├── shifting-letters.py ├── shopping-offers.py ├── short-encoding-of-words.py ├── shortest-bridge.py ├── shortest-common-supersequence.py ├── shortest-completing-word.py ├── shortest-distance-from-all-buildings.py ├── shortest-distance-to-a-character.py ├── shortest-distance-to-target-color.py ├── shortest-palindrome.py ├── shortest-path-in-a-grid-with-obstacles-elimination.py ├── shortest-path-in-a-hidden-grid.py ├── shortest-path-in-binary-matrix.py ├── shortest-path-to-get-all-keys.py ├── shortest-path-to-get-food.py ├── shortest-path-visiting-all-nodes.py ├── shortest-path-with-alternating-colors.py ├── shortest-subarray-to-be-removed-to-make-array-sorted.py ├── shortest-subarray-with-sum-at-least-k.py ├── shortest-unsorted-continuous-subarray.py ├── shortest-way-to-form-string.py ├── shortest-word-distance-ii.py ├── shortest-word-distance-iii.py ├── shortest-word-distance.py ├── shuffle-an-array.py ├── shuffle-string.py ├── shuffle-the-array.py ├── sign-of-the-product-of-an-array.py ├── similar-rgb-color.py ├── similar-string-groups.py ├── simple-bank-system.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-row-keyboard.py ├── single-threaded-cpu.py ├── sliding-puzzle.py ├── sliding-window-maximum.py ├── sliding-window-median.py ├── slowest-key.py ├── smallest-common-region.py ├── smallest-good-base.py ├── smallest-greater-multiple-made-of-two-digits.py ├── smallest-index-with-equal-value.py ├── smallest-integer-divisible-by-k.py ├── smallest-k-length-subsequence-with-occurrences-of-a-letter.py ├── smallest-missing-genetic-value-in-each-subtree.py ├── smallest-range-i.py ├── smallest-range-ii.py ├── smallest-range.py ├── smallest-rectangle-enclosing-black-pixels.py ├── smallest-rotation-with-highest-score.py ├── smallest-string-starting-from-leaf.py ├── smallest-string-with-a-given-numeric-value.py ├── smallest-string-with-swaps.py ├── smallest-subsequence-of-distinct-characters.py ├── smallest-subtree-with-all-the-deepest-nodes.py ├── smallest-sufficient-team.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-features-by-popularity.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-linked-list-already-sorted-using-absolute-values.py ├── sort-list.py ├── sort-the-jumbled-numbers.py ├── sort-the-matrix-diagonally.py ├── sort-transformed-array.py ├── sorting-the-sentence.py ├── soup-servings.py ├── sparse-matrix-multiplication.py ├── special-array-with-x-elements-greater-than-or-equal-x.py ├── special-binary-string.py ├── special-positions-in-a-binary-matrix.py ├── spiral-matrix-ii.py ├── spiral-matrix-iii.py ├── spiral-matrix.py ├── split-a-string-in-balanced-strings.py ├── split-a-string-into-the-max-number-of-unique-substrings.py ├── split-array-into-consecutive-subsequences.py ├── split-array-into-fibonacci-sequence.py ├── split-array-largest-sum.py ├── split-array-with-equal-sum.py ├── split-array-with-same-average.py ├── split-bst.py ├── split-concatenated-strings.py ├── split-linked-list-in-parts.py ├── split-two-strings-to-make-palindrome.py ├── splitting-a-string-into-descending-consecutive-values.py ├── sqrtx.py ├── squares-of-a-sorted-array.py ├── squirrel-simulation.py ├── stamping-the-grid.py ├── stamping-the-sequence.py ├── statistics-from-a-large-sample.py ├── step-by-step-directions-from-a-binary-tree-node-to-another.py ├── stepping-numbers.py ├── stickers-to-spell-word.py ├── stock-price-fluctuation.py ├── stone-game-ii.py ├── stone-game-iii.py ├── stone-game-iv.py ├── stone-game-ix.py ├── stone-game-v.py ├── stone-game-vi.py ├── stone-game-vii.py ├── stone-game-viii.py ├── stone-game.py ├── strange-printer-ii.py ├── strange-printer.py ├── stream-of-characters.py ├── stream-of-characters2.py ├── string-compression-ii.py ├── string-compression.py ├── string-matching-in-an-array.py ├── string-to-integer-atoi.py ├── string-transforms-into-another-string.py ├── string-without-aaa-or-bbb.py ├── strings-differ-by-one-character.py ├── strobogrammatic-number-ii.py ├── strobogrammatic-number-iii.py ├── strobogrammatic-number.py ├── strong-password-checker.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 ├── subarrays-with-k-different-integers.py ├── subdomain-visit-count.py ├── subrectangle-queries.py ├── subsequence-of-size-k-with-the-largest-even-sum.py ├── subsets-ii.py ├── subsets.py ├── substring-with-concatenation-of-all-words.py ├── substrings-of-size-three-with-distinct-characters.py ├── substrings-that-begin-and-end-with-the-same-letter.py ├── subtract-the-product-and-sum-of-digits-of-an-integer.py ├── subtree-of-another-tree.py ├── subtree-removal-game-with-fibonacci-tree.py ├── sudoku-solver.py ├── sum-game.py ├── sum-of-absolute-differences-in-a-sorted-array.py ├── sum-of-all-odd-length-subarrays.py ├── sum-of-all-subset-xor-totals.py ├── sum-of-beauty-in-the-array.py ├── sum-of-beauty-of-all-substrings.py ├── sum-of-digits-in-base-k.py ├── sum-of-digits-in-the-minimum-number.py ├── sum-of-digits-of-string-after-convert.py ├── sum-of-distances-in-tree.py ├── sum-of-even-numbers-after-queries.py ├── sum-of-floored-pairs.py ├── sum-of-k-mirror-numbers.py ├── sum-of-left-leaves.py ├── sum-of-mutated-array-closest-to-target.py ├── sum-of-nodes-with-even-valued-grandparent.py ├── sum-of-root-to-leaf-binary-numbers.py ├── sum-of-scores-of-built-strings.py ├── sum-of-special-evenly-spaced-elements-in-array.py ├── sum-of-square-numbers.py ├── sum-of-subarray-minimums.py ├── sum-of-subarray-ranges.py ├── sum-of-subsequence-widths.py ├── sum-of-two-integers.py ├── sum-of-unique-elements.py ├── sum-root-to-leaf-numbers.py ├── summary-ranges.py ├── super-egg-drop.py ├── super-palindromes.py ├── super-pow.py ├── super-ugly-number.py ├── super-washing-machines.py ├── surface-area-of-3d-shapes.py ├── surrounded-regions.py ├── swap-adjacent-in-lr-string.py ├── swap-for-longest-repeated-character-substring.py ├── swap-nodes-in-pairs.py ├── swapping-nodes-in-a-linked-list.py ├── swim-in-rising-water.py ├── symmetric-tree.py ├── synonymous-sentences.py ├── tag-validator.py ├── tallest-billboard.py ├── target-sum.py ├── task-scheduler.py ├── teemo-attacking.py ├── ternary-expression-parser.py ├── text-justification.py ├── the-dining-philosophers.py ├── the-earliest-and-latest-rounds-where-players-compete.py ├── the-earliest-moment-when-everyone-become-friends.py ├── the-k-strongest-values-in-an-array.py ├── the-k-th-lexicographical-string-of-all-happy-strings-of-length-n.py ├── the-k-weakest-rows-in-a-matrix.py ├── the-kth-factor-of-n.py ├── the-maze-ii.py ├── the-maze-iii.py ├── the-maze.py ├── the-most-similar-path-in-a-graph.py ├── the-number-of-full-rounds-you-have-played.py ├── the-number-of-good-subsets.py ├── the-number-of-the-smallest-unoccupied-chair.py ├── the-number-of-weak-characters-in-the-game.py ├── the-score-of-students-solving-math-expression.py ├── the-skyline-problem.py ├── the-time-when-the-network-becomes-idle.py ├── third-maximum-number.py ├── thousand-separator.py ├── three-consecutive-odds.py ├── three-divisors.py ├── three-equal-parts.py ├── throne-inheritance.py ├── tiling-a-rectangle-with-the-fewest-squares.py ├── time-based-key-value-store.py ├── time-needed-to-buy-tickets.py ├── time-needed-to-inform-all-employees.py ├── to-lower-case.py ├── toeplitz-matrix.py ├── top-k-frequent-elements.py ├── top-k-frequent-words.py ├── toss-strange-coins.py ├── total-hamming-distance.py ├── traffic-light-controlled-intersection.py ├── transform-to-chessboard.py ├── transpose-matrix.py ├── trapping-rain-water-ii.py ├── trapping-rain-water.py ├── tree-diameter.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 ├── tweet-counts-per-frequency.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-bsts.py ├── two-sum-ii-input-array-is-sorted.py ├── two-sum-iii-data-structure-design.py ├── two-sum-iv-input-is-a-bst.py ├── two-sum-less-than-k.py ├── two-sum.py ├── ugly-number-ii.py ├── ugly-number-iii.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-letter-string.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 ├── unique-substrings-with-equal-digit-frequency.py ├── unique-word-abbreviation.py ├── univalued-binary-tree.py ├── utf-8-validation.py ├── valid-anagram.py ├── valid-arrangement-of-pairs.py ├── valid-boomerang.py ├── valid-mountain-array.py ├── valid-number.py ├── valid-palindrome-ii.py ├── valid-palindrome-iii.py ├── valid-palindrome.py ├── valid-parentheses.py ├── valid-parenthesis-string.py ├── valid-perfect-square.py ├── valid-permutations-for-di-sequence.py ├── valid-square.py ├── valid-sudoku.py ├── valid-tic-tac-toe-state.py ├── valid-triangle-number.py ├── valid-word-abbreviation.py ├── valid-word-square.py ├── validate-binary-search-tree.py ├── validate-binary-tree-nodes.py ├── validate-ip-address.py ├── validate-stack-sequences.py ├── verbal-arithmetic-puzzle.py ├── verify-preorder-sequence-in-binary-search-tree.py ├── verify-preorder-serialization-of-a-binary-tree.py ├── verifying-an-alien-dictionary.py ├── vertical-order-traversal-of-a-binary-tree.py ├── video-stitching.py ├── vowel-spellchecker.py ├── vowels-of-all-substrings.py ├── walking-robot-simulation-ii.py ├── walking-robot-simulation.py ├── walls-and-gates.py ├── water-and-jug-problem.py ├── water-bottles.py ├── watering-plants-ii.py ├── watering-plants.py ├── ways-to-make-a-fair-array.py ├── ways-to-split-array-into-three-subarrays.py ├── web-crawler-multithreaded.py ├── web-crawler.py ├── where-will-the-ball-fall.py ├── widest-pair-of-indices-with-equal-range-sum.py ├── widest-vertical-area-between-two-points-containing-no-points.py ├── wiggle-sort-ii.py ├── wiggle-sort.py ├── wiggle-subsequence.py ├── wildcard-matching.py ├── word-abbreviation.py ├── word-break-ii.py ├── word-break.py ├── word-ladder-ii.py ├── word-ladder.py ├── word-pattern-ii.py ├── word-pattern.py ├── word-search-ii.py ├── word-search.py ├── word-squares.py ├── word-subsets.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 ├── zigzag-iterator.py └── zuma-game.py ├── README.md ├── Shell ├── tenth-line.sh ├── transpose-file.sh ├── valid-phone-numbers.sh └── word-frequency.sh └── lclogo.png /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/.gitignore -------------------------------------------------------------------------------- /C++/01-matrix.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/C++/01-matrix.cpp -------------------------------------------------------------------------------- /C++/132-pattern.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/C++/132-pattern.cpp -------------------------------------------------------------------------------- /C++/2-keys-keyboard.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/C++/2-keys-keyboard.cpp -------------------------------------------------------------------------------- /C++/24-game.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/C++/24-game.cpp -------------------------------------------------------------------------------- /C++/3sum-closest.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/C++/3sum-closest.cpp -------------------------------------------------------------------------------- /C++/3sum-smaller.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/C++/3sum-smaller.cpp -------------------------------------------------------------------------------- /C++/3sum.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/C++/3sum.cpp -------------------------------------------------------------------------------- /C++/4-keys-keyboard.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/C++/4-keys-keyboard.cpp -------------------------------------------------------------------------------- /C++/4sum-ii.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/C++/4sum-ii.cpp -------------------------------------------------------------------------------- /C++/4sum.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/C++/4sum.cpp -------------------------------------------------------------------------------- /C++/accounts-merge.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/C++/accounts-merge.cpp -------------------------------------------------------------------------------- /C++/add-binary.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/C++/add-binary.cpp -------------------------------------------------------------------------------- /C++/add-digits.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/C++/add-digits.cpp -------------------------------------------------------------------------------- /C++/add-one-row-to-tree.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/C++/add-one-row-to-tree.cpp -------------------------------------------------------------------------------- /C++/add-strings.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/C++/add-strings.cpp -------------------------------------------------------------------------------- /C++/add-two-integers.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/C++/add-two-integers.cpp -------------------------------------------------------------------------------- /C++/add-two-numbers-ii.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/C++/add-two-numbers-ii.cpp -------------------------------------------------------------------------------- /C++/add-two-numbers.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/C++/add-two-numbers.cpp -------------------------------------------------------------------------------- /C++/additive-number.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/C++/additive-number.cpp -------------------------------------------------------------------------------- /C++/advantage-shuffle.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/C++/advantage-shuffle.cpp -------------------------------------------------------------------------------- /C++/alien-dictionary.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/C++/alien-dictionary.cpp -------------------------------------------------------------------------------- /C++/allocate-mailboxes.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/C++/allocate-mailboxes.cpp -------------------------------------------------------------------------------- /C++/alphabet-board-path.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/C++/alphabet-board-path.cpp -------------------------------------------------------------------------------- /C++/arithmetic-slices.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/C++/arithmetic-slices.cpp -------------------------------------------------------------------------------- /C++/armstrong-number.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/C++/armstrong-number.cpp -------------------------------------------------------------------------------- /C++/arranging-coins.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/C++/arranging-coins.cpp -------------------------------------------------------------------------------- /C++/array-nesting.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/C++/array-nesting.cpp -------------------------------------------------------------------------------- /C++/array-partition-i.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/C++/array-partition-i.cpp -------------------------------------------------------------------------------- /C++/assign-cookies.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/C++/assign-cookies.cpp -------------------------------------------------------------------------------- /C++/asteroid-collision.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/C++/asteroid-collision.cpp -------------------------------------------------------------------------------- /C++/bag-of-tokens.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/C++/bag-of-tokens.cpp -------------------------------------------------------------------------------- /C++/base-7.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/C++/base-7.cpp -------------------------------------------------------------------------------- /C++/baseball-game.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/C++/baseball-game.cpp -------------------------------------------------------------------------------- /C++/basic-calculator-ii.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/C++/basic-calculator-ii.cpp -------------------------------------------------------------------------------- /C++/basic-calculator-iv.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/C++/basic-calculator-iv.cpp -------------------------------------------------------------------------------- /C++/basic-calculator.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/C++/basic-calculator.cpp -------------------------------------------------------------------------------- /C++/beautiful-array.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/C++/beautiful-array.cpp -------------------------------------------------------------------------------- /C++/best-meeting-point.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/C++/best-meeting-point.cpp -------------------------------------------------------------------------------- /C++/binary-gap.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/C++/binary-gap.cpp -------------------------------------------------------------------------------- /C++/binary-search.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/C++/binary-search.cpp -------------------------------------------------------------------------------- /C++/binary-tree-cameras.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/C++/binary-tree-cameras.cpp -------------------------------------------------------------------------------- /C++/binary-tree-paths.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/C++/binary-tree-paths.cpp -------------------------------------------------------------------------------- /C++/binary-tree-pruning.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/C++/binary-tree-pruning.cpp -------------------------------------------------------------------------------- /C++/binary-tree-tilt.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/C++/binary-tree-tilt.cpp -------------------------------------------------------------------------------- /C++/binary-watch.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/C++/binary-watch.cpp -------------------------------------------------------------------------------- /C++/bomb-enemy.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/C++/bomb-enemy.cpp -------------------------------------------------------------------------------- /C++/brace-expansion-ii.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/C++/brace-expansion-ii.cpp -------------------------------------------------------------------------------- /C++/brace-expansion.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/C++/brace-expansion.cpp -------------------------------------------------------------------------------- /C++/break-a-palindrome.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/C++/break-a-palindrome.cpp -------------------------------------------------------------------------------- /C++/brick-wall.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/C++/brick-wall.cpp -------------------------------------------------------------------------------- /C++/broken-calculator.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/C++/broken-calculator.cpp -------------------------------------------------------------------------------- /C++/buddy-strings.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/C++/buddy-strings.cpp -------------------------------------------------------------------------------- /C++/building-boxes.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/C++/building-boxes.cpp -------------------------------------------------------------------------------- /C++/building-h2o.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/C++/building-h2o.cpp -------------------------------------------------------------------------------- /C++/bulb-switcher-ii.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/C++/bulb-switcher-ii.cpp -------------------------------------------------------------------------------- /C++/bulb-switcher-iii.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/C++/bulb-switcher-iii.cpp -------------------------------------------------------------------------------- /C++/bulb-switcher-iv.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/C++/bulb-switcher-iv.cpp -------------------------------------------------------------------------------- /C++/bulb-switcher.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/C++/bulb-switcher.cpp -------------------------------------------------------------------------------- /C++/bulls-and-cows.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/C++/bulls-and-cows.cpp -------------------------------------------------------------------------------- /C++/burst-balloons.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/C++/burst-balloons.cpp -------------------------------------------------------------------------------- /C++/bus-routes.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/C++/bus-routes.cpp -------------------------------------------------------------------------------- /C++/camelcase-matching.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/C++/camelcase-matching.cpp -------------------------------------------------------------------------------- /C++/campus-bikes-ii.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/C++/campus-bikes-ii.cpp -------------------------------------------------------------------------------- /C++/campus-bikes.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/C++/campus-bikes.cpp -------------------------------------------------------------------------------- /C++/can-i-win.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/C++/can-i-win.cpp -------------------------------------------------------------------------------- /C++/can-place-flowers.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/C++/can-place-flowers.cpp -------------------------------------------------------------------------------- /C++/canCompleteCircuit.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/C++/canCompleteCircuit.cpp -------------------------------------------------------------------------------- /C++/canJump.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/C++/canJump.cpp -------------------------------------------------------------------------------- /C++/candy-crush.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/C++/candy-crush.cpp -------------------------------------------------------------------------------- /C++/candy.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/C++/candy.cpp -------------------------------------------------------------------------------- /C++/car-fleet-ii.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/C++/car-fleet-ii.cpp -------------------------------------------------------------------------------- /C++/car-fleet.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/C++/car-fleet.cpp -------------------------------------------------------------------------------- /C++/car-pooling.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/C++/car-pooling.cpp -------------------------------------------------------------------------------- /C++/card-flipping-game.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/C++/card-flipping-game.cpp -------------------------------------------------------------------------------- /C++/cat-and-mouse-ii.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/C++/cat-and-mouse-ii.cpp -------------------------------------------------------------------------------- /C++/cat-and-mouse.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/C++/cat-and-mouse.cpp -------------------------------------------------------------------------------- /C++/chalkboard-xor-gam.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/C++/chalkboard-xor-gam.cpp -------------------------------------------------------------------------------- /C++/champagne-tower.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/C++/champagne-tower.cpp -------------------------------------------------------------------------------- /C++/cherry-pickup-ii.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/C++/cherry-pickup-ii.cpp -------------------------------------------------------------------------------- /C++/cherry-pickup.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/C++/cherry-pickup.cpp -------------------------------------------------------------------------------- /C++/circular-array-loop.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/C++/circular-array-loop.cpp -------------------------------------------------------------------------------- /C++/climbing-stairs.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/C++/climbing-stairs.cpp -------------------------------------------------------------------------------- /C++/clone-n-ary-tree.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/C++/clone-n-ary-tree.cpp -------------------------------------------------------------------------------- /C++/cloneGraph.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/C++/cloneGraph.cpp -------------------------------------------------------------------------------- /C++/closest-divisors.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/C++/closest-divisors.cpp -------------------------------------------------------------------------------- /C++/closest-room.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/C++/closest-room.cpp -------------------------------------------------------------------------------- /C++/clumsy-factorial.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/C++/clumsy-factorial.cpp -------------------------------------------------------------------------------- /C++/coin-change-2.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/C++/coin-change-2.cpp -------------------------------------------------------------------------------- /C++/coin-change.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/C++/coin-change.cpp -------------------------------------------------------------------------------- /C++/coin-path.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/C++/coin-path.cpp -------------------------------------------------------------------------------- /C++/coloring-a-border.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/C++/coloring-a-border.cpp -------------------------------------------------------------------------------- /C++/combination-sum-iii.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/C++/combination-sum-iii.cpp -------------------------------------------------------------------------------- /C++/combination-sum-iv.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/C++/combination-sum-iv.cpp -------------------------------------------------------------------------------- /C++/combinationSum.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/C++/combinationSum.cpp -------------------------------------------------------------------------------- /C++/combinationSum2.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/C++/combinationSum2.cpp -------------------------------------------------------------------------------- /C++/combinations.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/C++/combinations.cpp -------------------------------------------------------------------------------- /C++/combine.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/C++/combine.cpp -------------------------------------------------------------------------------- /C++/concatenated-words.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/C++/concatenated-words.cpp -------------------------------------------------------------------------------- /C++/confusing-number-ii.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/C++/confusing-number-ii.cpp -------------------------------------------------------------------------------- /C++/confusing-number.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/C++/confusing-number.cpp -------------------------------------------------------------------------------- /C++/connect.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/C++/connect.cpp -------------------------------------------------------------------------------- /C++/construct-quad-tree.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/C++/construct-quad-tree.cpp -------------------------------------------------------------------------------- /C++/contain-virus.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/C++/contain-virus.cpp -------------------------------------------------------------------------------- /C++/contains-duplicate.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/C++/contains-duplicate.cpp -------------------------------------------------------------------------------- /C++/contiguous-array.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/C++/contiguous-array.cpp -------------------------------------------------------------------------------- /C++/convert-to-base-2.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/C++/convert-to-base-2.cpp -------------------------------------------------------------------------------- /C++/convert.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/C++/convert.cpp -------------------------------------------------------------------------------- /C++/convex-polygon.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/C++/convex-polygon.cpp -------------------------------------------------------------------------------- /C++/count-and-say.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/C++/count-and-say.cpp -------------------------------------------------------------------------------- /C++/count-good-meals.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/C++/count-good-meals.cpp -------------------------------------------------------------------------------- /C++/count-good-numbers.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/C++/count-good-numbers.cpp -------------------------------------------------------------------------------- /C++/count-good-triplets.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/C++/count-good-triplets.cpp -------------------------------------------------------------------------------- /C++/count-largest-group.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/C++/count-largest-group.cpp -------------------------------------------------------------------------------- /C++/count-of-range-sum.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/C++/count-of-range-sum.cpp -------------------------------------------------------------------------------- /C++/count-primes.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/C++/count-primes.cpp -------------------------------------------------------------------------------- /C++/count-sub-islands.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/C++/count-sub-islands.cpp -------------------------------------------------------------------------------- /C++/counting-bits.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/C++/counting-bits.cpp -------------------------------------------------------------------------------- /C++/counting-elements.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/C++/counting-elements.cpp -------------------------------------------------------------------------------- /C++/course-schedule-ii.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/C++/course-schedule-ii.cpp -------------------------------------------------------------------------------- /C++/course-schedule-iii.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/C++/course-schedule-iii.cpp -------------------------------------------------------------------------------- /C++/course-schedule-iv.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/C++/course-schedule-iv.cpp -------------------------------------------------------------------------------- /C++/course-schedule.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/C++/course-schedule.cpp -------------------------------------------------------------------------------- /C++/cracking-the-safe.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/C++/cracking-the-safe.cpp -------------------------------------------------------------------------------- /C++/crawler-log-folder.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/C++/crawler-log-folder.cpp -------------------------------------------------------------------------------- /C++/custom-sort-string.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/C++/custom-sort-string.cpp -------------------------------------------------------------------------------- /C++/cutting-ribbons.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/C++/cutting-ribbons.cpp -------------------------------------------------------------------------------- /C++/daily-temperatures.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/C++/daily-temperatures.cpp -------------------------------------------------------------------------------- /C++/day-of-the-week.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/C++/day-of-the-week.cpp -------------------------------------------------------------------------------- /C++/day-of-the-year.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/C++/day-of-the-year.cpp -------------------------------------------------------------------------------- /C++/decode-string.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/C++/decode-string.cpp -------------------------------------------------------------------------------- /C++/decode-ways-ii.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/C++/decode-ways-ii.cpp -------------------------------------------------------------------------------- /C++/decode-ways.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/C++/decode-ways.cpp -------------------------------------------------------------------------------- /C++/decode-xored-array.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/C++/decode-xored-array.cpp -------------------------------------------------------------------------------- /C++/deepest-leaves-sum.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/C++/deepest-leaves-sum.cpp -------------------------------------------------------------------------------- /C++/defuse-the-bomb.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/C++/defuse-the-bomb.cpp -------------------------------------------------------------------------------- /C++/degree-of-an-array.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/C++/degree-of-an-array.cpp -------------------------------------------------------------------------------- /C++/delete-and-earn.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/C++/delete-and-earn.cpp -------------------------------------------------------------------------------- /C++/delete-tree-nodes.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/C++/delete-tree-nodes.cpp -------------------------------------------------------------------------------- /C++/design-bitset.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/C++/design-bitset.cpp -------------------------------------------------------------------------------- /C++/design-file-system.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/C++/design-file-system.cpp -------------------------------------------------------------------------------- /C++/design-hashmap.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/C++/design-hashmap.cpp -------------------------------------------------------------------------------- /C++/design-hashset.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/C++/design-hashset.cpp -------------------------------------------------------------------------------- /C++/design-hit-counter.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/C++/design-hit-counter.cpp -------------------------------------------------------------------------------- /C++/design-linked-list.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/C++/design-linked-list.cpp -------------------------------------------------------------------------------- /C++/design-skiplist.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/C++/design-skiplist.cpp -------------------------------------------------------------------------------- /C++/design-snake-game.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/C++/design-snake-game.cpp -------------------------------------------------------------------------------- /C++/design-twitter.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/C++/design-twitter.cpp -------------------------------------------------------------------------------- /C++/destination-city.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/C++/destination-city.cpp -------------------------------------------------------------------------------- /C++/detect-capital.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/C++/detect-capital.cpp -------------------------------------------------------------------------------- /C++/detect-squares.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/C++/detect-squares.cpp -------------------------------------------------------------------------------- /C++/di-string-match.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/C++/di-string-match.cpp -------------------------------------------------------------------------------- /C++/diagonal-traverse.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/C++/diagonal-traverse.cpp -------------------------------------------------------------------------------- /C++/distant-barcodes.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/C++/distant-barcodes.cpp -------------------------------------------------------------------------------- /C++/divide-chocolate.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/C++/divide-chocolate.cpp -------------------------------------------------------------------------------- /C++/divisor-game.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/C++/divisor-game.cpp -------------------------------------------------------------------------------- /C++/dota2-senate.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/C++/dota2-senate.cpp -------------------------------------------------------------------------------- /C++/duplicate-zeros.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/C++/duplicate-zeros.cpp -------------------------------------------------------------------------------- /C++/elimination-game.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/C++/elimination-game.cpp -------------------------------------------------------------------------------- /C++/encode-number.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/C++/encode-number.cpp -------------------------------------------------------------------------------- /C++/erect-the-fence.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/C++/erect-the-fence.cpp -------------------------------------------------------------------------------- /C++/escape-the-ghosts.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/C++/escape-the-ghosts.cpp -------------------------------------------------------------------------------- /C++/evaluate-division.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/C++/evaluate-division.cpp -------------------------------------------------------------------------------- /C++/even-odd-tree.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/C++/even-odd-tree.cpp -------------------------------------------------------------------------------- /C++/exam-room.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/C++/exam-room.cpp -------------------------------------------------------------------------------- /C++/exist.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/C++/exist.cpp -------------------------------------------------------------------------------- /C++/expressive-words.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/C++/expressive-words.cpp -------------------------------------------------------------------------------- /C++/fair-candy-swap.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/C++/fair-candy-swap.cpp -------------------------------------------------------------------------------- /C++/falling-squares.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/C++/falling-squares.cpp -------------------------------------------------------------------------------- /C++/fancy-sequence.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/C++/fancy-sequence.cpp -------------------------------------------------------------------------------- /C++/faulty-sensor.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/C++/faulty-sensor.cpp -------------------------------------------------------------------------------- /C++/fibonacci-number.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/C++/fibonacci-number.cpp -------------------------------------------------------------------------------- /C++/find-peak-element.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/C++/find-peak-element.cpp -------------------------------------------------------------------------------- /C++/find-permutation.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/C++/find-permutation.cpp -------------------------------------------------------------------------------- /C++/find-pivot-index.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/C++/find-pivot-index.cpp -------------------------------------------------------------------------------- /C++/first-bad-version.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/C++/first-bad-version.cpp -------------------------------------------------------------------------------- /C++/fixed-point.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/C++/fixed-point.cpp -------------------------------------------------------------------------------- /C++/fizz-buzz.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/C++/fizz-buzz.cpp -------------------------------------------------------------------------------- /C++/flatten-2d-vector.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/C++/flatten-2d-vector.cpp -------------------------------------------------------------------------------- /C++/flatten.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/C++/flatten.cpp -------------------------------------------------------------------------------- /C++/flip-game-ii.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/C++/flip-game-ii.cpp -------------------------------------------------------------------------------- /C++/flip-game.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/C++/flip-game.cpp -------------------------------------------------------------------------------- /C++/flipping-an-image.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/C++/flipping-an-image.cpp -------------------------------------------------------------------------------- /C++/flood-fill.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/C++/flood-fill.cpp -------------------------------------------------------------------------------- /C++/four-divisors.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/C++/four-divisors.cpp -------------------------------------------------------------------------------- /C++/freedom-trail.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/C++/freedom-trail.cpp -------------------------------------------------------------------------------- /C++/friend-circles.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/C++/friend-circles.cpp -------------------------------------------------------------------------------- /C++/frog-jump.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/C++/frog-jump.cpp -------------------------------------------------------------------------------- /C++/game-of-life.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/C++/game-of-life.cpp -------------------------------------------------------------------------------- /C++/game-of-nim.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/C++/game-of-nim.cpp -------------------------------------------------------------------------------- /C++/getRow.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/C++/getRow.cpp -------------------------------------------------------------------------------- /C++/goat-latin.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/C++/goat-latin.cpp -------------------------------------------------------------------------------- /C++/graph-valid-tree.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/C++/graph-valid-tree.cpp -------------------------------------------------------------------------------- /C++/gray-code.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/C++/gray-code.cpp -------------------------------------------------------------------------------- /C++/grid-game.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/C++/grid-game.cpp -------------------------------------------------------------------------------- /C++/grid-illumination.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/C++/grid-illumination.cpp -------------------------------------------------------------------------------- /C++/group-anagrams.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/C++/group-anagrams.cpp -------------------------------------------------------------------------------- /C++/groups-of-strings.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/C++/groups-of-strings.cpp -------------------------------------------------------------------------------- /C++/guess-the-word.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/C++/guess-the-word.cpp -------------------------------------------------------------------------------- /C++/h-index-ii.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/C++/h-index-ii.cpp -------------------------------------------------------------------------------- /C++/h-index.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/C++/h-index.cpp -------------------------------------------------------------------------------- /C++/hamming-distance.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/C++/hamming-distance.cpp -------------------------------------------------------------------------------- /C++/hand-of-straights.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/C++/hand-of-straights.cpp -------------------------------------------------------------------------------- /C++/happy-number.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/C++/happy-number.cpp -------------------------------------------------------------------------------- /C++/hasPathSum.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/C++/hasPathSum.cpp -------------------------------------------------------------------------------- /C++/heaters.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/C++/heaters.cpp -------------------------------------------------------------------------------- /C++/height-checker.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/C++/height-checker.cpp -------------------------------------------------------------------------------- /C++/hexspeak.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/C++/hexspeak.cpp -------------------------------------------------------------------------------- /C++/high-five.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/C++/high-five.cpp -------------------------------------------------------------------------------- /C++/house-robber-ii.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/C++/house-robber-ii.cpp -------------------------------------------------------------------------------- /C++/house-robber-iii.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/C++/house-robber-iii.cpp -------------------------------------------------------------------------------- /C++/house-robber.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/C++/house-robber.cpp -------------------------------------------------------------------------------- /C++/image-overlap.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/C++/image-overlap.cpp -------------------------------------------------------------------------------- /C++/image-smoother.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/C++/image-smoother.cpp -------------------------------------------------------------------------------- /C++/implement-strstr.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/C++/implement-strstr.cpp -------------------------------------------------------------------------------- /C++/insert-interval.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/C++/insert-interval.cpp -------------------------------------------------------------------------------- /C++/integer-break.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/C++/integer-break.cpp -------------------------------------------------------------------------------- /C++/integer-to-roman.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/C++/integer-to-roman.cpp -------------------------------------------------------------------------------- /C++/ip-to-cidr.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/C++/ip-to-cidr.cpp -------------------------------------------------------------------------------- /C++/ipo.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/C++/ipo.cpp -------------------------------------------------------------------------------- /C++/is-subsequence.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/C++/is-subsequence.cpp -------------------------------------------------------------------------------- /C++/isInterleave.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/C++/isInterleave.cpp -------------------------------------------------------------------------------- /C++/isMatch.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/C++/isMatch.cpp -------------------------------------------------------------------------------- /C++/isScramble.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/C++/isScramble.cpp -------------------------------------------------------------------------------- /C++/isValidBST2.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/C++/isValidBST2.cpp -------------------------------------------------------------------------------- /C++/island-perimeter.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/C++/island-perimeter.cpp -------------------------------------------------------------------------------- /C++/jewels-and-stones.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/C++/jewels-and-stones.cpp -------------------------------------------------------------------------------- /C++/jump-game-iii.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/C++/jump-game-iii.cpp -------------------------------------------------------------------------------- /C++/jump-game-iv.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/C++/jump-game-iv.cpp -------------------------------------------------------------------------------- /C++/jump-game-v.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/C++/jump-game-v.cpp -------------------------------------------------------------------------------- /C++/jump-game-vi.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/C++/jump-game-vi.cpp -------------------------------------------------------------------------------- /C++/jump-game-vii.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/C++/jump-game-vii.cpp -------------------------------------------------------------------------------- /C++/jump-game.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/C++/jump-game.cpp -------------------------------------------------------------------------------- /C++/jump.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/C++/jump.cpp -------------------------------------------------------------------------------- /C++/k-empty-slots.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/C++/k-empty-slots.cpp -------------------------------------------------------------------------------- /C++/k-similar-strings.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/C++/k-similar-strings.cpp -------------------------------------------------------------------------------- /C++/keyboard-row.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/C++/keyboard-row.cpp -------------------------------------------------------------------------------- /C++/keys-and-rooms.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/C++/keys-and-rooms.cpp -------------------------------------------------------------------------------- /C++/kill-process.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/C++/kill-process.cpp -------------------------------------------------------------------------------- /C++/knight-dialer.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/C++/knight-dialer.cpp -------------------------------------------------------------------------------- /C++/ladderLength.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/C++/ladderLength.cpp -------------------------------------------------------------------------------- /C++/largest-number.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/C++/largest-number.cpp -------------------------------------------------------------------------------- /C++/largest-plus-sign.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/C++/largest-plus-sign.cpp -------------------------------------------------------------------------------- /C++/last-stone-weight.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/C++/last-stone-weight.cpp -------------------------------------------------------------------------------- /C++/lemonade-change.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/C++/lemonade-change.cpp -------------------------------------------------------------------------------- /C++/lfu-cache.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/C++/lfu-cache.cpp -------------------------------------------------------------------------------- /C++/line-reflection.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/C++/line-reflection.cpp -------------------------------------------------------------------------------- /C++/linked-list-cycle.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/C++/linked-list-cycle.cpp -------------------------------------------------------------------------------- /C++/lonely-pixel-i.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/C++/lonely-pixel-i.cpp -------------------------------------------------------------------------------- /C++/lonely-pixel-ii.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/C++/lonely-pixel-ii.cpp -------------------------------------------------------------------------------- /C++/long-pressed-name.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/C++/long-pressed-name.cpp -------------------------------------------------------------------------------- /C++/loud-and-rich.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/C++/loud-and-rich.cpp -------------------------------------------------------------------------------- /C++/lru-cache.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/C++/lru-cache.cpp -------------------------------------------------------------------------------- /C++/magical-string.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/C++/magical-string.cpp -------------------------------------------------------------------------------- /C++/majority-element.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/C++/majority-element.cpp -------------------------------------------------------------------------------- /C++/map-sum-pairs.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/C++/map-sum-pairs.cpp -------------------------------------------------------------------------------- /C++/matrix-block-sum.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/C++/matrix-block-sum.cpp -------------------------------------------------------------------------------- /C++/max-stack.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/C++/max-stack.cpp -------------------------------------------------------------------------------- /C++/maxPathSum.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/C++/maxPathSum.cpp -------------------------------------------------------------------------------- /C++/maxProfitII.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/C++/maxProfitII.cpp -------------------------------------------------------------------------------- /C++/maxProfitIII.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/C++/maxProfitIII.cpp -------------------------------------------------------------------------------- /C++/maximal-rectangle.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/C++/maximal-rectangle.cpp -------------------------------------------------------------------------------- /C++/maximal-square.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/C++/maximal-square.cpp -------------------------------------------------------------------------------- /C++/maximum-69-number.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/C++/maximum-69-number.cpp -------------------------------------------------------------------------------- /C++/maximum-gap.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/C++/maximum-gap.cpp -------------------------------------------------------------------------------- /C++/maximum-subarray.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/C++/maximum-subarray.cpp -------------------------------------------------------------------------------- /C++/maximum-swap.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/C++/maximum-swap.cpp -------------------------------------------------------------------------------- /C++/meeting-rooms-ii.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/C++/meeting-rooms-ii.cpp -------------------------------------------------------------------------------- /C++/meeting-rooms.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/C++/meeting-rooms.cpp -------------------------------------------------------------------------------- /C++/meeting-scheduler.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/C++/meeting-scheduler.cpp -------------------------------------------------------------------------------- /C++/merge-intervals.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/C++/merge-intervals.cpp -------------------------------------------------------------------------------- /C++/merge2.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/C++/merge2.cpp -------------------------------------------------------------------------------- /C++/min-stack.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/C++/min-stack.cpp -------------------------------------------------------------------------------- /C++/minCut.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/C++/minCut.cpp -------------------------------------------------------------------------------- /C++/minDepth.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/C++/minDepth.cpp -------------------------------------------------------------------------------- /C++/minDistance.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/C++/minDistance.cpp -------------------------------------------------------------------------------- /C++/minPathSum.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/C++/minPathSum.cpp -------------------------------------------------------------------------------- /C++/minesweeper.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/C++/minesweeper.cpp -------------------------------------------------------------------------------- /C++/mini-parser.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/C++/mini-parser.cpp -------------------------------------------------------------------------------- /C++/minimumTotal.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/C++/minimumTotal.cpp -------------------------------------------------------------------------------- /C++/minimumTotal2.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/C++/minimumTotal2.cpp -------------------------------------------------------------------------------- /C++/mirror-reflection.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/C++/mirror-reflection.cpp -------------------------------------------------------------------------------- /C++/missing-number.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/C++/missing-number.cpp -------------------------------------------------------------------------------- /C++/missing-ranges.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/C++/missing-ranges.cpp -------------------------------------------------------------------------------- /C++/monotonic-array.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/C++/monotonic-array.cpp -------------------------------------------------------------------------------- /C++/most-common-word.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/C++/most-common-word.cpp -------------------------------------------------------------------------------- /C++/move-zeroes.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/C++/move-zeroes.cpp -------------------------------------------------------------------------------- /C++/multiply-strings.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/C++/multiply-strings.cpp -------------------------------------------------------------------------------- /C++/my-calendar-i.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/C++/my-calendar-i.cpp -------------------------------------------------------------------------------- /C++/my-calendar-ii.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/C++/my-calendar-ii.cpp -------------------------------------------------------------------------------- /C++/my-calendar-iii.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/C++/my-calendar-iii.cpp -------------------------------------------------------------------------------- /C++/new-21-game.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/C++/new-21-game.cpp -------------------------------------------------------------------------------- /C++/next-closest-time.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/C++/next-closest-time.cpp -------------------------------------------------------------------------------- /C++/next-permutation.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/C++/next-permutation.cpp -------------------------------------------------------------------------------- /C++/nim-game.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/C++/nim-game.cpp -------------------------------------------------------------------------------- /C++/nth-digit.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/C++/nth-digit.cpp -------------------------------------------------------------------------------- /C++/numDistinct.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/C++/numDistinct.cpp -------------------------------------------------------------------------------- /C++/number-complement.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/C++/number-complement.cpp -------------------------------------------------------------------------------- /C++/number-of-1-bits.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/C++/number-of-1-bits.cpp -------------------------------------------------------------------------------- /C++/number-of-atoms.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/C++/number-of-atoms.cpp -------------------------------------------------------------------------------- /C++/number-of-islands.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/C++/number-of-islands.cpp -------------------------------------------------------------------------------- /C++/odd-even-jump.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/C++/odd-even-jump.cpp -------------------------------------------------------------------------------- /C++/one-edit-distance.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/C++/one-edit-distance.cpp -------------------------------------------------------------------------------- /C++/ones-and-zeroes.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/C++/ones-and-zeroes.cpp -------------------------------------------------------------------------------- /C++/online-election.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/C++/online-election.cpp -------------------------------------------------------------------------------- /C++/online-stock-span.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/C++/online-stock-span.cpp -------------------------------------------------------------------------------- /C++/open-the-lock.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/C++/open-the-lock.cpp -------------------------------------------------------------------------------- /C++/optimal-division.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/C++/optimal-division.cpp -------------------------------------------------------------------------------- /C++/orderly-queue.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/C++/orderly-queue.cpp -------------------------------------------------------------------------------- /C++/paint-fence.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/C++/paint-fence.cpp -------------------------------------------------------------------------------- /C++/paint-house-ii.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/C++/paint-house-ii.cpp -------------------------------------------------------------------------------- /C++/paint-house-iii.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/C++/paint-house-iii.cpp -------------------------------------------------------------------------------- /C++/paint-house.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/C++/paint-house.cpp -------------------------------------------------------------------------------- /C++/palindrome-number.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/C++/palindrome-number.cpp -------------------------------------------------------------------------------- /C++/palindrome-pairs.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/C++/palindrome-pairs.cpp -------------------------------------------------------------------------------- /C++/pancake-sorting.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/C++/pancake-sorting.cpp -------------------------------------------------------------------------------- /C++/parallel-courses.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/C++/parallel-courses.cpp -------------------------------------------------------------------------------- /C++/partition-labels.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/C++/partition-labels.cpp -------------------------------------------------------------------------------- /C++/partition-list.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/C++/partition-list.cpp -------------------------------------------------------------------------------- /C++/pascals-triangle.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/C++/pascals-triangle.cpp -------------------------------------------------------------------------------- /C++/patching-array.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/C++/patching-array.cpp -------------------------------------------------------------------------------- /C++/path-crossing.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/C++/path-crossing.cpp -------------------------------------------------------------------------------- /C++/path-sum-iii.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/C++/path-sum-iii.cpp -------------------------------------------------------------------------------- /C++/path-sum-iv.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/C++/path-sum-iv.cpp -------------------------------------------------------------------------------- /C++/pathSum.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/C++/pathSum.cpp -------------------------------------------------------------------------------- /C++/peeking-iterator.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/C++/peeking-iterator.cpp -------------------------------------------------------------------------------- /C++/perfect-number.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/C++/perfect-number.cpp -------------------------------------------------------------------------------- /C++/perfect-rectangle.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/C++/perfect-rectangle.cpp -------------------------------------------------------------------------------- /C++/perfect-squares.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/C++/perfect-squares.cpp -------------------------------------------------------------------------------- /C++/permuteUnique.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/C++/permuteUnique.cpp -------------------------------------------------------------------------------- /C++/play-with-chips.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/C++/play-with-chips.cpp -------------------------------------------------------------------------------- /C++/plus-one.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/C++/plus-one.cpp -------------------------------------------------------------------------------- /C++/poor-pigs.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/C++/poor-pigs.cpp -------------------------------------------------------------------------------- /C++/pour-water.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/C++/pour-water.cpp -------------------------------------------------------------------------------- /C++/power-of-four.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/C++/power-of-four.cpp -------------------------------------------------------------------------------- /C++/power-of-three.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/C++/power-of-three.cpp -------------------------------------------------------------------------------- /C++/power-of-two.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/C++/power-of-two.cpp -------------------------------------------------------------------------------- /C++/powerful-integers.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/C++/powerful-integers.cpp -------------------------------------------------------------------------------- /C++/powx-n.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/C++/powx-n.cpp -------------------------------------------------------------------------------- /C++/prime-palindrome.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/C++/prime-palindrome.cpp -------------------------------------------------------------------------------- /C++/print-binary-tree.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/C++/print-binary-tree.cpp -------------------------------------------------------------------------------- /C++/print-in-order.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/C++/print-in-order.cpp -------------------------------------------------------------------------------- /C++/push-dominoes.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/C++/push-dominoes.cpp -------------------------------------------------------------------------------- /C++/rabbits-in-forest.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/C++/rabbits-in-forest.cpp -------------------------------------------------------------------------------- /C++/race-car.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/C++/race-car.cpp -------------------------------------------------------------------------------- /C++/random-pick-index.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/C++/random-pick-index.cpp -------------------------------------------------------------------------------- /C++/range-addition-ii.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/C++/range-addition-ii.cpp -------------------------------------------------------------------------------- /C++/range-addition.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/C++/range-addition.cpp -------------------------------------------------------------------------------- /C++/range-module.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/C++/range-module.cpp -------------------------------------------------------------------------------- /C++/range-sum-of-bst.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/C++/range-sum-of-bst.cpp -------------------------------------------------------------------------------- /C++/ransom-note.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/C++/ransom-note.cpp -------------------------------------------------------------------------------- /C++/reach-a-number.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/C++/reach-a-number.cpp -------------------------------------------------------------------------------- /C++/reaching-points.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/C++/reaching-points.cpp -------------------------------------------------------------------------------- /C++/rectangle-area-ii.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/C++/rectangle-area-ii.cpp -------------------------------------------------------------------------------- /C++/rectangle-area.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/C++/rectangle-area.cpp -------------------------------------------------------------------------------- /C++/rectangle-overlap.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/C++/rectangle-overlap.cpp -------------------------------------------------------------------------------- /C++/reducing-dishes.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/C++/reducing-dishes.cpp -------------------------------------------------------------------------------- /C++/reformat-date.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/C++/reformat-date.cpp -------------------------------------------------------------------------------- /C++/relative-ranks.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/C++/relative-ranks.cpp -------------------------------------------------------------------------------- /C++/remove-9.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/C++/remove-9.cpp -------------------------------------------------------------------------------- /C++/remove-boxes.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/C++/remove-boxes.cpp -------------------------------------------------------------------------------- /C++/remove-comments.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/C++/remove-comments.cpp -------------------------------------------------------------------------------- /C++/remove-element.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/C++/remove-element.cpp -------------------------------------------------------------------------------- /C++/remove-interval.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/C++/remove-interval.cpp -------------------------------------------------------------------------------- /C++/remove-k-digits.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/C++/remove-k-digits.cpp -------------------------------------------------------------------------------- /C++/reorder-list.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/C++/reorder-list.cpp -------------------------------------------------------------------------------- /C++/reorder-log-files.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/C++/reorder-log-files.cpp -------------------------------------------------------------------------------- /C++/reorganize-string.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/C++/reorganize-string.cpp -------------------------------------------------------------------------------- /C++/replace-words.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/C++/replace-words.cpp -------------------------------------------------------------------------------- /C++/restore-the-array.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/C++/restore-the-array.cpp -------------------------------------------------------------------------------- /C++/reverse-bits.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/C++/reverse-bits.cpp -------------------------------------------------------------------------------- /C++/reverse-integer.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/C++/reverse-integer.cpp -------------------------------------------------------------------------------- /C++/reverse-pairs.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/C++/reverse-pairs.cpp -------------------------------------------------------------------------------- /C++/reverse-string-ii.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/C++/reverse-string-ii.cpp -------------------------------------------------------------------------------- /C++/reverse-string.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/C++/reverse-string.cpp -------------------------------------------------------------------------------- /C++/rings-and-rods.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/C++/rings-and-rods.cpp -------------------------------------------------------------------------------- /C++/rle-iterator.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/C++/rle-iterator.cpp -------------------------------------------------------------------------------- /C++/roman-to-integer.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/C++/roman-to-integer.cpp -------------------------------------------------------------------------------- /C++/rotate-array.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/C++/rotate-array.cpp -------------------------------------------------------------------------------- /C++/rotate-function.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/C++/rotate-function.cpp -------------------------------------------------------------------------------- /C++/rotate-image.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/C++/rotate-image.cpp -------------------------------------------------------------------------------- /C++/rotate-list.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/C++/rotate-list.cpp -------------------------------------------------------------------------------- /C++/rotate-string.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/C++/rotate-string.cpp -------------------------------------------------------------------------------- /C++/rotated-digits.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/C++/rotated-digits.cpp -------------------------------------------------------------------------------- /C++/rotating-the-box.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/C++/rotating-the-box.cpp -------------------------------------------------------------------------------- /C++/rotting-oranges.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/C++/rotting-oranges.cpp -------------------------------------------------------------------------------- /C++/same-tree.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/C++/same-tree.cpp -------------------------------------------------------------------------------- /C++/searchMatrix2.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/C++/searchMatrix2.cpp -------------------------------------------------------------------------------- /C++/self-crossing.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/C++/self-crossing.cpp -------------------------------------------------------------------------------- /C++/sequential-digits.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/C++/sequential-digits.cpp -------------------------------------------------------------------------------- /C++/set-matrix-zeroes.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/C++/set-matrix-zeroes.cpp -------------------------------------------------------------------------------- /C++/set-mismatch.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/C++/set-mismatch.cpp -------------------------------------------------------------------------------- /C++/shift-2d-grid.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/C++/shift-2d-grid.cpp -------------------------------------------------------------------------------- /C++/shifting-letters.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/C++/shifting-letters.cpp -------------------------------------------------------------------------------- /C++/shopping-offers.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/C++/shopping-offers.cpp -------------------------------------------------------------------------------- /C++/shortest-bridge.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/C++/shortest-bridge.cpp -------------------------------------------------------------------------------- /C++/shuffle-an-array.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/C++/shuffle-an-array.cpp -------------------------------------------------------------------------------- /C++/shuffle-string.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/C++/shuffle-string.cpp -------------------------------------------------------------------------------- /C++/shuffle-the-array.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/C++/shuffle-the-array.cpp -------------------------------------------------------------------------------- /C++/similar-rgb-color.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/C++/similar-rgb-color.cpp -------------------------------------------------------------------------------- /C++/simplify-path.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/C++/simplify-path.cpp -------------------------------------------------------------------------------- /C++/single-number-ii.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/C++/single-number-ii.cpp -------------------------------------------------------------------------------- /C++/single-number-iii.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/C++/single-number-iii.cpp -------------------------------------------------------------------------------- /C++/single-number.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/C++/single-number.cpp -------------------------------------------------------------------------------- /C++/sliding-puzzle.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/C++/sliding-puzzle.cpp -------------------------------------------------------------------------------- /C++/slowest-key.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/C++/slowest-key.cpp -------------------------------------------------------------------------------- /C++/smallest-range-i.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/C++/smallest-range-i.cpp -------------------------------------------------------------------------------- /C++/smallest-range-ii.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/C++/smallest-range-ii.cpp -------------------------------------------------------------------------------- /C++/smallest-range.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/C++/smallest-range.cpp -------------------------------------------------------------------------------- /C++/snapshot-array.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/C++/snapshot-array.cpp -------------------------------------------------------------------------------- /C++/solveNQueens.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/C++/solveNQueens.cpp -------------------------------------------------------------------------------- /C++/solveSudoku.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/C++/solveSudoku.cpp -------------------------------------------------------------------------------- /C++/sort-an-array.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/C++/sort-an-array.cpp -------------------------------------------------------------------------------- /C++/sort-colors.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/C++/sort-colors.cpp -------------------------------------------------------------------------------- /C++/sort-list.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/C++/sort-list.cpp -------------------------------------------------------------------------------- /C++/sortColors.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/C++/sortColors.cpp -------------------------------------------------------------------------------- /C++/soup-servings.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/C++/soup-servings.cpp -------------------------------------------------------------------------------- /C++/spiral-matrix-ii.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/C++/spiral-matrix-ii.cpp -------------------------------------------------------------------------------- /C++/spiral-matrix-iii.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/C++/spiral-matrix-iii.cpp -------------------------------------------------------------------------------- /C++/spiral-matrix.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/C++/spiral-matrix.cpp -------------------------------------------------------------------------------- /C++/split-bst.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/C++/split-bst.cpp -------------------------------------------------------------------------------- /C++/sqrtx.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/C++/sqrtx.cpp -------------------------------------------------------------------------------- /C++/stamping-the-grid.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/C++/stamping-the-grid.cpp -------------------------------------------------------------------------------- /C++/stepping-numbers.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/C++/stepping-numbers.cpp -------------------------------------------------------------------------------- /C++/stone-game-ii.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/C++/stone-game-ii.cpp -------------------------------------------------------------------------------- /C++/stone-game-iii.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/C++/stone-game-iii.cpp -------------------------------------------------------------------------------- /C++/stone-game-iv.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/C++/stone-game-iv.cpp -------------------------------------------------------------------------------- /C++/stone-game-ix.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/C++/stone-game-ix.cpp -------------------------------------------------------------------------------- /C++/stone-game-v.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/C++/stone-game-v.cpp -------------------------------------------------------------------------------- /C++/stone-game-vi.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/C++/stone-game-vi.cpp -------------------------------------------------------------------------------- /C++/stone-game-vii.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/C++/stone-game-vii.cpp -------------------------------------------------------------------------------- /C++/stone-game-viii.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/C++/stone-game-viii.cpp -------------------------------------------------------------------------------- /C++/stone-game.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/C++/stone-game.cpp -------------------------------------------------------------------------------- /C++/strange-printer.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/C++/strange-printer.cpp -------------------------------------------------------------------------------- /C++/subsets-ii.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/C++/subsets-ii.cpp -------------------------------------------------------------------------------- /C++/subsets.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/C++/subsets.cpp -------------------------------------------------------------------------------- /C++/sum-game.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/C++/sum-game.cpp -------------------------------------------------------------------------------- /C++/sumNumbers.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/C++/sumNumbers.cpp -------------------------------------------------------------------------------- /C++/summary-ranges.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/C++/summary-ranges.cpp -------------------------------------------------------------------------------- /C++/super-egg-drop.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/C++/super-egg-drop.cpp -------------------------------------------------------------------------------- /C++/super-palindromes.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/C++/super-palindromes.cpp -------------------------------------------------------------------------------- /C++/super-pow.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/C++/super-pow.cpp -------------------------------------------------------------------------------- /C++/super-ugly-number.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/C++/super-ugly-number.cpp -------------------------------------------------------------------------------- /C++/surroundedRegions.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/C++/surroundedRegions.cpp -------------------------------------------------------------------------------- /C++/symmetric-tree.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/C++/symmetric-tree.cpp -------------------------------------------------------------------------------- /C++/tag-validator.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/C++/tag-validator.cpp -------------------------------------------------------------------------------- /C++/tallest-billboard.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/C++/tallest-billboard.cpp -------------------------------------------------------------------------------- /C++/target-sum.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/C++/target-sum.cpp -------------------------------------------------------------------------------- /C++/task-scheduler.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/C++/task-scheduler.cpp -------------------------------------------------------------------------------- /C++/teemo-attacking.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/C++/teemo-attacking.cpp -------------------------------------------------------------------------------- /C++/the-maze-ii.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/C++/the-maze-ii.cpp -------------------------------------------------------------------------------- /C++/the-maze-iii.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/C++/the-maze-iii.cpp -------------------------------------------------------------------------------- /C++/the-maze.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/C++/the-maze.cpp -------------------------------------------------------------------------------- /C++/three-divisors.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/C++/three-divisors.cpp -------------------------------------------------------------------------------- /C++/three-equal-parts.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/C++/three-equal-parts.cpp -------------------------------------------------------------------------------- /C++/threeSum2.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/C++/threeSum2.cpp -------------------------------------------------------------------------------- /C++/to-lower-case.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/C++/to-lower-case.cpp -------------------------------------------------------------------------------- /C++/toeplitz-matrix.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/C++/toeplitz-matrix.cpp -------------------------------------------------------------------------------- /C++/totalNQueens.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/C++/totalNQueens.cpp -------------------------------------------------------------------------------- /C++/transpose-matrix.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/C++/transpose-matrix.cpp -------------------------------------------------------------------------------- /C++/tree-diameter.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/C++/tree-diameter.cpp -------------------------------------------------------------------------------- /C++/tree-of-coprimes.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/C++/tree-of-coprimes.cpp -------------------------------------------------------------------------------- /C++/truncate-sentence.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/C++/truncate-sentence.cpp -------------------------------------------------------------------------------- /C++/two-out-of-three.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/C++/two-out-of-three.cpp -------------------------------------------------------------------------------- /C++/two-sum-bsts.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/C++/two-sum-bsts.cpp -------------------------------------------------------------------------------- /C++/two-sum.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/C++/two-sum.cpp -------------------------------------------------------------------------------- /C++/ugly-number-ii.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/C++/ugly-number-ii.cpp -------------------------------------------------------------------------------- /C++/ugly-number-iii.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/C++/ugly-number-iii.cpp -------------------------------------------------------------------------------- /C++/ugly-number.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/C++/ugly-number.cpp -------------------------------------------------------------------------------- /C++/uncrossed-lines.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/C++/uncrossed-lines.cpp -------------------------------------------------------------------------------- /C++/unique-paths-iii.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/C++/unique-paths-iii.cpp -------------------------------------------------------------------------------- /C++/uniquePaths.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/C++/uniquePaths.cpp -------------------------------------------------------------------------------- /C++/uniquePaths2.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/C++/uniquePaths2.cpp -------------------------------------------------------------------------------- /C++/utf-8-validation.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/C++/utf-8-validation.cpp -------------------------------------------------------------------------------- /C++/valid-anagram.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/C++/valid-anagram.cpp -------------------------------------------------------------------------------- /C++/valid-boomerang.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/C++/valid-boomerang.cpp -------------------------------------------------------------------------------- /C++/valid-number.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/C++/valid-number.cpp -------------------------------------------------------------------------------- /C++/valid-palindrome.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/C++/valid-palindrome.cpp -------------------------------------------------------------------------------- /C++/valid-parentheses.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/C++/valid-parentheses.cpp -------------------------------------------------------------------------------- /C++/valid-square.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/C++/valid-square.cpp -------------------------------------------------------------------------------- /C++/valid-sudoku.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/C++/valid-sudoku.cpp -------------------------------------------------------------------------------- /C++/valid-word-square.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/C++/valid-word-square.cpp -------------------------------------------------------------------------------- /C++/video-stitching.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/C++/video-stitching.cpp -------------------------------------------------------------------------------- /C++/walls-and-gates.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/C++/walls-and-gates.cpp -------------------------------------------------------------------------------- /C++/water-bottles.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/C++/water-bottles.cpp -------------------------------------------------------------------------------- /C++/watering-plants.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/C++/watering-plants.cpp -------------------------------------------------------------------------------- /C++/web-crawler.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/C++/web-crawler.cpp -------------------------------------------------------------------------------- /C++/wiggle-sort-ii.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/C++/wiggle-sort-ii.cpp -------------------------------------------------------------------------------- /C++/wiggle-sort.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/C++/wiggle-sort.cpp -------------------------------------------------------------------------------- /C++/word-abbreviation.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/C++/word-abbreviation.cpp -------------------------------------------------------------------------------- /C++/word-break-ii.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/C++/word-break-ii.cpp -------------------------------------------------------------------------------- /C++/word-break.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/C++/word-break.cpp -------------------------------------------------------------------------------- /C++/word-ladder-ii.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/C++/word-ladder-ii.cpp -------------------------------------------------------------------------------- /C++/word-ladder.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/C++/word-ladder.cpp -------------------------------------------------------------------------------- /C++/word-pattern-ii.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/C++/word-pattern-ii.cpp -------------------------------------------------------------------------------- /C++/word-pattern.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/C++/word-pattern.cpp -------------------------------------------------------------------------------- /C++/word-search-ii.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/C++/word-search-ii.cpp -------------------------------------------------------------------------------- /C++/word-search.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/C++/word-search.cpp -------------------------------------------------------------------------------- /C++/word-squares.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/C++/word-squares.cpp -------------------------------------------------------------------------------- /C++/word-subsets.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/C++/word-subsets.cpp -------------------------------------------------------------------------------- /C++/wordBreakII.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/C++/wordBreakII.cpp -------------------------------------------------------------------------------- /C++/zigzag-conversion.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/C++/zigzag-conversion.cpp -------------------------------------------------------------------------------- /C++/zigzag-iterator.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/C++/zigzag-iterator.cpp -------------------------------------------------------------------------------- /C++/zigzagLevelOrder.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/C++/zigzagLevelOrder.cpp -------------------------------------------------------------------------------- /C++/zuma-game.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/C++/zuma-game.cpp -------------------------------------------------------------------------------- /Golang/add-two-numbers.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/Golang/add-two-numbers.go -------------------------------------------------------------------------------- /Golang/two-sum.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/Golang/two-sum.go -------------------------------------------------------------------------------- /Golang/two-sum_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/Golang/two-sum_test.go -------------------------------------------------------------------------------- /Leetcode/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/Leetcode/README.md -------------------------------------------------------------------------------- /MySQL/account-balance.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/MySQL/account-balance.sql -------------------------------------------------------------------------------- /MySQL/active-users.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/MySQL/active-users.sql -------------------------------------------------------------------------------- /MySQL/ads-performance.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/MySQL/ads-performance.sql -------------------------------------------------------------------------------- /MySQL/apples-oranges.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/MySQL/apples-oranges.sql -------------------------------------------------------------------------------- /MySQL/article-views-i.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/MySQL/article-views-i.sql -------------------------------------------------------------------------------- /MySQL/big-countries.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/MySQL/big-countries.sql -------------------------------------------------------------------------------- /MySQL/employee-bonus.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/MySQL/employee-bonus.sql -------------------------------------------------------------------------------- /MySQL/exchange-seats.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/MySQL/exchange-seats.sql -------------------------------------------------------------------------------- /MySQL/invalid-tweets.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/MySQL/invalid-tweets.sql -------------------------------------------------------------------------------- /MySQL/movie-rating.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/MySQL/movie-rating.sql -------------------------------------------------------------------------------- /MySQL/npv-queries.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/MySQL/npv-queries.sql -------------------------------------------------------------------------------- /MySQL/rank-scores.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/MySQL/rank-scores.sql -------------------------------------------------------------------------------- /MySQL/rectangles-area.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/MySQL/rectangles-area.sql -------------------------------------------------------------------------------- /MySQL/reported-posts.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/MySQL/reported-posts.sql -------------------------------------------------------------------------------- /MySQL/sales-person.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/MySQL/sales-person.sql -------------------------------------------------------------------------------- /MySQL/swap-salary.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/MySQL/swap-salary.sql -------------------------------------------------------------------------------- /MySQL/top-travellers.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/MySQL/top-travellers.sql -------------------------------------------------------------------------------- /MySQL/tree-node.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/MySQL/tree-node.sql -------------------------------------------------------------------------------- /MySQL/trips-and-users.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/MySQL/trips-and-users.sql -------------------------------------------------------------------------------- /MySQL/unpopular-books.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/MySQL/unpopular-books.sql -------------------------------------------------------------------------------- /Python/01-matrix.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/Python/01-matrix.py -------------------------------------------------------------------------------- /Python/132-pattern.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/Python/132-pattern.py -------------------------------------------------------------------------------- /Python/2-keys-keyboard.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/Python/2-keys-keyboard.py -------------------------------------------------------------------------------- /Python/24-game.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/Python/24-game.py -------------------------------------------------------------------------------- /Python/3sum-closest.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/Python/3sum-closest.py -------------------------------------------------------------------------------- /Python/3sum-smaller.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/Python/3sum-smaller.py -------------------------------------------------------------------------------- /Python/3sum.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/Python/3sum.py -------------------------------------------------------------------------------- /Python/4-keys-keyboard.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/Python/4-keys-keyboard.py -------------------------------------------------------------------------------- /Python/4sum-ii.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/Python/4sum-ii.py -------------------------------------------------------------------------------- /Python/4sum.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/Python/4sum.py -------------------------------------------------------------------------------- /Python/accounts-merge.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/Python/accounts-merge.py -------------------------------------------------------------------------------- /Python/add-binary.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/Python/add-binary.py -------------------------------------------------------------------------------- /Python/add-digits.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/Python/add-digits.py -------------------------------------------------------------------------------- /Python/add-strings.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/Python/add-strings.py -------------------------------------------------------------------------------- /Python/add-two-numbers.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/Python/add-two-numbers.py -------------------------------------------------------------------------------- /Python/additive-number.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/Python/additive-number.py -------------------------------------------------------------------------------- /Python/arranging-coins.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/Python/arranging-coins.py -------------------------------------------------------------------------------- /Python/array-nesting.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/Python/array-nesting.py -------------------------------------------------------------------------------- /Python/assign-cookies.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/Python/assign-cookies.py -------------------------------------------------------------------------------- /Python/bag-of-tokens.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/Python/bag-of-tokens.py -------------------------------------------------------------------------------- /Python/base-7.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/Python/base-7.py -------------------------------------------------------------------------------- /Python/baseball-game.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/Python/baseball-game.py -------------------------------------------------------------------------------- /Python/beautiful-array.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/Python/beautiful-array.py -------------------------------------------------------------------------------- /Python/binary-gap.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/Python/binary-gap.py -------------------------------------------------------------------------------- /Python/binary-search.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/Python/binary-search.py -------------------------------------------------------------------------------- /Python/binary-watch.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/Python/binary-watch.py -------------------------------------------------------------------------------- /Python/bomb-enemy.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/Python/bomb-enemy.py -------------------------------------------------------------------------------- /Python/brace-expansion.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/Python/brace-expansion.py -------------------------------------------------------------------------------- /Python/brick-wall.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/Python/brick-wall.py -------------------------------------------------------------------------------- /Python/buddy-strings.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/Python/buddy-strings.py -------------------------------------------------------------------------------- /Python/building-boxes.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/Python/building-boxes.py -------------------------------------------------------------------------------- /Python/building-h2o.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/Python/building-h2o.py -------------------------------------------------------------------------------- /Python/bulb-switcher.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/Python/bulb-switcher.py -------------------------------------------------------------------------------- /Python/bulls-and-cows.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/Python/bulls-and-cows.py -------------------------------------------------------------------------------- /Python/burst-balloons.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/Python/burst-balloons.py -------------------------------------------------------------------------------- /Python/bus-routes.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/Python/bus-routes.py -------------------------------------------------------------------------------- /Python/campus-bikes-ii.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/Python/campus-bikes-ii.py -------------------------------------------------------------------------------- /Python/campus-bikes.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/Python/campus-bikes.py -------------------------------------------------------------------------------- /Python/can-i-win.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/Python/can-i-win.py -------------------------------------------------------------------------------- /Python/candy-crush.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/Python/candy-crush.py -------------------------------------------------------------------------------- /Python/candy.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/Python/candy.py -------------------------------------------------------------------------------- /Python/car-fleet-ii.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/Python/car-fleet-ii.py -------------------------------------------------------------------------------- /Python/car-fleet.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/Python/car-fleet.py -------------------------------------------------------------------------------- /Python/car-pooling.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/Python/car-pooling.py -------------------------------------------------------------------------------- /Python/cat-and-mouse.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/Python/cat-and-mouse.py -------------------------------------------------------------------------------- /Python/champagne-tower.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/Python/champagne-tower.py -------------------------------------------------------------------------------- /Python/cherry-pickup.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/Python/cherry-pickup.py -------------------------------------------------------------------------------- /Python/climbing-stairs.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/Python/climbing-stairs.py -------------------------------------------------------------------------------- /Python/clone-graph.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/Python/clone-graph.py -------------------------------------------------------------------------------- /Python/closest-room.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/Python/closest-room.py -------------------------------------------------------------------------------- /Python/coin-change-2.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/Python/coin-change-2.py -------------------------------------------------------------------------------- /Python/coin-change.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/Python/coin-change.py -------------------------------------------------------------------------------- /Python/coin-path.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/Python/coin-path.py -------------------------------------------------------------------------------- /Python/combination-sum.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/Python/combination-sum.py -------------------------------------------------------------------------------- /Python/combinations.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/Python/combinations.py -------------------------------------------------------------------------------- /Python/contain-virus.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/Python/contain-virus.py -------------------------------------------------------------------------------- /Python/convex-polygon.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/Python/convex-polygon.py -------------------------------------------------------------------------------- /Python/count-and-say.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/Python/count-and-say.py -------------------------------------------------------------------------------- /Python/count-primes.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/Python/count-primes.py -------------------------------------------------------------------------------- /Python/counting-bits.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/Python/counting-bits.py -------------------------------------------------------------------------------- /Python/course-schedule.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/Python/course-schedule.py -------------------------------------------------------------------------------- /Python/cutting-ribbons.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/Python/cutting-ribbons.py -------------------------------------------------------------------------------- /Python/day-of-the-week.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/Python/day-of-the-week.py -------------------------------------------------------------------------------- /Python/day-of-the-year.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/Python/day-of-the-year.py -------------------------------------------------------------------------------- /Python/decode-string.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/Python/decode-string.py -------------------------------------------------------------------------------- /Python/decode-ways-ii.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/Python/decode-ways-ii.py -------------------------------------------------------------------------------- /Python/decode-ways.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/Python/decode-ways.py -------------------------------------------------------------------------------- /Python/defuse-the-bomb.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/Python/defuse-the-bomb.py -------------------------------------------------------------------------------- /Python/delete-and-earn.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/Python/delete-and-earn.py -------------------------------------------------------------------------------- /Python/design-bitset.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/Python/design-bitset.py -------------------------------------------------------------------------------- /Python/design-hashmap.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/Python/design-hashmap.py -------------------------------------------------------------------------------- /Python/design-hashset.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/Python/design-hashset.py -------------------------------------------------------------------------------- /Python/design-skiplist.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/Python/design-skiplist.py -------------------------------------------------------------------------------- /Python/design-twitter.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/Python/design-twitter.py -------------------------------------------------------------------------------- /Python/detect-capital.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/Python/detect-capital.py -------------------------------------------------------------------------------- /Python/detect-squares.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/Python/detect-squares.py -------------------------------------------------------------------------------- /Python/di-string-match.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/Python/di-string-match.py -------------------------------------------------------------------------------- /Python/divisor-game.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/Python/divisor-game.py -------------------------------------------------------------------------------- /Python/dota2-senate.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/Python/dota2-senate.py -------------------------------------------------------------------------------- /Python/dungeon-game.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/Python/dungeon-game.py -------------------------------------------------------------------------------- /Python/duplicate-zeros.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/Python/duplicate-zeros.py -------------------------------------------------------------------------------- /Python/edit-distance.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/Python/edit-distance.py -------------------------------------------------------------------------------- /Python/encode-number.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/Python/encode-number.py -------------------------------------------------------------------------------- /Python/erect-the-fence.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/Python/erect-the-fence.py -------------------------------------------------------------------------------- /Python/even-odd-tree.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/Python/even-odd-tree.py -------------------------------------------------------------------------------- /Python/exam-room.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/Python/exam-room.py -------------------------------------------------------------------------------- /Python/fair-candy-swap.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/Python/fair-candy-swap.py -------------------------------------------------------------------------------- /Python/falling-squares.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/Python/falling-squares.py -------------------------------------------------------------------------------- /Python/fancy-sequence.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/Python/fancy-sequence.py -------------------------------------------------------------------------------- /Python/faulty-sensor.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/Python/faulty-sensor.py -------------------------------------------------------------------------------- /Python/fixed-point.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/Python/fixed-point.py -------------------------------------------------------------------------------- /Python/fizz-buzz.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/Python/fizz-buzz.py -------------------------------------------------------------------------------- /Python/flip-game-ii.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/Python/flip-game-ii.py -------------------------------------------------------------------------------- /Python/flip-game.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/Python/flip-game.py -------------------------------------------------------------------------------- /Python/flood-fill.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/Python/flood-fill.py -------------------------------------------------------------------------------- /Python/four-divisors.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/Python/four-divisors.py -------------------------------------------------------------------------------- /Python/freedom-trail.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/Python/freedom-trail.py -------------------------------------------------------------------------------- /Python/friend-circles.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/Python/friend-circles.py -------------------------------------------------------------------------------- /Python/frog-jump.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/Python/frog-jump.py -------------------------------------------------------------------------------- /Python/game-of-life.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/Python/game-of-life.py -------------------------------------------------------------------------------- /Python/game-of-nim.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/Python/game-of-nim.py -------------------------------------------------------------------------------- /Python/gas-station.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/Python/gas-station.py -------------------------------------------------------------------------------- /Python/goat-latin.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/Python/goat-latin.py -------------------------------------------------------------------------------- /Python/gray-code.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/Python/gray-code.py -------------------------------------------------------------------------------- /Python/grid-game.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/Python/grid-game.py -------------------------------------------------------------------------------- /Python/group-anagrams.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/Python/group-anagrams.py -------------------------------------------------------------------------------- /Python/guess-the-word.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/Python/guess-the-word.py -------------------------------------------------------------------------------- /Python/h-index-ii.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/Python/h-index-ii.py -------------------------------------------------------------------------------- /Python/h-index.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/Python/h-index.py -------------------------------------------------------------------------------- /Python/happy-number.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/Python/happy-number.py -------------------------------------------------------------------------------- /Python/heaters.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/Python/heaters.py -------------------------------------------------------------------------------- /Python/height-checker.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/Python/height-checker.py -------------------------------------------------------------------------------- /Python/hexspeak.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/Python/hexspeak.py -------------------------------------------------------------------------------- /Python/high-five.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/Python/high-five.py -------------------------------------------------------------------------------- /Python/house-robber-ii.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/Python/house-robber-ii.py -------------------------------------------------------------------------------- /Python/house-robber.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/Python/house-robber.py -------------------------------------------------------------------------------- /Python/image-overlap.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/Python/image-overlap.py -------------------------------------------------------------------------------- /Python/image-smoother.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/Python/image-smoother.py -------------------------------------------------------------------------------- /Python/insert-interval.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/Python/insert-interval.py -------------------------------------------------------------------------------- /Python/integer-break.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/Python/integer-break.py -------------------------------------------------------------------------------- /Python/ip-to-cidr.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/Python/ip-to-cidr.py -------------------------------------------------------------------------------- /Python/ipo.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/Python/ipo.py -------------------------------------------------------------------------------- /Python/is-subsequence.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/Python/is-subsequence.py -------------------------------------------------------------------------------- /Python/jump-game-ii.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/Python/jump-game-ii.py -------------------------------------------------------------------------------- /Python/jump-game-iii.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/Python/jump-game-iii.py -------------------------------------------------------------------------------- /Python/jump-game-iv.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/Python/jump-game-iv.py -------------------------------------------------------------------------------- /Python/jump-game-v.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/Python/jump-game-v.py -------------------------------------------------------------------------------- /Python/jump-game-vi.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/Python/jump-game-vi.py -------------------------------------------------------------------------------- /Python/jump-game-vii.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/Python/jump-game-vii.py -------------------------------------------------------------------------------- /Python/jump-game.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/Python/jump-game.py -------------------------------------------------------------------------------- /Python/k-empty-slots.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/Python/k-empty-slots.py -------------------------------------------------------------------------------- /Python/keyboard-row.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/Python/keyboard-row.py -------------------------------------------------------------------------------- /Python/keys-and-rooms.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/Python/keys-and-rooms.py -------------------------------------------------------------------------------- /Python/kill-process.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/Python/kill-process.py -------------------------------------------------------------------------------- /Python/knight-dialer.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/Python/knight-dialer.py -------------------------------------------------------------------------------- /Python/largest-number.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/Python/largest-number.py -------------------------------------------------------------------------------- /Python/lemonade-change.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/Python/lemonade-change.py -------------------------------------------------------------------------------- /Python/lfu-cache.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/Python/lfu-cache.py -------------------------------------------------------------------------------- /Python/line-reflection.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/Python/line-reflection.py -------------------------------------------------------------------------------- /Python/lonely-pixel-i.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/Python/lonely-pixel-i.py -------------------------------------------------------------------------------- /Python/lonely-pixel-ii.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/Python/lonely-pixel-ii.py -------------------------------------------------------------------------------- /Python/loud-and-rich.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/Python/loud-and-rich.py -------------------------------------------------------------------------------- /Python/lru-cache.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/Python/lru-cache.py -------------------------------------------------------------------------------- /Python/magical-string.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/Python/magical-string.py -------------------------------------------------------------------------------- /Python/map-sum-pairs.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/Python/map-sum-pairs.py -------------------------------------------------------------------------------- /Python/max-stack.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/Python/max-stack.py -------------------------------------------------------------------------------- /Python/maximal-square.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/Python/maximal-square.py -------------------------------------------------------------------------------- /Python/maximum-gap.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/Python/maximum-gap.py -------------------------------------------------------------------------------- /Python/maximum-swap.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/Python/maximum-swap.py -------------------------------------------------------------------------------- /Python/meeting-rooms.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/Python/meeting-rooms.py -------------------------------------------------------------------------------- /Python/merge-intervals.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/Python/merge-intervals.py -------------------------------------------------------------------------------- /Python/min-stack.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/Python/min-stack.py -------------------------------------------------------------------------------- /Python/minesweeper.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/Python/minesweeper.py -------------------------------------------------------------------------------- /Python/mini-parser.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/Python/mini-parser.py -------------------------------------------------------------------------------- /Python/missing-number.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/Python/missing-number.py -------------------------------------------------------------------------------- /Python/missing-ranges.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/Python/missing-ranges.py -------------------------------------------------------------------------------- /Python/monotonic-array.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/Python/monotonic-array.py -------------------------------------------------------------------------------- /Python/move-zeroes.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/Python/move-zeroes.py -------------------------------------------------------------------------------- /Python/my-calendar-i.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/Python/my-calendar-i.py -------------------------------------------------------------------------------- /Python/my-calendar-ii.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/Python/my-calendar-ii.py -------------------------------------------------------------------------------- /Python/my-calendar-iii.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/Python/my-calendar-iii.py -------------------------------------------------------------------------------- /Python/n-queens-ii.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/Python/n-queens-ii.py -------------------------------------------------------------------------------- /Python/n-queens.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/Python/n-queens.py -------------------------------------------------------------------------------- /Python/nim-game.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/Python/nim-game.py -------------------------------------------------------------------------------- /Python/nth-digit.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/Python/nth-digit.py -------------------------------------------------------------------------------- /Python/number-of-atoms.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/Python/number-of-atoms.py -------------------------------------------------------------------------------- /Python/odd-even-jump.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/Python/odd-even-jump.py -------------------------------------------------------------------------------- /Python/ones-and-zeroes.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/Python/ones-and-zeroes.py -------------------------------------------------------------------------------- /Python/online-election.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/Python/online-election.py -------------------------------------------------------------------------------- /Python/open-the-lock.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/Python/open-the-lock.py -------------------------------------------------------------------------------- /Python/orderly-queue.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/Python/orderly-queue.py -------------------------------------------------------------------------------- /Python/paint-fence.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/Python/paint-fence.py -------------------------------------------------------------------------------- /Python/paint-house-ii.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/Python/paint-house-ii.py -------------------------------------------------------------------------------- /Python/paint-house-iii.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/Python/paint-house-iii.py -------------------------------------------------------------------------------- /Python/paint-house.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/Python/paint-house.py -------------------------------------------------------------------------------- /Python/pancake-sorting.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/Python/pancake-sorting.py -------------------------------------------------------------------------------- /Python/partition-list.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/Python/partition-list.py -------------------------------------------------------------------------------- /Python/patching-array.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/Python/patching-array.py -------------------------------------------------------------------------------- /Python/path-crossing.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/Python/path-crossing.py -------------------------------------------------------------------------------- /Python/path-sum-ii.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/Python/path-sum-ii.py -------------------------------------------------------------------------------- /Python/path-sum-iii.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/Python/path-sum-iii.py -------------------------------------------------------------------------------- /Python/path-sum-iv.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/Python/path-sum-iv.py -------------------------------------------------------------------------------- /Python/path-sum.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/Python/path-sum.py -------------------------------------------------------------------------------- /Python/perfect-number.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/Python/perfect-number.py -------------------------------------------------------------------------------- /Python/perfect-squares.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/Python/perfect-squares.py -------------------------------------------------------------------------------- /Python/permutations-ii.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/Python/permutations-ii.py -------------------------------------------------------------------------------- /Python/permutations.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/Python/permutations.py -------------------------------------------------------------------------------- /Python/play-with-chips.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/Python/play-with-chips.py -------------------------------------------------------------------------------- /Python/plus-one.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/Python/plus-one.py -------------------------------------------------------------------------------- /Python/poor-pigs.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/Python/poor-pigs.py -------------------------------------------------------------------------------- /Python/pour-water.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/Python/pour-water.py -------------------------------------------------------------------------------- /Python/power-of-four.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/Python/power-of-four.py -------------------------------------------------------------------------------- /Python/power-of-three.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/Python/power-of-three.py -------------------------------------------------------------------------------- /Python/power-of-two.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/Python/power-of-two.py -------------------------------------------------------------------------------- /Python/powx-n.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/Python/powx-n.py -------------------------------------------------------------------------------- /Python/print-in-order.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/Python/print-in-order.py -------------------------------------------------------------------------------- /Python/push-dominoes.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/Python/push-dominoes.py -------------------------------------------------------------------------------- /Python/race-car.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/Python/race-car.py -------------------------------------------------------------------------------- /Python/range-addition.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/Python/range-addition.py -------------------------------------------------------------------------------- /Python/range-module.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/Python/range-module.py -------------------------------------------------------------------------------- /Python/ransom-note.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/Python/ransom-note.py -------------------------------------------------------------------------------- /Python/reach-a-number.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/Python/reach-a-number.py -------------------------------------------------------------------------------- /Python/reaching-points.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/Python/reaching-points.py -------------------------------------------------------------------------------- /Python/rectangle-area.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/Python/rectangle-area.py -------------------------------------------------------------------------------- /Python/reducing-dishes.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/Python/reducing-dishes.py -------------------------------------------------------------------------------- /Python/reformat-date.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/Python/reformat-date.py -------------------------------------------------------------------------------- /Python/relative-ranks.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/Python/relative-ranks.py -------------------------------------------------------------------------------- /Python/remove-9.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/Python/remove-9.py -------------------------------------------------------------------------------- /Python/remove-boxes.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/Python/remove-boxes.py -------------------------------------------------------------------------------- /Python/remove-comments.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/Python/remove-comments.py -------------------------------------------------------------------------------- /Python/remove-element.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/Python/remove-element.py -------------------------------------------------------------------------------- /Python/remove-interval.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/Python/remove-interval.py -------------------------------------------------------------------------------- /Python/remove-k-digits.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/Python/remove-k-digits.py -------------------------------------------------------------------------------- /Python/reorder-list.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/Python/reorder-list.py -------------------------------------------------------------------------------- /Python/replace-words.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/Python/replace-words.py -------------------------------------------------------------------------------- /Python/reverse-bits.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/Python/reverse-bits.py -------------------------------------------------------------------------------- /Python/reverse-integer.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/Python/reverse-integer.py -------------------------------------------------------------------------------- /Python/reverse-pairs.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/Python/reverse-pairs.py -------------------------------------------------------------------------------- /Python/reverse-string.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/Python/reverse-string.py -------------------------------------------------------------------------------- /Python/rings-and-rods.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/Python/rings-and-rods.py -------------------------------------------------------------------------------- /Python/rle-iterator.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/Python/rle-iterator.py -------------------------------------------------------------------------------- /Python/rotate-array.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/Python/rotate-array.py -------------------------------------------------------------------------------- /Python/rotate-function.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/Python/rotate-function.py -------------------------------------------------------------------------------- /Python/rotate-image.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/Python/rotate-image.py -------------------------------------------------------------------------------- /Python/rotate-list.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/Python/rotate-list.py -------------------------------------------------------------------------------- /Python/rotate-string.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/Python/rotate-string.py -------------------------------------------------------------------------------- /Python/rotated-digits.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/Python/rotated-digits.py -------------------------------------------------------------------------------- /Python/rotting-oranges.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/Python/rotting-oranges.py -------------------------------------------------------------------------------- /Python/same-tree.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/Python/same-tree.py -------------------------------------------------------------------------------- /Python/scramble-string.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/Python/scramble-string.py -------------------------------------------------------------------------------- /Python/self-crossing.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/Python/self-crossing.py -------------------------------------------------------------------------------- /Python/set-mismatch.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/Python/set-mismatch.py -------------------------------------------------------------------------------- /Python/shift-2d-grid.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/Python/shift-2d-grid.py -------------------------------------------------------------------------------- /Python/shopping-offers.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/Python/shopping-offers.py -------------------------------------------------------------------------------- /Python/shortest-bridge.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/Python/shortest-bridge.py -------------------------------------------------------------------------------- /Python/shuffle-string.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/Python/shuffle-string.py -------------------------------------------------------------------------------- /Python/simplify-path.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/Python/simplify-path.py -------------------------------------------------------------------------------- /Python/single-number.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/Python/single-number.py -------------------------------------------------------------------------------- /Python/sliding-puzzle.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/Python/sliding-puzzle.py -------------------------------------------------------------------------------- /Python/slowest-key.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/Python/slowest-key.py -------------------------------------------------------------------------------- /Python/smallest-range.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/Python/smallest-range.py -------------------------------------------------------------------------------- /Python/snapshot-array.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/Python/snapshot-array.py -------------------------------------------------------------------------------- /Python/sort-an-array.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/Python/sort-an-array.py -------------------------------------------------------------------------------- /Python/sort-colors.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/Python/sort-colors.py -------------------------------------------------------------------------------- /Python/sort-list.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/Python/sort-list.py -------------------------------------------------------------------------------- /Python/soup-servings.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/Python/soup-servings.py -------------------------------------------------------------------------------- /Python/spiral-matrix.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/Python/spiral-matrix.py -------------------------------------------------------------------------------- /Python/split-bst.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/Python/split-bst.py -------------------------------------------------------------------------------- /Python/sqrtx.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/Python/sqrtx.py -------------------------------------------------------------------------------- /Python/stone-game-ii.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/Python/stone-game-ii.py -------------------------------------------------------------------------------- /Python/stone-game-iii.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/Python/stone-game-iii.py -------------------------------------------------------------------------------- /Python/stone-game-iv.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/Python/stone-game-iv.py -------------------------------------------------------------------------------- /Python/stone-game-ix.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/Python/stone-game-ix.py -------------------------------------------------------------------------------- /Python/stone-game-v.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/Python/stone-game-v.py -------------------------------------------------------------------------------- /Python/stone-game-vi.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/Python/stone-game-vi.py -------------------------------------------------------------------------------- /Python/stone-game-vii.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/Python/stone-game-vii.py -------------------------------------------------------------------------------- /Python/stone-game-viii.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/Python/stone-game-viii.py -------------------------------------------------------------------------------- /Python/stone-game.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/Python/stone-game.py -------------------------------------------------------------------------------- /Python/strange-printer.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/Python/strange-printer.py -------------------------------------------------------------------------------- /Python/subsets-ii.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/Python/subsets-ii.py -------------------------------------------------------------------------------- /Python/subsets.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/Python/subsets.py -------------------------------------------------------------------------------- /Python/sudoku-solver.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/Python/sudoku-solver.py -------------------------------------------------------------------------------- /Python/sum-game.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/Python/sum-game.py -------------------------------------------------------------------------------- /Python/summary-ranges.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/Python/summary-ranges.py -------------------------------------------------------------------------------- /Python/super-egg-drop.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/Python/super-egg-drop.py -------------------------------------------------------------------------------- /Python/super-pow.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/Python/super-pow.py -------------------------------------------------------------------------------- /Python/symmetric-tree.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/Python/symmetric-tree.py -------------------------------------------------------------------------------- /Python/tag-validator.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/Python/tag-validator.py -------------------------------------------------------------------------------- /Python/target-sum.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/Python/target-sum.py -------------------------------------------------------------------------------- /Python/task-scheduler.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/Python/task-scheduler.py -------------------------------------------------------------------------------- /Python/teemo-attacking.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/Python/teemo-attacking.py -------------------------------------------------------------------------------- /Python/the-maze-ii.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/Python/the-maze-ii.py -------------------------------------------------------------------------------- /Python/the-maze-iii.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/Python/the-maze-iii.py -------------------------------------------------------------------------------- /Python/the-maze.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/Python/the-maze.py -------------------------------------------------------------------------------- /Python/three-divisors.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/Python/three-divisors.py -------------------------------------------------------------------------------- /Python/to-lower-case.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/Python/to-lower-case.py -------------------------------------------------------------------------------- /Python/toeplitz-matrix.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/Python/toeplitz-matrix.py -------------------------------------------------------------------------------- /Python/tree-diameter.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/Python/tree-diameter.py -------------------------------------------------------------------------------- /Python/triangle.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/Python/triangle.py -------------------------------------------------------------------------------- /Python/two-sum-bsts.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/Python/two-sum-bsts.py -------------------------------------------------------------------------------- /Python/two-sum.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/Python/two-sum.py -------------------------------------------------------------------------------- /Python/ugly-number-ii.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/Python/ugly-number-ii.py -------------------------------------------------------------------------------- /Python/ugly-number-iii.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/Python/ugly-number-iii.py -------------------------------------------------------------------------------- /Python/ugly-number.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/Python/ugly-number.py -------------------------------------------------------------------------------- /Python/uncrossed-lines.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/Python/uncrossed-lines.py -------------------------------------------------------------------------------- /Python/unique-paths-ii.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/Python/unique-paths-ii.py -------------------------------------------------------------------------------- /Python/unique-paths.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/Python/unique-paths.py -------------------------------------------------------------------------------- /Python/valid-anagram.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/Python/valid-anagram.py -------------------------------------------------------------------------------- /Python/valid-boomerang.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/Python/valid-boomerang.py -------------------------------------------------------------------------------- /Python/valid-number.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/Python/valid-number.py -------------------------------------------------------------------------------- /Python/valid-square.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/Python/valid-square.py -------------------------------------------------------------------------------- /Python/valid-sudoku.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/Python/valid-sudoku.py -------------------------------------------------------------------------------- /Python/video-stitching.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/Python/video-stitching.py -------------------------------------------------------------------------------- /Python/walls-and-gates.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/Python/walls-and-gates.py -------------------------------------------------------------------------------- /Python/water-bottles.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/Python/water-bottles.py -------------------------------------------------------------------------------- /Python/watering-plants.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/Python/watering-plants.py -------------------------------------------------------------------------------- /Python/web-crawler.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/Python/web-crawler.py -------------------------------------------------------------------------------- /Python/wiggle-sort-ii.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/Python/wiggle-sort-ii.py -------------------------------------------------------------------------------- /Python/wiggle-sort.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/Python/wiggle-sort.py -------------------------------------------------------------------------------- /Python/word-break-ii.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/Python/word-break-ii.py -------------------------------------------------------------------------------- /Python/word-break.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/Python/word-break.py -------------------------------------------------------------------------------- /Python/word-ladder-ii.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/Python/word-ladder-ii.py -------------------------------------------------------------------------------- /Python/word-ladder.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/Python/word-ladder.py -------------------------------------------------------------------------------- /Python/word-pattern-ii.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/Python/word-pattern-ii.py -------------------------------------------------------------------------------- /Python/word-pattern.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/Python/word-pattern.py -------------------------------------------------------------------------------- /Python/word-search-ii.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/Python/word-search-ii.py -------------------------------------------------------------------------------- /Python/word-search.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/Python/word-search.py -------------------------------------------------------------------------------- /Python/word-squares.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/Python/word-squares.py -------------------------------------------------------------------------------- /Python/word-subsets.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/Python/word-subsets.py -------------------------------------------------------------------------------- /Python/zigzag-iterator.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/Python/zigzag-iterator.py -------------------------------------------------------------------------------- /Python/zuma-game.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/Python/zuma-game.py -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/README.md -------------------------------------------------------------------------------- /Shell/tenth-line.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/Shell/tenth-line.sh -------------------------------------------------------------------------------- /Shell/transpose-file.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/Shell/transpose-file.sh -------------------------------------------------------------------------------- /Shell/word-frequency.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/Shell/word-frequency.sh -------------------------------------------------------------------------------- /lclogo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/LeetCode-Topicwise-Solutions/HEAD/lclogo.png --------------------------------------------------------------------------------