# theabbie leetcode solutions **Published by:** [theabbie](https://paragraph.com/@theabbie-2/) **Published on:** 2022-04-13 **URL:** https://paragraph.com/@theabbie-2/theabbie-leetcode-solutions ## Content ethereum://0xabEFBc9fD2F806065b4f3C237d4b59D9A97Bcac7/4.959472767496467e+105.github.gitignore01-matrix.py1-bit-and-2-bit-characters.py132-pattern.py2-keys-keyboard.py3sum-closest.py3sum-with-multiplicity.py3sum.py4sum-ii.pyLICENSEREADME.mda-number-after-a-double-reversal.pyadd-binary.pyadd-digits.pyadd-strings.pyadd-to-array-form-of-integer.cppadd-two-numbers-ii.pyadd-two-numbers.pyalert-using-same-key-card-three-or-more-times-in-a-one-hour-period.pyall-ancestors-of-a-node-in-a-directed-acyclic-graph.pyall-elements-in-two-binary-search-trees.pyall-paths-from-source-to-target.pyall-possible-full-binary-trees.pyangle-between-hands-of-a-clock.pyappend-k-integers-with-minimal-sum.pyarithmetic-slices.pyarithmetic-subarrays.pyarranging-coins.pyarray-nesting.pyarray-partition-i.pyassign-cookies.pyasteroid-collision.pyavailable-captures-for-rook.pyaverage-of-levels-in-binary-tree.pyaverage-salary-excluding-the-minimum-and-maximum-salary.pybackspace-string-compare.pybalance-a-binary-search-tree.pybalanced-binary-tree.pybase-7.pybaseball-game.pybasic-calculator-ii.pybasic-calculator.pybeautiful-array.pybest-time-to-buy-and-sell-stock.pybinary-gap.pybinary-number-with-alternating-bits.pybinary-prefix-divisible-by-5.pybinary-search-tree-iterator.pybinary-search-tree-to-greater-sum-tree.pybinary-search.pybinary-tree-inorder-traversal.pybinary-tree-level-order-traversal-ii.pybinary-tree-level-order-traversal.pybinary-tree-maximum-path-sum.pybinary-tree-paths.pybinary-tree-postorder-traversal.pybinary-tree-preorder-traversal.pybinary-tree-pruning.pybinary-tree-tilt.pybinary-tree-zigzag-level-order-traversal.pyboats-to-save-people.pybroken-calculator.pybuild-array-from-permutation.pybulb-switcher.pybulls-and-cows.pycalculate-digit-sum-of-a-string.pycamelcase-matching.pycan-make-arithmetic-progression-from-sequence.pycan-place-flowers.pycapitalize-the-title.pycar-pooling.pycells-in-a-range-on-an-excel-sheet.pycells-with-odd-values-in-a-matrix.pychampagne-tower.pycheck-completeness-of-a-binary-tree.pycheck-if-all-1s-are-at-least-length-k-places-away.pycheck-if-all-as-appears-before-all-bs.pycheck-if-all-characters-have-equal-number-of-occurrences.pycheck-if-array-is-sorted-and-rotated.pycheck-if-binary-string-has-at-most-one-segment-of-ones.pycheck-if-every-row-and-column-contains-all-numbers.pycheck-if-it-is-a-good-array.pycheck-if-it-is-a-straight-line.pycheck-if-n-and-its-double-exist.pycheck-if-number-is-a-sum-of-powers-of-three.pycheck-if-numbers-are-ascending-in-a-sentence.pycheck-if-the-sentence-is-pangram.pycheck-if-two-string-arrays-are-equivalent.pycheck-if-word-is-valid-after-substitutions.pycheck-whether-two-strings-are-almost-equivalent.pyclimbing-stairs.pyclone-graph.pyclosest-divisors.pyclumsy-factorial.pycoin-change.pycombination-sum.pycombinations.pycombine-two-tables.sqlcompare-version-numbers.pycomplement-of-base-10-integer.cppcomplex-number-multiplication.pyconcatenation-of-array.pyconsecutive-characters.pyconsecutive-numbers-sum.pyconstruct-binary-search-tree-from-preorder-traversal.pyconstruct-binary-tree-from-inorder-and-postorder-traversal.pyconstruct-binary-tree-from-preorder-and-inorder-traversal.pyconstruct-binary-tree-from-preorder-and-postorder-traversal.pyconstruct-string-from-binary-tree.pyconstruct-string-with-repeat-limit.pyconstruct-the-rectangle.pycontainer-with-most-water.pycontains-duplicate-ii.pycontains-duplicate-iii.pycontains-duplicate.pycontiguous-array.pycontinuous-subarray-sum.pyconvert-1d-array-into-2d-array.pyconvert-binary-number-in-a-linked-list-to-integer.pyconvert-bst-to-greater-tree.pyconvert-integer-to-the-sum-of-two-no-zero-integers.pyconvert-sorted-array-to-binary-search-tree.pyconvert-sorted-list-to-binary-search-tree.pycopy-list-with-random-pointer.pycount-all-valid-pickup-and-delivery-options.pycount-and-say.pycount-artifacts-that-can-be-extracted.pycount-common-words-with-one-occurrence.pycount-complete-tree-nodes.pycount-elements-with-strictly-smaller-and-greater-elements.pycount-good-nodes-in-binary-tree.pycount-good-triplets.pycount-hills-and-valleys-in-an-array.pycount-items-matching-a-rule.pycount-lattice-points-inside-a-circle.pycount-negative-numbers-in-a-sorted-matrix.pycount-number-of-nice-subarrays.pycount-number-of-pairs-with-absolute-difference-k.pycount-number-of-rectangles-containing-each-point.pycount-number-of-teams.pycount-of-matches-in-tournament.pycount-of-smaller-numbers-after-self.pycount-sorted-vowel-strings.pycount-special-quadruplets.pycount-square-sum-triples.pycount-the-hidden-sequences.pycount-the-number-of-consistent-strings.pycounting-bits.pycourse-schedule-ii.pycourse-schedule.pycousins-in-binary-tree.pycrawler-log-folder.pycreate-binary-tree-from-descriptions.pycreate-target-array-in-the-given-order.pycustom-sort-string.pydaily-temperatures.pydata-stream-as-disjoint-intervals.pydecode-the-slanted-ciphertext.pydecode-ways.pydecode-xored-array.pydecompress-run-length-encoded-list.pydeepest-leaves-sum.pydefanging-an-ip-address.pydelete-and-earn.pydelete-characters-to-make-fancy-string.pydelete-columns-to-make-sorted.pydelete-leaves-with-a-given-value.pydelete-node-in-a-bst.pydelete-node-in-a-linked-list.pydelete-operation-for-two-strings.pydelete-the-middle-node-of-a-linked-list.pydesign-a-stack-with-increment-operation.pydesign-add-and-search-words-data-structure.pydesign-an-atm-machine.pydesign-hashmap.pydesign-hashset.pydesign-parking-system.pydesign-underground-system.pydetect-capital.pydetermine-if-string-halves-are-alike.pydiagonal-traverse.pydiameter-of-binary-tree.pydistant-barcodes.pydistribute-candies.pydivide-a-string-into-groups-of-size-k.pydivide-array-into-equal-pairs.pydivide-two-integers.pydivisor-game.pydungeon-game.pyduplicate-zeros.pyedit-distance.pyemployee-importance.pyencode-and-decode-tinyurl.pyencrypt-and-decrypt-strings.pyevaluate-division.pyevaluate-reverse-polish-notation.pyevaluate-the-bracket-pairs-of-a-string.pyeven-odd-tree.pyexcel-sheet-column-number.pyfactorial-trailing-zeroes.pyfibonacci-number.pyfinal-value-of-variable-after-performing-operations.pyfind-a-corresponding-node-of-a-binary-tree-in-a-clone-of-that-tree.pyfind-all-anagrams-in-a-string.pyfind-all-duplicates-in-an-array.pyfind-all-k-distant-indices-in-an-array.pyfind-all-lonely-numbers-in-the-array.pyfind-all-numbers-disappeared-in-an-array.pyfind-all-people-with-secret.pyfind-all-possible-recipes-from-given-supplies.pyfind-and-replace-in-string.pyfind-and-replace-pattern.pyfind-bottom-left-tree-value.pyfind-center-of-star-graph.pyfind-closest-number-to-zero.pyfind-common-characters.pyfind-elements-in-a-contaminated-binary-tree.pyfind-first-and-last-position-of-element-in-sorted-array.pyfind-first-palindromic-string-in-the-array.pyfind-greatest-common-divisor-of-array.pyfind-k-closest-elements.pyfind-k-pairs-with-smallest-sums.pyfind-largest-value-in-each-tree-row.pyfind-lucky-integer-in-an-array.pyfind-median-from-data-stream.pyfind-minimum-in-rotated-sorted-array.pyfind-mode-in-binary-search-tree.pyfind-n-unique-integers-sum-up-to-zero.pyfind-nearest-point-that-has-the-same-x-or-y-coordinate.pyfind-numbers-with-even-number-of-digits.pyfind-palindrome-with-fixed-length.pyfind-peak-element.pyfind-pivot-index.pyfind-players-with-zero-or-one-losses.pyfind-positive-integer-solution-for-a-given-equation.pyfind-right-interval.pyfind-smallest-letter-greater-than-target.pyfind-subsequence-of-length-k-with-the-largest-sum.pyfind-target-indices-after-sorting-array.pyfind-the-difference-of-two-arrays.pyfind-the-difference.pyfind-the-distance-value-between-two-arrays.pyfind-the-duplicate-number.pyfind-the-highest-altitude.pyfind-the-kth-largest-integer-in-the-array.pyfind-the-middle-index-in-array.pyfind-the-minimum-and-maximum-number-of-nodes-between-critical-points.pyfind-the-town-judge.pyfind-triangular-sum-of-an-array.pyfind-unique-binary-string.pyfind-words-that-can-be-formed-by-characters.pyfinding-3-digit-even-numbers.pyfirst-bad-version.pyfirst-missing-positive.pyfirst-unique-character-in-a-string.pyfizz-buzz.pyflatten-a-multilevel-doubly-linked-list.pyflatten-binary-tree-to-linked-list.pyflip-equivalent-binary-trees.pyflipping-an-image.pyflood-fill.pyflower-planting-with-no-adjacent.pyfraction-addition-and-subtraction.pyfruit-into-baskets.pygame-of-life.pygenerate-parentheses.pygenerate-random-point-in-a-circle.pyget-maximum-in-generated-array.pygoal-parser-interpretation.pygoat-latin.pygray-code.pygreatest-sum-divisible-by-three.pygrid-game.pygroup-anagrams.pygroup-the-people-given-the-group-size-they-belong-to.pyguess-number-higher-or-lower.pyh-index-ii.pyh-index.pyhamming-distance.pyhappy-number.pyheaters.pyheight-checker.pyhouse-robber-iii.pyhouse-robber.pyhow-many-numbers-are-smaller-than-the-current-number.pyimage-smoother.pyimplement-rand10-using-rand7.pyimplement-stack-using-queues.pyimplement-strstr.pyimplement-trie-prefix-tree.pyincreasing-order-search-tree.pyincreasing-subsequences.pyincreasing-triplet-subsequence.pyindexx.htmlinsert-delete-getrandom-o1-duplicates-allowed.pyinsert-delete-getrandom-o1.pyinsert-interval.pyinsert-into-a-binary-search-tree.pyinteger-break.pyinteger-replacement.pyinteger-to-roman.pyintersection-of-multiple-arrays.pyintersection-of-two-arrays-ii.pyintersection-of-two-arrays.pyintersection-of-two-linked-lists.pyinvert-binary-tree.pyis-graph-bipartite.pyis-subsequence.pyisland-perimeter.pyisomorphic-strings.pyjewels-and-stones.pyjump-game-ii.pyjump-game-iii.pyjump-game.pyk-closest-points-to-origin.pyk-diff-pairs-in-an-array.pyk-th-smallest-prime-fraction.pyk-th-symbol-in-grammar.pykeep-multiplying-found-values-by-two.pykeyboard-row.pykeys-and-rooms.pykids-with-the-greatest-number-of-candies.pykoko-eating-bananas.pykth-distinct-string-in-an-array.pykth-largest-element-in-a-stream.pykth-largest-element-in-an-array.pykth-missing-positive-number.pykth-smallest-element-in-a-bst.pykth-smallest-element-in-a-sorted-matrix.pylargest-number-after-digit-swaps-by-parity.pylargest-number-at-least-twice-of-others.pylargest-number.pylargest-rectangle-in-histogram.pylast-stone-weight.pylast-substring-in-lexicographical-order.pyleaf-similar-trees.pylength-of-last-word.pyletter-combinations-of-a-phone-number.pyletter-tile-possibilities.pylexicographical-numbers.pylicense-key-formatting.pylinked-list-cycle-ii.pylinked-list-cycle.pylinked-list-random-node.pylong-pressed-name.pylonger-contiguous-segments-of-ones-than-zeros.pylongest-common-prefix.pylongest-common-subsequence.pylongest-consecutive-sequence.pylongest-happy-prefix.pylongest-happy-string.pylongest-harmonious-subsequence.pylongest-increasing-subsequence.pylongest-palindrome-by-concatenating-two-letter-words.pylongest-palindrome.pylongest-palindromic-subsequence.pylongest-path-with-different-adjacent-characters.pylongest-subarray-of-1s-after-deleting-one-element.pylongest-substring-with-at-least-k-repeating-characters.pylongest-substring-without-repeating-characters.cpplongest-substring-without-repeating-characters.pylongest-uncommon-subsequence-i.pylongest-univalue-path.pylongest-word-in-dictionary-through-deleting.pylongest-word-in-dictionary.pyloud-and-rich.pylowest-common-ancestor-of-a-binary-search-tree.pylowest-common-ancestor-of-a-binary-tree.pylowest-common-ancestor-of-deepest-leaves.pylucky-numbers-in-a-matrix.pymajority-element-ii.pymajority-element.pymake-the-string-great.pymatrix-cells-in-distance-order.pymatrix-diagonal-sum.pymax-area-of-island.pymax-consecutive-ones.pymax-points-on-a-line.pymaximal-network-rank.pymaximal-square.pymaximize-distance-to-closest-person.pymaximize-number-of-subsequences-in-a-string.pymaximum-69-number.pymaximum-area-of-a-piece-of-cake-after-horizontal-and-vertical-cuts.pymaximum-binary-tree-ii.pymaximum-binary-tree.pymaximum-candies-allocated-to-k-children.pymaximum-depth-of-binary-tree.pymaximum-depth-of-n-ary-tree.pymaximum-difference-between-increasing-elements.pymaximum-difference-between-node-and-ancestor.pymaximum-distance-between-a-pair-of-values.pymaximum-frequency-stack.pymaximum-gap.pymaximum-length-of-pair-chain.pymaximum-length-of-repeated-subarray.pymaximum-level-sum-of-a-binary-tree.pymaximum-nesting-depth-of-the-parentheses.pymaximum-number-of-balloons.cppmaximum-number-of-coins-you-can-get.pymaximum-number-of-weeks-for-which-you-can-work.pymaximum-number-of-words-found-in-sentences.pymaximum-number-of-words-you-can-type.pymaximum-path-quality-of-a-graph.pymaximum-population-year.pymaximum-product-after-k-increments.pymaximum-product-difference-between-two-pairs.pymaximum-product-of-the-length-of-two-palindromic-subsequences.pymaximum-product-of-three-numbers.pymaximum-product-of-word-lengths.pymaximum-product-subarray.pymaximum-subarray.pymaximum-swap.pymaximum-trailing-zeros-in-a-cornered-path.pymaximum-twin-sum-of-a-linked-list.pymaximum-width-of-binary-tree.pymaximum-xor-of-two-numbers-in-an-array.pymedian-of-two-sorted-arrays.pymerge-intervals.pymerge-nodes-in-between-zeros.pymerge-sorted-array.pymerge-two-binary-trees.pymerge-two-sorted-lists.pymiddle-of-the-linked-list.pymin-cost-climbing-stairs.pymin-cost-to-connect-all-points.pymin-stack.pyminimize-deviation-in-array.pyminimize-maximum-pair-sum-in-array.pyminimize-result-by-adding-parentheses-to-expression.pyminimum-absolute-difference-in-bst.pyminimum-absolute-difference.pyminimum-add-to-make-parentheses-valid.pyminimum-bit-flips-to-convert-number.pyminimum-cost-for-tickets.pyminimum-cost-of-buying-candies-with-discount.pyminimum-cost-to-move-chips-to-the-same-position.pyminimum-deletions-to-make-array-beautiful.pyminimum-deletions-to-make-string-balanced.pyminimum-difference-between-highest-and-lowest-of-k-scores.pyminimum-distance-between-bst-nodes.pyminimum-distance-to-the-target-element.pyminimum-domino-rotations-for-equal-row.pyminimum-index-sum-of-two-lists.pyminimum-insertion-steps-to-make-a-string-palindrome.pyminimum-moves-to-reach-target-score.pyminimum-number-of-operations-to-convert-time.pyminimum-number-of-operations-to-move-all-balls-to-each-box.pyminimum-number-of-swaps-to-make-the-string-balanced.pyminimum-number-of-vertices-to-reach-all-nodes.pyminimum-operations-to-convert-number.pyminimum-operations-to-make-array-equal.pyminimum-operations-to-make-the-array-increasing.pyminimum-operations-to-reduce-x-to-zero.pyminimum-path-sum.pyminimum-remove-to-make-valid-parentheses.pyminimum-rounds-to-complete-all-tasks.pyminimum-size-subarray-sum.pyminimum-sum-of-four-digit-number-after-splitting-digits.pyminimum-time-to-complete-trips.pyminimum-time-to-type-word-using-special-typewriter.pyminimum-white-tiles-after-covering-with-carpets.pymiscellaneousmissing-number.pymonotonic-array.pymost-common-word.pymost-frequent-number-following-key-in-an-array.pymost-frequent-subtree-sum.pymove-zeroes.pymultiply-strings.pyn-ary-tree-level-order-traversal.pyn-ary-tree-postorder-traversal.pyn-ary-tree-preorder-traversal.pyn-queens-ii.pyn-queens.pyn-repeated-element-in-size-2n-array.pyn-th-tribonacci-number.pynetwork-delay-time.pynext-greater-element-i.pynext-greater-element-ii.pynext-greater-element-iii.pynext-greater-node-in-linked-list.pynext-permutation.pynim-game.pynth-digit.pynumber-complement.pynumber-of-1-bits.pynumber-of-dice-rolls-with-target-sum.pynumber-of-equivalent-domino-pairs.pynumber-of-flowers-in-full-bloom.pynumber-of-good-pairs.pynumber-of-islands.pynumber-of-laser-beams-in-a-bank.pynumber-of-pairs-of-strings-with-concatenation-equal-to-target.pynumber-of-recent-calls.pynumber-of-rectangles-that-can-form-the-largest-square.pynumber-of-segments-in-a-string.pynumber-of-smooth-descent-periods-of-a-stock.pynumber-of-steps-to-reduce-a-number-in-binary-representation-to-one.pynumber-of-steps-to-reduce-a-number-to-zero.pynumber-of-strings-that-appear-as-substrings-in-word.pynumber-of-ways-to-buy-pens-and-pencils.pynumber-of-ways-to-divide-a-long-corridor.pynumber-of-ways-to-select-buildings.pyoccurrences-after-bigram.pyodd-even-linked-list.pyopen-the-lock.pypacific-atlantic-water-flow.pypalindrome-linked-list.pypalindrome-number.pypalindrome-partitioning-ii.pypalindrome-partitioning.pypalindromic-substrings.pypartition-array-according-to-given-pivot.pypartition-array-into-three-parts-with-equal-sum.pypartition-equal-subset-sum.pypartition-labels.pypartition-list.pypartitioning-into-minimum-number-of-deci-binary-numbers.pypascals-triangle-ii.pypascals-triangle.pypath-crossing.pypath-sum-ii.pypath-sum.pypeak-index-in-a-mountain-array.pyperfect-number.pyperfect-squares.pypermutation-in-string.pypermutations-ii.pypermutations.pyplus-one.pypopulating-next-right-pointers-in-each-node-ii.pypopulating-next-right-pointers-in-each-node.pypositions-of-large-groups.pypower-of-four.pypower-of-three.pypower-of-two.pypowx-n.pypredict-the-winner.pyprime-arrangements.pyprint-binary-tree.pyproduct-of-array-except-self.pypush-dominoes.pyqueens-that-can-attack-the-king.pyqueries-on-number-of-points-inside-a-circle.pyrandom-pick-index.pyrandom-pick-with-weight.pyrange-addition-ii.pyrange-sum-of-bst.pyrange-sum-query-immutable.pyrank-transform-of-an-array.pyransom-note.pyreach-a-number.pyrearrange-array-elements-by-sign.pyrearrange-words-in-a-sentence.pyreconstruct-a-2-row-binary-matrix.pyrecover-binary-search-tree.pyrectangle-area.pyrectangle-overlap.pyreduce-array-size-to-the-half.pyredundant-connection.pyrelative-ranks.pyrelative-sort-array.pyremove-all-occurrences-of-a-substring.pyremove-covered-intervals.pyremove-duplicate-letters.pyremove-duplicates-from-sorted-array-ii.pyremove-duplicates-from-sorted-array.pyremove-duplicates-from-sorted-list-ii.pyremove-duplicates-from-sorted-list.pyremove-element.pyremove-invalid-parentheses.pyremove-k-digits.pyremove-linked-list-elements.pyremove-nth-node-from-end-of-list.pyremove-one-element-to-make-the-array-strictly-increasing.pyremove-outermost-parentheses.pyremove-zero-sum-consecutive-nodes-from-linked-list.pyremoving-minimum-number-of-magic-beans.pyreorganize-string.pyrepeated-dna-sequences.pyrepeated-substring-pattern.pyreplace-all-digits-with-characters.pyreplace-elements-with-greatest-element-on-right-side.pyreplace-words.pyreshape-the-matrix.pyrestore-ip-addresses.pyrestore-the-array-from-adjacent-pairs.pyreverse-bits.pyreverse-integer.pyreverse-linked-list.pyreverse-only-letters.pyreverse-pairs.pyreverse-prefix-of-word.pyreverse-string-ii.pyreverse-string.pyreverse-vowels-of-a-string.pyreverse-words-in-a-string-iii.pyrichest-customer-wealth.pyrings-and-rods.pyrobot-return-to-origin.pyroman-to-integer.pyrotate-array.pyrotate-image.pyrotate-list.pyrotate-string.pyrunning-sum-of-1d-array.pysame-tree.pysatisfiability-of-equality-equations.pyscore-of-parentheses.pysearch-a-2d-matrix-ii.pysearch-a-2d-matrix.pysearch-in-a-binary-search-tree.pysearch-in-rotated-sorted-array-ii.pysearch-in-rotated-sorted-array.pysearch-insert-position.pysearch-suggestions-system.pysecond-minimum-node-in-a-binary-tree.pyself-dividing-numbers.pysequential-digits.pysequentially-ordinal-rank-tracker.pyserialize-and-deserialize-binary-tree.pyserialize-and-deserialize-bst.pyset-matrix-zeroes.pyset-mismatch.pyshift-2d-grid.pyshortest-palindrome.pyshortest-path-visiting-all-nodes.pyshortest-subarray-with-sum-at-least-k.pyshuffle-an-array.pyshuffle-string.pyshuffle-the-array.pysign-of-the-product-of-an-array.pysimplified-fractions.pysimplify-path.pysingle-element-in-a-sorted-array.pysingle-number-ii.pysingle-number-iii.pysingle-number.pysliding-window-maximum.pysliding-window-median.pysmallest-good-base.pysmallest-index-with-equal-value.pysmallest-range-i.pysmallest-range-ii.pysmallest-string-starting-from-leaf.pysmallest-string-with-a-given-numeric-value.pysmallest-subsequence-of-distinct-characters.pysmallest-subtree-with-all-the-deepest-nodes.pysmallest-value-of-the-rearranged-number.pysnakes-and-ladders.pysolve-the-equation.pysort-an-array.pysort-array-by-increasing-frequency.pysort-array-by-parity-ii.pysort-array-by-parity.pysort-characters-by-frequency.pysort-colors.pysort-even-and-odd-indices-independently.pysort-integers-by-the-number-of-1-bits.pysort-integers-by-the-power-value.pysort-list.pysort-the-jumbled-numbers.pysort-the-matrix-diagonally.pysorting-the-sentence.pyspiral-matrix-ii.pyspiral-matrix.pysplit-a-string-in-balanced-strings.pysplit-array-largest-sum.pysplit-linked-list-in-parts.pysqrtx.pysquares-of-a-sorted-array.pystone-game.pystring-compression.pysubarray-sum-equals-k.pysubdomain-visit-count.pysubrectangle-queries.pysubsets-ii.pysubsets.pysubstrings-of-size-three-with-distinct-characters.pysubtract-the-product-and-sum-of-digits-of-an-integer.pysubtree-of-another-tree.pysum-of-all-odd-length-subarrays.cppsum-of-digits-in-base-k.pysum-of-digits-of-string-after-convert.pysum-of-left-leaves.pysum-of-nodes-with-even-valued-grandparent.pysum-of-root-to-leaf-binary-numbers.pysum-of-square-numbers.pysum-of-unique-elements.pysum-root-to-leaf-numbers.pysummary-ranges.pysuper-pow.pyswap-nodes-in-pairs.pyswapping-nodes-in-a-linked-list.pysymmetric-tree.pytarget-sum.pyteemo-attacking.pytenth-line.shthe-k-weakest-rows-in-a-matrix.pythird-maximum-number.pythousand-separator.pythree-divisors.pyto-lower-case.pytop-k-frequent-elements.pytranspose-matrix.pytrapping-rain-water.pytriangle.pytrim-a-binary-search-tree.pytruncate-sentence.pytwo-city-scheduling.pytwo-furthest-houses-with-different-colors.pytwo-out-of-three.pytwo-sum-ii-input-array-is-sorted.pytwo-sum-iv-input-is-a-bst.pytwo-sum.cpptwo-sum.pyugly-number-ii.pyugly-number.pyuncommon-words-from-two-sentences.pyunique-binary-search-trees-ii.pyunique-binary-search-trees.pyunique-email-addresses.pyunique-morse-code-words.pyunique-paths-ii.pyunique-paths-iii.pyunique-paths.pyunivalued-binary-tree.pyvalid-anagram.pyvalid-palindrome-ii.pyvalid-palindrome.pyvalid-parentheses.pyvalid-perfect-square.pyvalid-square.pyvalid-triangle-number.pyvalidate-binary-search-tree.pyvalidate-stack-sequences.pyverifying-an-alien-dictionary.pyvertical-order-traversal-of-a-binary-tree.pyvowels-of-all-substrings.pywater-and-jug-problem.pywater-bottles.pywidest-vertical-area-between-two-points-containing-no-points.pywiggle-subsequence.pywildcard-matching.pyword-break.pyword-ladder.pyword-pattern.pyword-search.pyxor-operation-in-an-array.pyzigzag-conversion.py ## Publication Information - [theabbie](https://paragraph.com/@theabbie-2/): Publication homepage - [All Posts](https://paragraph.com/@theabbie-2/): More posts from this publication - [RSS Feed](https://api.paragraph.com/blogs/rss/@theabbie-2): Subscribe to updates - [Twitter](https://twitter.com/TheAbbiee): Follow on Twitter