commit 53e1f23ef5dcd5a03a70eb7f3ad78d9bfd75502b parent 572deea60df2cd88ab7260b72bbdb9ed53899c0f Author: Andrew Laack <andrew@laack.co> Date: Fri, 11 Sep 2026 14:01:38 -0500 Refactoring Diffstat:
452 files changed, 27 insertions(+), 2 deletions(-)
diff --git a/README b/README @@ -0,0 +1,3 @@ +Leet-Code +========= +This is a repo algorithmic work generally. Primarily leetcode, some algo visualization, some other problems. diff --git a/README.md b/README.md @@ -1,2 +0,0 @@ -# Leet-Code -This is a repo for all of my completed leet-code submissions. diff --git a/aoc_2025_1/aoc_2025_1.py b/aoc/aoc_2025_1/aoc_2025_1.py diff --git a/comp/run.sh b/comp/run.sh @@ -0,0 +1,13 @@ + +g++ -std=c++20 -Wall -Wextra ./*.cpp -o a.out || exit 1 +for input in tests/*.in; do + expected="${input%.in}.out" + echo "$input" + ./a.out < "$input" > res.txt + if diff -u "$expected" res.txt; then + echo "PASS" + else + echo "FAIL" + fi +done +rm -f res.txt a.out diff --git a/comp/sum/solution.cpp b/comp/sum/solution.cpp @@ -0,0 +1,8 @@ +#include<iostream> + +int main() { + int x,y; + std::cin >> x; + std::cin >> y; + std::cout << x+y << std::endl; +} diff --git a/comp/sum/tests/0.in b/comp/sum/tests/0.in @@ -0,0 +1 @@ +10 100 diff --git a/comp/sum/tests/1.in b/comp/sum/tests/1.in @@ -0,0 +1 @@ +-1 10 diff --git a/01-matrix/01-matrix.dart b/lc/01-matrix/01-matrix.dart diff --git a/01-matrix/01-matrixV1.dart b/lc/01-matrix/01-matrixV1.dart diff --git a/01-matrix/01-matrixV2.dart b/lc/01-matrix/01-matrixV2.dart diff --git a/3sum-closest/3sum-closest.dart b/lc/3sum-closest/3sum-closest.dart diff --git a/3sum-closest/3sum-closestDP.dart b/lc/3sum-closest/3sum-closestDP.dart diff --git a/3sum-closest/3sum-closestV2.dart b/lc/3sum-closest/3sum-closestV2.dart diff --git a/3sum/3sum.dart b/lc/3sum/3sum.dart diff --git a/3sum/3sum.py b/lc/3sum/3sum.py diff --git a/3sum/3sumV2.dart b/lc/3sum/3sumV2.dart diff --git a/3sum/3sumV2.py b/lc/3sum/3sumV2.py diff --git a/3sum/3sumV3.dart b/lc/3sum/3sumV3.dart diff --git a/Design-Underground-System/design-underground-system.dart b/lc/Design-Underground-System/design-underground-system.dart diff --git a/add-binary/add-binary.dart b/lc/add-binary/add-binary.dart diff --git a/add-digits/add-digits.js b/lc/add-digits/add-digits.js diff --git a/add-two-numbers/add-two-numbers.cpp b/lc/add-two-numbers/add-two-numbers.cpp diff --git a/add-two-numbers/add-two-numbers.py b/lc/add-two-numbers/add-two-numbers.py diff --git a/airplane-seat-assignment-probability/airplane-seat-assignment-probability.dart b/lc/airplane-seat-assignment-probability/airplane-seat-assignment-probability.dart diff --git a/all-paths-from-source-to-target/all-paths-from-source-to-target.dart b/lc/all-paths-from-source-to-target/all-paths-from-source-to-target.dart diff --git a/all-paths-from-source-to-target/all-paths-from-source-to-targetV2.dart b/lc/all-paths-from-source-to-target/all-paths-from-source-to-targetV2.dart diff --git a/arranging-coins/arranging-coins.dart b/lc/arranging-coins/arranging-coins.dart diff --git a/article-views-i/article-views-i.sql b/lc/article-views-i/article-views-i.sql diff --git a/average-of-levels-in-binary-tree/average-of-levels-in-binary-tree.dart b/lc/average-of-levels-in-binary-tree/average-of-levels-in-binary-tree.dart diff --git a/average-salary-excluding-min-and-max/average-salary.dart b/lc/average-salary-excluding-min-and-max/average-salary.dart diff --git a/average-salary-excluding-min-and-max/average-salaryV2.dart b/lc/average-salary-excluding-min-and-max/average-salaryV2.dart diff --git a/average-time-of-process-per-machine/average-time-per-machine.sql b/lc/average-time-of-process-per-machine/average-time-per-machine.sql diff --git a/balanced-binary-tree/balanced-binary-tree.py b/lc/balanced-binary-tree/balanced-binary-tree.py diff --git a/best-time-to-buy-and-sell-stock-ii/best-time-to-buy-and-sell-stock-ii.dart b/lc/best-time-to-buy-and-sell-stock-ii/best-time-to-buy-and-sell-stock-ii.dart diff --git a/best-time-to-buy-and-sell-stock-ii/best-time-to-buy-and-sell-stock-iiV2.dart b/lc/best-time-to-buy-and-sell-stock-ii/best-time-to-buy-and-sell-stock-iiV2.dart diff --git a/best-time-to-buy-and-sell-stock/buy-and-sell.js b/lc/best-time-to-buy-and-sell-stock/buy-and-sell.js diff --git a/big-countries/big-countries.sql b/lc/big-countries/big-countries.sql diff --git a/biggest-single-number/biggest-single-number.sql b/lc/biggest-single-number/biggest-single-number.sql diff --git a/binary-search/binary-search.py b/lc/binary-search/binary-search.py diff --git a/binary-search/binary-searchV2.py b/lc/binary-search/binary-searchV2.py diff --git a/binary-tree-inorder/binary-tree-traversal-iterative.cpp b/lc/binary-tree-inorder/binary-tree-traversal-iterative.cpp diff --git a/binary-tree-inorder/binary-tree-traversal.cpp b/lc/binary-tree-inorder/binary-tree-traversal.cpp diff --git a/binary-tree-inorder/binary-tree-traversal.dart b/lc/binary-tree-inorder/binary-tree-traversal.dart diff --git a/binary-tree-level-order-traversal-ii/binary-tree-level-order-traversal-ii.dart b/lc/binary-tree-level-order-traversal-ii/binary-tree-level-order-traversal-ii.dart diff --git a/binary-tree-level-order-traversal/trav.cpp b/lc/binary-tree-level-order-traversal/trav.cpp diff --git a/binary-tree-level-order-traversal/trav.py b/lc/binary-tree-level-order-traversal/trav.py diff --git a/binary-tree-level-order/binary-tree-level-order.js b/lc/binary-tree-level-order/binary-tree-level-order.js diff --git a/binary-tree-paths/binary-tree-paths.dart b/lc/binary-tree-paths/binary-tree-paths.dart diff --git a/binary-tree-postorder-traversal/postorder-traversal.cpp b/lc/binary-tree-postorder-traversal/postorder-traversal.cpp diff --git a/binary-tree-postorder-traversal/postorder-traversal.dart b/lc/binary-tree-postorder-traversal/postorder-traversal.dart diff --git a/binary-tree-preeorder-traversal/preorder-traversal-iterative.cpp b/lc/binary-tree-preeorder-traversal/preorder-traversal-iterative.cpp diff --git a/binary-tree-preeorder-traversal/preorder-traversal.cpp b/lc/binary-tree-preeorder-traversal/preorder-traversal.cpp diff --git a/binary-tree-preeorder-traversal/preorder-traversal.dart b/lc/binary-tree-preeorder-traversal/preorder-traversal.dart diff --git a/binary-tree-right-side-view/binary-tree-right-side-view.dart b/lc/binary-tree-right-side-view/binary-tree-right-side-view.dart diff --git a/binary-tree-right-side-view/binary-tree-right-side-view.py b/lc/binary-tree-right-side-view/binary-tree-right-side-view.py diff --git a/binary-tree-zigzag-level-order/zig-zag-level-order.dart b/lc/binary-tree-zigzag-level-order/zig-zag-level-order.dart diff --git a/bulb-switcher/bulb-switcher.js b/lc/bulb-switcher/bulb-switcher.js diff --git a/bulb-switcher/bulb-switcherV2.js b/lc/bulb-switcher/bulb-switcherV2.js diff --git a/calculate-special-bonus/special-bonus.sql b/lc/calculate-special-bonus/special-bonus.sql diff --git a/can-make-arithmetic-progression-from-sequence/can-make-arithmetic-progression-from-sequence.dart b/lc/can-make-arithmetic-progression-from-sequence/can-make-arithmetic-progression-from-sequence.dart diff --git a/candy/candy.dart b/lc/candy/candy.dart diff --git a/check-divisibility-by-digit-sum-and-product/check-divisibility-by-digit-sum-and-product.py b/lc/check-divisibility-by-digit-sum-and-product/check-divisibility-by-digit-sum-and-product.py diff --git a/cinema-seat-allocation/cinema-seat-allocation-v2.py b/lc/cinema-seat-allocation/cinema-seat-allocation-v2.py diff --git a/cinema-seat-allocation/cinema-seat-allocation-v3.py b/lc/cinema-seat-allocation/cinema-seat-allocation-v3.py diff --git a/cinema-seat-allocation/cinema-seat-allocation-v4.py b/lc/cinema-seat-allocation/cinema-seat-allocation-v4.py diff --git a/cinema-seat-allocation/cinema-seat-allocation-v5.py b/lc/cinema-seat-allocation/cinema-seat-allocation-v5.py diff --git a/cinema-seat-allocation/cinema-seat-allocation.py b/lc/cinema-seat-allocation/cinema-seat-allocation.py diff --git a/classes-more-than-5-students/classes-more-than-5-students.sql b/lc/classes-more-than-5-students/classes-more-than-5-students.sql diff --git a/climbing-stairs/climbing-stairs.dart b/lc/climbing-stairs/climbing-stairs.dart diff --git a/clone-graph/clone-graphV1.py b/lc/clone-graph/clone-graphV1.py diff --git a/combination-sum-ii/combination-sum-ii.dart b/lc/combination-sum-ii/combination-sum-ii.dart diff --git a/combination-sum-ii/combination-sum-ii.py b/lc/combination-sum-ii/combination-sum-ii.py diff --git a/combination-sum-iii/combination-sum-iii.dart b/lc/combination-sum-iii/combination-sum-iii.dart diff --git a/combination-sum-iv/combination-sum-iv.dart b/lc/combination-sum-iv/combination-sum-iv.dart diff --git a/combination-sum/combination-sum.dart b/lc/combination-sum/combination-sum.dart diff --git a/combination-sum/combination-sum.py b/lc/combination-sum/combination-sum.py diff --git a/combination-sum/combination-sumV2.py b/lc/combination-sum/combination-sumV2.py diff --git a/combinations/combinations.dart b/lc/combinations/combinations.dart diff --git a/combine-two-tables/combine-twV1.sql b/lc/combine-two-tables/combine-twV1.sql diff --git a/combine-two-tables/combine.sql b/lc/combine-two-tables/combine.sql diff --git a/confirmation-rate/confirmation-rate.sql b/lc/confirmation-rate/confirmation-rate.sql diff --git a/consecutive-numbers/consecutive-numbers.sql b/lc/consecutive-numbers/consecutive-numbers.sql diff --git a/consecutive-numbers/consecutive-numbers1.sql b/lc/consecutive-numbers/consecutive-numbers1.sql diff --git a/contains-duplicate-ii/contains-duplicate.dart b/lc/contains-duplicate-ii/contains-duplicate.dart diff --git a/contains-duplicate-ii/contains-duplicate.py b/lc/contains-duplicate-ii/contains-duplicate.py diff --git a/contains-duplicate-ii/contains-duplicateV2.dart b/lc/contains-duplicate-ii/contains-duplicateV2.dart diff --git a/contains-duplicate/contains-duplicate.cpp b/lc/contains-duplicate/contains-duplicate.cpp diff --git a/contains-duplicate/contains-duplicateV2.cpp b/lc/contains-duplicate/contains-duplicateV2.cpp diff --git a/convert-binary-number-in-a-linked-list-to-integer/convert-binary-number-in-a-linked-list-to-integer.dart b/lc/convert-binary-number-in-a-linked-list-to-integer/convert-binary-number-in-a-linked-list-to-integer.dart diff --git a/convert-sorted-array-to-binary-search-tree/convert-sorted-array-to-binary-search-tree.dart b/lc/convert-sorted-array-to-binary-search-tree/convert-sorted-array-to-binary-search-tree.dart diff --git a/convert-sorted-list-to-binary-search/convert-sorted-list-to-binary-search-tree.dart b/lc/convert-sorted-list-to-binary-search/convert-sorted-list-to-binary-search-tree.dart diff --git a/count-good-nodes-in-binary-tree/count-good.py b/lc/count-good-nodes-in-binary-tree/count-good.py diff --git a/count-negative-numbers-in-a-matrix/count-negative-numbers-in-a-matrix.dart b/lc/count-negative-numbers-in-a-matrix/count-negative-numbers-in-a-matrix.dart diff --git a/count-nodes-equal-to-average-of-subtree/count-nodes-equal-to-average-of-subtree.py b/lc/count-nodes-equal-to-average-of-subtree/count-nodes-equal-to-average-of-subtree.py diff --git a/count-number-of-texts/count-number-of-texts.dart b/lc/count-number-of-texts/count-number-of-texts.dart diff --git a/count-primes/count-primes.cpp b/lc/count-primes/count-primes.cpp diff --git a/counting-bits/counting-bits.cpp b/lc/counting-bits/counting-bits.cpp diff --git a/course-schedule-ii/course-schedule-ii-v2.cpp b/lc/course-schedule-ii/course-schedule-ii-v2.cpp diff --git a/course-schedule-ii/course-schedule-ii.cpp b/lc/course-schedule-ii/course-schedule-ii.cpp diff --git a/course-schedule-iv/course-schedule-iv.cpp b/lc/course-schedule-iv/course-schedule-iv.cpp diff --git a/course-schedule/course-schedule.cpp b/lc/course-schedule/course-schedule.cpp diff --git a/cousins-in-binary-tree/cousins-in-binary-tree.dart b/lc/cousins-in-binary-tree/cousins-in-binary-tree.dart diff --git a/customer-placing-the-largest/customer-placing-the-largest-number-of-orders.sql b/lc/customer-placing-the-largest/customer-placing-the-largest-number-of-orders.sql diff --git a/customers-who-bought-all-products/customers-who-bought-all.sql b/lc/customers-who-bought-all-products/customers-who-bought-all.sql diff --git a/customers-who-never-order/customers-who-never-order.sql b/lc/customers-who-never-order/customers-who-never-order.sql diff --git a/daily-leads-and-parners/daily-leads.sql b/lc/daily-leads-and-parners/daily-leads.sql diff --git a/decode-ways/decode-ways.dart b/lc/decode-ways/decode-ways.dart diff --git a/delete-characters-to-make-fancy-string/delete-characters-to-make-fancy-stringV1.py b/lc/delete-characters-to-make-fancy-string/delete-characters-to-make-fancy-stringV1.py diff --git a/delete-duplicate-emails/delete-duplicate-emails.sql b/lc/delete-duplicate-emails/delete-duplicate-emails.sql diff --git a/department-highest-salary/department-highest-salary.sql b/lc/department-highest-salary/department-highest-salary.sql diff --git a/design-add-and-search-words-data-structure/design-add.py b/lc/design-add-and-search-words-data-structure/design-add.py diff --git a/design-hashset/design-hashset.dart b/lc/design-hashset/design-hashset.dart diff --git a/design-parking-system/design-parking-system.dart b/lc/design-parking-system/design-parking-system.dart diff --git a/design-twitter/design-twitterV1.py b/lc/design-twitter/design-twitterV1.py diff --git a/diameter-of-binary-tree/diameter-binary-tree.py b/lc/diameter-of-binary-tree/diameter-binary-tree.py diff --git a/distribute-elements-into-two-arrays-i/distribute-elements-into-two-arrays-i.py b/lc/distribute-elements-into-two-arrays-i/distribute-elements-into-two-arrays-i.py diff --git a/divide-two-integers/divide-two-integers-V2.dart b/lc/divide-two-integers/divide-two-integers-V2.dart diff --git a/divide-two-integers/divide-two-integers.dart b/lc/divide-two-integers/divide-two-integers.dart diff --git a/duplicate-emails/duplicate-emails.sql b/lc/duplicate-emails/duplicate-emails.sql diff --git a/elimination-game/elimination-game.dart b/lc/elimination-game/elimination-game.dart diff --git a/employee-bonus/employee-bonus.sql b/lc/employee-bonus/employee-bonus.sql diff --git a/employees-earning-more-than-managers/employees-earning.sql b/lc/employees-earning-more-than-managers/employees-earning.sql diff --git a/employees-reporting-to-managers/employees-reporting-to-managers.sql b/lc/employees-reporting-to-managers/employees-reporting-to-managers.sql diff --git a/employees-whose-manager-left-the-company/managers-who-left-the-company.sql b/lc/employees-whose-manager-left-the-company/managers-who-left-the-company.sql diff --git a/employees-with-missing-information/with-missing-info.sql b/lc/employees-with-missing-information/with-missing-info.sql diff --git a/equal-row-and-column-pairs/equal-row-and-column-pairs.dart b/lc/equal-row-and-column-pairs/equal-row-and-column-pairs.dart diff --git a/even-odd-tree/even-odd-tree.py b/lc/even-odd-tree/even-odd-tree.py diff --git a/fibonacci-number/fibonacci-number.cpp b/lc/fibonacci-number/fibonacci-number.cpp diff --git a/fibonacci-number/fibonacci-number.dart b/lc/fibonacci-number/fibonacci-number.dart diff --git a/find-all-possible-recipes-from-given-supplies/find-all-possible-recipes-from-given-supplies.py b/lc/find-all-possible-recipes-from-given-supplies/find-all-possible-recipes-from-given-supplies.py diff --git a/find-center-of-star-graph/find-center-of-star-graph.dart b/lc/find-center-of-star-graph/find-center-of-star-graph.dart diff --git a/find-customer-referee/find-customer-referee.sql b/lc/find-customer-referee/find-customer-referee.sql diff --git a/find-eventual-safe-states/find-eventual-safe-states.cpp b/lc/find-eventual-safe-states/find-eventual-safe-states.cpp diff --git a/find-first-and-last-position-of-elements-in-sorted-array/first-and-last.dart b/lc/find-first-and-last-position-of-elements-in-sorted-array/first-and-last.dart diff --git a/find-followers-count/find-followers-count.sql b/lc/find-followers-count/find-followers-count.sql diff --git a/find-longest-harmonious-subsequence/find-longest.py b/lc/find-longest-harmonious-subsequence/find-longest.py diff --git a/find-longest-harmonious-subsequence/find-longestV2.py b/lc/find-longest-harmonious-subsequence/find-longestV2.py diff --git a/find-min-in-rotated-sorted-array/findMin.py b/lc/find-min-in-rotated-sorted-array/findMin.py diff --git a/find-mode-in-binary-search-tree/mode-of-binary-tree.dart b/lc/find-mode-in-binary-search-tree/mode-of-binary-tree.dart diff --git a/find-original-typed-string-i/find-original-i.py b/lc/find-original-typed-string-i/find-original-i.py diff --git a/find-peak-element/find-peak-element.dart b/lc/find-peak-element/find-peak-element.dart diff --git a/find-smallest-letter-greater-than-target/find-smallest-letter-greater-than-target.dart b/lc/find-smallest-letter-greater-than-target/find-smallest-letter-greater-than-target.dart diff --git a/find-the-difference-of-two-array/difference-of-two-arrays.dart b/lc/find-the-difference-of-two-array/difference-of-two-arrays.dart diff --git a/find-the-difference-of-two-array/difference-of-two-arraysV2.dart b/lc/find-the-difference-of-two-array/difference-of-two-arraysV2.dart diff --git a/find-the-difference/find-the-difference.dart b/lc/find-the-difference/find-the-difference.dart diff --git a/find-the-duplicate-number/find-duplicate.py b/lc/find-the-duplicate-number/find-duplicate.py diff --git a/find-the-index-of-the-first-occurence/find-index-of-first-occurence.dart b/lc/find-the-index-of-the-first-occurence/find-index-of-first-occurence.dart diff --git a/find-the-index-of-the-first-occurrence-in-a-string/find-the-iV1.py b/lc/find-the-index-of-the-first-occurrence-in-a-string/find-the-iV1.py diff --git a/find-the-index-of-the-first-occurrence-in-a-string/find-the-iV2.py b/lc/find-the-index-of-the-first-occurrence-in-a-string/find-the-iV2.py diff --git a/find-the-k-th-character-in-string-game-i/find-the-k-th-character-in-string-game-iV1.py b/lc/find-the-k-th-character-in-string-game-i/find-the-k-th-character-in-string-game-iV1.py diff --git a/find-the-maximum-length-of-valid-subsequence-i/find-the-maximum-length-of-valid-subsequence-iV1.py b/lc/find-the-maximum-length-of-valid-subsequence-i/find-the-maximum-length-of-valid-subsequence-iV1.py diff --git a/find-unique-binary-string/find-unique-binary-string.dart b/lc/find-unique-binary-string/find-unique-binary-string.dart diff --git a/first-missing-positive/first-missing-positive.dart b/lc/first-missing-positive/first-missing-positive.dart diff --git a/first-missing-positive/first-missing-positiveV1.py b/lc/first-missing-positive/first-missing-positiveV1.py diff --git a/first-non-repeating-character/first-non-repeating.dart b/lc/first-non-repeating-character/first-non-repeating.dart diff --git a/first-unique-character-in-a-string/first-unique-character.dart b/lc/first-unique-character-in-a-string/first-unique-character.dart diff --git a/flatten-binary-tree-to-linked-list/flatten-binary-tree-to-linked-list.dart b/lc/flatten-binary-tree-to-linked-list/flatten-binary-tree-to-linked-list.dart diff --git a/game-of-life/game-of-life.dart b/lc/game-of-life/game-of-life.dart diff --git a/game-play-analysis/game-play-analysis.sql b/lc/game-play-analysis/game-play-analysis.sql diff --git a/generate-parentheses/generate-parentheses.dart b/lc/generate-parentheses/generate-parentheses.dart diff --git a/group-sold-products-by-the-date/group-sold-products-by-the-date.sql b/lc/group-sold-products-by-the-date/group-sold-products-by-the-date.sql diff --git a/guess_number/guess-number-higher-or-lower.cpp b/lc/guess_number/guess-number-higher-or-lower.cpp diff --git a/house-robber/house-robber-tle.dart b/lc/house-robber/house-robber-tle.dart diff --git a/house-robber/house-robberV2.dart b/lc/house-robber/house-robberV2.dart diff --git a/implement-queue/implement-queue.cpp b/lc/implement-queue/implement-queue.cpp diff --git a/implement-stack-using-queues/stack-using-queues.js b/lc/implement-stack-using-queues/stack-using-queues.js diff --git a/implement-trie/trie.py b/lc/implement-trie/trie.py diff --git a/increasing-order-search-tree/increasing-order-search-tree.dart b/lc/increasing-order-search-tree/increasing-order-search-tree.dart diff --git a/insert-interval/insert-intervalV1.py b/lc/insert-interval/insert-intervalV1.py diff --git a/insert-interval/insert-intervalV2.py b/lc/insert-interval/insert-intervalV2.py diff --git a/insertion-sort-list/insertion-sort-list.dart b/lc/insertion-sort-list/insertion-sort-list.dart diff --git a/integer-to-roman/integer-to-roman.cpp b/lc/integer-to-roman/integer-to-roman.cpp diff --git a/integer-to-roman/integer-to-romanV2Hash.cpp b/lc/integer-to-roman/integer-to-romanV2Hash.cpp diff --git a/integer-to-roman/integer-to-romanV3Vector.cpp b/lc/integer-to-roman/integer-to-romanV3Vector.cpp diff --git a/intersection-of-two-arrays/interesection-of-two-arrays.dart b/lc/intersection-of-two-arrays/interesection-of-two-arrays.dart diff --git a/invalid-tweets/invalid-tweets.sql b/lc/invalid-tweets/invalid-tweets.sql diff --git a/invert-binary-tree/invert-binary-tree.js b/lc/invert-binary-tree/invert-binary-tree.js diff --git a/invert-binary-tree/invert-binary-tree.py b/lc/invert-binary-tree/invert-binary-tree.py diff --git a/jewels-and-stones/jewels-and-stones.dart b/lc/jewels-and-stones/jewels-and-stones.dart diff --git a/jump-game-ii/jump-game-ii.dart b/lc/jump-game-ii/jump-game-ii.dart diff --git a/jump-game/jump-game.dart b/lc/jump-game/jump-game.dart diff --git a/jump-game/jump-gameV2.dart b/lc/jump-game/jump-gameV2.dart diff --git a/k-closest-points-to-origin/k-closest-points-to-originV1.py b/lc/k-closest-points-to-origin/k-closest-points-to-originV1.py diff --git a/koko-eating-bananas/eating.py b/lc/koko-eating-bananas/eating.py diff --git a/kth-largest-element-in-a-stream/kth-largest-element-in-a-streamV1.py b/lc/kth-largest-element-in-a-stream/kth-largest-element-in-a-streamV1.py diff --git a/kth-largest-element-in-a-stream/kth-largest-element-in-a-streamV2.py b/lc/kth-largest-element-in-a-stream/kth-largest-element-in-a-streamV2.py diff --git a/kth-largest-element-in-a-stream/kth-largest-element-in-a-streamV3.py b/lc/kth-largest-element-in-a-stream/kth-largest-element-in-a-streamV3.py diff --git a/kth-largest-element-in-a-stream/kth-largest-element-in-a-streamV4.py b/lc/kth-largest-element-in-a-stream/kth-largest-element-in-a-streamV4.py diff --git a/kth-largest-element-in-a-stream/kth-largest-element-in-a-streamV5.py b/lc/kth-largest-element-in-a-stream/kth-largest-element-in-a-streamV5.py diff --git a/kth-largest-element-in-an-array/kth-largest-element-in-an-arrayV1.py b/lc/kth-largest-element-in-an-array/kth-largest-element-in-an-arrayV1.py diff --git a/kth-largest-element-in-an-array/kth-largest-element-in-an-arrayV2.py b/lc/kth-largest-element-in-an-array/kth-largest-element-in-an-arrayV2.py diff --git a/kth-largest-element/kth-largest-element.cpp b/lc/kth-largest-element/kth-largest-element.cpp diff --git a/kth-largest-element/kth-largest-elementV2.cpp b/lc/kth-largest-element/kth-largest-elementV2.cpp diff --git a/kth-smallest-element-in-a-bst/kth-smallest.py b/lc/kth-smallest-element-in-a-bst/kth-smallest.py diff --git a/largest-odd-number-in-string/largest-odd-number-in-string.dart b/lc/largest-odd-number-in-string/largest-odd-number-in-string.dart diff --git a/last-stone-weight/last-stone-weightV1.py b/lc/last-stone-weight/last-stone-weightV1.py diff --git a/length-of-last-word/length-of-last-word.cpp b/lc/length-of-last-word/length-of-last-word.cpp diff --git a/length-of-last-word/length-of-last-word.dart b/lc/length-of-last-word/length-of-last-word.dart diff --git a/letter-combinations-of-a-phone-number/letter-combinations-of-a-phone-number.dart b/lc/letter-combinations-of-a-phone-number/letter-combinations-of-a-phone-number.dart diff --git a/letter-combinations-of-a-phone-number/letter-combinations-of-a-phone-numberV1.py b/lc/letter-combinations-of-a-phone-number/letter-combinations-of-a-phone-numberV1.py diff --git a/linked-list-cycle/linked-list-cycle.js b/lc/linked-list-cycle/linked-list-cycle.js diff --git a/linked-list-cycle/linked-list-cycle.py b/lc/linked-list-cycle/linked-list-cycle.py diff --git a/linked-list-cycle/linked-list-cycleV2.py b/lc/linked-list-cycle/linked-list-cycleV2.py diff --git a/list-the-products-ordered-in-period/list-the-products.sql b/lc/list-the-products-ordered-in-period/list-the-products.sql diff --git a/longest-common-prefix/longest-common-prefix.cpp b/lc/longest-common-prefix/longest-common-prefix.cpp diff --git a/longest-consecutive-sequence/longest-consecutive-sequence-v2.py b/lc/longest-consecutive-sequence/longest-consecutive-sequence-v2.py diff --git a/longest-consecutive-sequence/longest-consecutive-sequence-v3.py b/lc/longest-consecutive-sequence/longest-consecutive-sequence-v3.py diff --git a/longest-consecutive-sequence/longest-consecutive-sequence.py b/lc/longest-consecutive-sequence/longest-consecutive-sequence.py diff --git a/longest-increasing-subsequence/longest-increasing-subsequence.dart b/lc/longest-increasing-subsequence/longest-increasing-subsequence.dart diff --git a/longest-palindromic-substring/longest-palindromic-substring.dart b/lc/longest-palindromic-substring/longest-palindromic-substring.dart diff --git a/longest-palindromic-substring/longest-palindromic-substring.py b/lc/longest-palindromic-substring/longest-palindromic-substring.py diff --git a/longest-repeating-character-replacement/longest-repeating.py b/lc/longest-repeating-character-replacement/longest-repeating.py diff --git a/longest-subarray-of-1s-after-deleting-one-element/longest-subarray-of-1s-after-deleting-one-element.py b/lc/longest-subarray-of-1s-after-deleting-one-element/longest-subarray-of-1s-after-deleting-one-element.py diff --git a/longest-substring-without-repeating-characters/longest-substring-recursive.py b/lc/longest-substring-without-repeating-characters/longest-substring-recursive.py diff --git a/longest-substring-without-repeating-characters/longest-substring.py b/lc/longest-substring-without-repeating-characters/longest-substring.py diff --git a/longest-valid-parentheses/longest-valid-parentheses.js b/lc/longest-valid-parentheses/longest-valid-parentheses.js diff --git a/longest-zigzag-path/longest-zigzag-path.dart b/lc/longest-zigzag-path/longest-zigzag-path.dart diff --git a/lowest-common-ancestor-of-a-binary-search-tree/lowest.py b/lc/lowest-common-ancestor-of-a-binary-search-tree/lowest.py diff --git a/lru-cache/lru-cacheV1.py b/lc/lru-cache/lru-cacheV1.py diff --git a/majority-element-ii/majority-element-ii.dart b/lc/majority-element-ii/majority-element-ii.dart diff --git a/majority-element/majority.cpp b/lc/majority-element/majority.cpp diff --git a/matrix-diagonal-sum/diagonal-sum.dart b/lc/matrix-diagonal-sum/diagonal-sum.dart diff --git a/max-area-of-island/max-area-of-islandV1.py b/lc/max-area-of-island/max-area-of-islandV1.py diff --git a/max-dotproduct-of-subsequences/MaxDotProductOfTwoSubsequences.py b/lc/max-dotproduct-of-subsequences/MaxDotProductOfTwoSubsequences.py diff --git a/maximum-depth/maximum-depth.dart b/lc/maximum-depth/maximum-depth.dart diff --git a/maximum-depth/maximum-depth.py b/lc/maximum-depth/maximum-depth.py diff --git a/maximum-difference-between-adjacent-elements-in-a-circular-array/max-diff.py b/lc/maximum-difference-between-adjacent-elements-in-a-circular-array/max-diff.py diff --git a/maximum-difference-by-remapping-a-digit/max-diff.py b/lc/maximum-difference-by-remapping-a-digit/max-diff.py diff --git a/maximum-gap/maximum-gap.dart b/lc/maximum-gap/maximum-gap.dart diff --git a/maximum-level-sum-of-a-binary-tree/max-level-sum-of-binary-tree.dart b/lc/maximum-level-sum-of-a-binary-tree/max-level-sum-of-binary-tree.dart diff --git a/maximum-number-of-moves-in-a-grid/maximum-number-of-moves-in-a-grid.dart b/lc/maximum-number-of-moves-in-a-grid/maximum-number-of-moves-in-a-grid.dart diff --git a/maximum-number-of-vowels-in-a-substring/max-vowels-in-substring.dart b/lc/maximum-number-of-vowels-in-a-substring/max-vowels-in-substring.dart diff --git a/maximum-odd-binary-number/maximum-odd-binary-number.py b/lc/maximum-odd-binary-number/maximum-odd-binary-number.py diff --git a/maximum-odd-binary-number/maximum-odd-binary-numberV2.py b/lc/maximum-odd-binary-number/maximum-odd-binary-numberV2.py diff --git a/maximum-product-subarray/maximum-product-subarray.dart b/lc/maximum-product-subarray/maximum-product-subarray.dart diff --git a/maximum-subarray/maximum-subarray.cpp b/lc/maximum-subarray/maximum-subarray.cpp diff --git a/maximum-subarray/maximum-subarray.dart b/lc/maximum-subarray/maximum-subarray.dart diff --git a/maximum-subarray/maximum-subarrayV2.cpp b/lc/maximum-subarray/maximum-subarrayV2.cpp diff --git a/maximum-subsequence-score/maximum-subsequence-score.dart b/lc/maximum-subsequence-score/maximum-subsequence-score.dart diff --git a/maximum-twin-sum-of-a-linked-list/maximum-twin-sum-of-a-linked-list.dart b/lc/maximum-twin-sum-of-a-linked-list/maximum-twin-sum-of-a-linked-list.dart diff --git a/median-of-sorted-arrays/median-of-sorted-array.cpp b/lc/median-of-sorted-arrays/median-of-sorted-array.cpp diff --git a/merge-intervals/merge-intervalsV1.py b/lc/merge-intervals/merge-intervalsV1.py diff --git a/merge-k-sorted-lists/merge-k-sorted-lists.dart b/lc/merge-k-sorted-lists/merge-k-sorted-lists.dart diff --git a/merge-nodes-in-between-zeroes/merge-nodes-between-zeroes.dart b/lc/merge-nodes-in-between-zeroes/merge-nodes-between-zeroes.dart diff --git a/merge-sorted-array/merge-sorted-arrays.dart b/lc/merge-sorted-array/merge-sorted-arrays.dart diff --git a/merge-two-sorted-lists/merge-two-sorted-lists.dart b/lc/merge-two-sorted-lists/merge-two-sorted-lists.dart diff --git a/merge-two-sorted-lists/merge-two-sorted-lists.js b/lc/merge-two-sorted-lists/merge-two-sorted-lists.js diff --git a/merge-two-sorted-lists/merge-two-sorted-lists.py b/lc/merge-two-sorted-lists/merge-two-sorted-lists.py diff --git a/merge-two-sorted-lists/merge-two-sorted-listsV2.dart b/lc/merge-two-sorted-lists/merge-two-sorted-listsV2.dart diff --git a/mice-and-cheese/mice-and-cheese.py b/lc/mice-and-cheese/mice-and-cheese.py diff --git a/middle-of-linked-list/middle-of-linked-list.dart b/lc/middle-of-linked-list/middle-of-linked-list.dart diff --git a/min-cost-climbing-stairs/min-cost-climbing-stairs.dart b/lc/min-cost-climbing-stairs/min-cost-climbing-stairs.dart diff --git a/min-cost-to-connect-all-points/min-cost-to-connect-all-points.py b/lc/min-cost-to-connect-all-points/min-cost-to-connect-all-points.py diff --git a/minimum-absolute-difference-in-bst/min-diff-in-bst.dart b/lc/minimum-absolute-difference-in-bst/min-diff-in-bst.dart diff --git a/minimum-cost-for-tickets/minimum-cost-for-tickets.dart b/lc/minimum-cost-for-tickets/minimum-cost-for-tickets.dart diff --git a/minimum-depth-of-binary-tree/minimum-depth.js b/lc/minimum-depth-of-binary-tree/minimum-depth.js diff --git a/minimum-height-trees/minimum-height-trees.cpp b/lc/minimum-height-trees/minimum-height-trees.cpp diff --git a/minimum-number-of-work-sessions-to-finish-the-tasks/minimum-number-of-work-sessions.dart b/lc/minimum-number-of-work-sessions-to-finish-the-tasks/minimum-number-of-work-sessions.dart diff --git a/minimum-path-sum/minimum-path-sum.dart b/lc/minimum-path-sum/minimum-path-sum.dart diff --git a/minimum-size-subarray-sum/minimum-size-subarray-sum-v2.py b/lc/minimum-size-subarray-sum/minimum-size-subarray-sum-v2.py diff --git a/minimum-size-subarray-sum/minimum-size-subarray-sum.py b/lc/minimum-size-subarray-sum/minimum-size-subarray-sum.py diff --git a/minimum-sum-of-four-digit-number-after-splitting-digits/minimum-sum.dart b/lc/minimum-sum-of-four-digit-number-after-splitting-digits/minimum-sum.dart diff --git a/minimum-time-to-visit-a-cell-in-a-grid/minimum-time-to-visit.dart b/lc/minimum-time-to-visit-a-cell-in-a-grid/minimum-time-to-visit.dart diff --git a/missing-number/missing-number.cpp b/lc/missing-number/missing-number.cpp diff --git a/missing-number/missing-numberV1.py b/lc/missing-number/missing-numberV1.py diff --git a/missing-number/missing-numberV2.cpp b/lc/missing-number/missing-numberV2.cpp diff --git a/most-water/most-water.cpp b/lc/most-water/most-water.cpp diff --git a/n-queens/n-queens.dart b/lc/n-queens/n-queens.dart diff --git a/nearest-available-drone/nearest-available-drone.py b/lc/nearest-available-drone/nearest-available-drone.py diff --git a/new-21-game/new-21-game-v2.py b/lc/new-21-game/new-21-game-v2.py diff --git a/new-21-game/new-21-game-v3.py b/lc/new-21-game/new-21-game-v3.py diff --git a/new-21-game/new-21-game.py b/lc/new-21-game/new-21-game.py diff --git a/non-overlapping-intervals/non-overlapping-intervalsV1.py b/lc/non-overlapping-intervals/non-overlapping-intervalsV1.py diff --git a/non-overlapping-intervals/non-overlapping-intervalsV2.py b/lc/non-overlapping-intervals/non-overlapping-intervalsV2.py diff --git a/not-boring-movies/not-boring-movies.sql b/lc/not-boring-movies/not-boring-movies.sql diff --git a/number-of-1-bits/number-of-1-bitsV1.py b/lc/number-of-1-bits/number-of-1-bitsV1.py diff --git a/number-of-1-bits/number-of-1-bitsV2.py b/lc/number-of-1-bits/number-of-1-bitsV2.py diff --git a/number-of-good-pairs/number-of-good-pairs.dart b/lc/number-of-good-pairs/number-of-good-pairs.dart diff --git a/number-of-islands/number-of-islands.dart b/lc/number-of-islands/number-of-islands.dart diff --git a/number-of-islands/number-of-islandsV1.py b/lc/number-of-islands/number-of-islandsV1.py diff --git a/number-of-islands/number-of-islandsV2.dart b/lc/number-of-islands/number-of-islandsV2.dart diff --git a/number-of-provinces/number-of-provinces-v2.cpp b/lc/number-of-provinces/number-of-provinces-v2.cpp diff --git a/number-of-provinces/number-of-provinces.cpp b/lc/number-of-provinces/number-of-provinces.cpp diff --git a/number-of-provinces/number-of-provinces.dart b/lc/number-of-provinces/number-of-provinces.dart diff --git a/number-of-unique-subjects-taught-by-each-teacher/number-of-subjects-by-teacher.sql b/lc/number-of-unique-subjects-taught-by-each-teacher/number-of-subjects-by-teacher.sql diff --git a/odd-even-linked-list/odd-even-linked-list.dart b/lc/odd-even-linked-list/odd-even-linked-list.dart diff --git a/palindrome-linked-list/palindrome-linked-list.dart b/lc/palindrome-linked-list/palindrome-linked-list.dart diff --git a/palindrome-number/palindrome-number.cpp b/lc/palindrome-number/palindrome-number.cpp diff --git a/palindrome-number/palindrome-number.py b/lc/palindrome-number/palindrome-number.py diff --git a/palindrome-number/palindrome-numberV2.cpp b/lc/palindrome-number/palindrome-numberV2.cpp diff --git a/palindrome-partitioning/palindrome-partitioningV1.py b/lc/palindrome-partitioning/palindrome-partitioningV1.py diff --git a/palindromic-substrings/palindromic-substrings.cpp b/lc/palindromic-substrings/palindromic-substrings.cpp diff --git a/pascals-triangle-ii/pascals-triangle-ii.dart b/lc/pascals-triangle-ii/pascals-triangle-ii.dart diff --git a/pascals-triangle/pascals-triangle.dart b/lc/pascals-triangle/pascals-triangle.dart diff --git a/path-sum-ii/path-sum-ii.dart b/lc/path-sum-ii/path-sum-ii.dart diff --git a/path-sum-iii/path-sum-iii.dart b/lc/path-sum-iii/path-sum-iii.dart diff --git a/path-sum/path-sum.dart b/lc/path-sum/path-sum.dart diff --git a/path-with-maximum-gold/path-with-maximum-gold.dart b/lc/path-with-maximum-gold/path-with-maximum-gold.dart diff --git a/patients-with-a-condition/patients-with-a-condition.sql b/lc/patients-with-a-condition/patients-with-a-condition.sql diff --git a/percentage-of-users-attended-a-contest/percent-attended.sql b/lc/percentage-of-users-attended-a-contest/percent-attended.sql diff --git a/permutation-in-string/perm-in-string.py b/lc/permutation-in-string/perm-in-string.py diff --git a/permutations-ii/permutations-ii.cpp b/lc/permutations-ii/permutations-ii.cpp diff --git a/permutations-ii/permutations-ii.dart b/lc/permutations-ii/permutations-ii.dart diff --git a/permutations-ii/permutations-ii.py b/lc/permutations-ii/permutations-ii.py diff --git a/permutations/permutations.dart b/lc/permutations/permutations.dart diff --git a/permutations/permutationsV1.py b/lc/permutations/permutationsV1.py diff --git a/plus-one/plus-one.dart b/lc/plus-one/plus-one.dart diff --git a/power-of-two/power-of-two.dart b/lc/power-of-two/power-of-two.dart diff --git a/powx-n/powx-n.dart b/lc/powx-n/powx-n.dart diff --git a/primary-department-for-each-employee/primary-department.sql b/lc/primary-department-for-each-employee/primary-department.sql diff --git a/product-of-array-except-self/product-of-array-except-self.cpp b/lc/product-of-array-except-self/product-of-array-except-self.cpp diff --git a/product-sales-analysis-iii/product-sales-analysis-iii.sql b/lc/product-sales-analysis-iii/product-sales-analysis-iii.sql diff --git a/project-employees-i/project-employees.sql b/lc/project-employees-i/project-employees.sql diff --git a/range-sum-of-bst/range-sum-of-bst.dart b/lc/range-sum-of-bst/range-sum-of-bst.dart diff --git a/range-sum-query-immutable/range-sum-query-immutable.cpp b/lc/range-sum-query-immutable/range-sum-query-immutable.cpp diff --git a/range-sum-query-mutable/range-sum-query-mutable-v2.py b/lc/range-sum-query-mutable/range-sum-query-mutable-v2.py diff --git a/range-sum-query-mutable/range-sum-query-mutable.py b/lc/range-sum-query-mutable/range-sum-query-mutable.py diff --git a/rank-scores/rank-scores.sql b/lc/rank-scores/rank-scores.sql diff --git a/recyclable-and-low-fat/recyclable-and-low-fat.sql b/lc/recyclable-and-low-fat/recyclable-and-low-fat.sql diff --git a/redundant-connection/redundant-connection.cpp b/lc/redundant-connection/redundant-connection.cpp diff --git a/regular-expression-matching/regular-expression-matching.dart b/lc/regular-expression-matching/regular-expression-matching.dart diff --git a/remove-all-occurences-of-a-substring/remove-all-lazy.dart b/lc/remove-all-occurences-of-a-substring/remove-all-lazy.dart diff --git a/remove-all-occurences-of-a-substring/remove-all.dart b/lc/remove-all-occurences-of-a-substring/remove-all.dart diff --git a/remove-duplicates-from-sorted-array/remove-duplicates.dart b/lc/remove-duplicates-from-sorted-array/remove-duplicates.dart diff --git a/remove-duplicates-from-sorted-array/remove-duplicates.js b/lc/remove-duplicates-from-sorted-array/remove-duplicates.js diff --git a/remove-duplicates-from-sorted-array/remove-duplicates.py b/lc/remove-duplicates-from-sorted-array/remove-duplicates.py diff --git a/remove-duplicates-from-sorted-array/remove-duplicatesV2.js b/lc/remove-duplicates-from-sorted-array/remove-duplicatesV2.js diff --git a/remove-duplicates-from-sorted-list/remove-duplicates.dart b/lc/remove-duplicates-from-sorted-list/remove-duplicates.dart diff --git a/remove-element/remove-element.cpp b/lc/remove-element/remove-element.cpp diff --git a/remove-linked-list-elements/remove-elements.js b/lc/remove-linked-list-elements/remove-elements.js diff --git a/remove-nodes-from-linked-list/remove-nodes-from-linked-list.dart b/lc/remove-nodes-from-linked-list/remove-nodes-from-linked-list.dart diff --git a/remove-nth-node-from-end/remove-nth.py b/lc/remove-nth-node-from-end/remove-nth.py diff --git a/remove-nth-node/remove-nth-node-from-end.cpp b/lc/remove-nth-node/remove-nth-node-from-end.cpp diff --git a/remove-trailing-zeroes/remove-trailing-zeroes.cpp b/lc/remove-trailing-zeroes/remove-trailing-zeroes.cpp diff --git a/reorder-list/reorder-list.dart b/lc/reorder-list/reorder-list.dart diff --git a/reorder-list/reorder-list.py b/lc/reorder-list/reorder-list.py diff --git a/replace-employee-id-with-the-unique-identifier/replace-employee-id.sql b/lc/replace-employee-id-with-the-unique-identifier/replace-employee-id.sql diff --git a/reverse-integer/reverse-integer-2.cpp b/lc/reverse-integer/reverse-integer-2.cpp diff --git a/reverse-integer/reverse-integer.cpp b/lc/reverse-integer/reverse-integer.cpp diff --git a/reverse-linked-list-ii/reverse-linked-list-ii.dart b/lc/reverse-linked-list-ii/reverse-linked-list-ii.dart diff --git a/reverse-linked-list/reverse-list.dart b/lc/reverse-linked-list/reverse-list.dart diff --git a/reverse-linked-list/reverse-list.py b/lc/reverse-linked-list/reverse-list.py diff --git a/reverse-words-in-a-string/reverse-words-in-a-string.dart b/lc/reverse-words-in-a-string/reverse-words-in-a-string.dart diff --git a/rising-temperature/rising-temp.sql b/lc/rising-temperature/rising-temp.sql diff --git a/roman-to-integer/roman-to-integer.cpp b/lc/roman-to-integer/roman-to-integer.cpp diff --git a/rotate-array/rotate-array.dart b/lc/rotate-array/rotate-array.dart diff --git a/rotate-image/rotate-image.dart b/lc/rotate-image/rotate-image.dart diff --git a/rotate-list/rotate-list.dart b/lc/rotate-list/rotate-list.dart diff --git a/sales-person/sales-person.sql b/lc/sales-person/sales-person.sql diff --git a/same-tree/same-tree.dart b/lc/same-tree/same-tree.dart diff --git a/same-tree/same-tree.py b/lc/same-tree/same-tree.py diff --git a/search-a-2d-matrix/search-a-2d-matrix.dart b/lc/search-a-2d-matrix/search-a-2d-matrix.dart diff --git a/search-a-2d-matrix/search-a-2d-matrix.py b/lc/search-a-2d-matrix/search-a-2d-matrix.py diff --git a/search-a-2d-matrix/search-a-2d-matrixV2.dart b/lc/search-a-2d-matrix/search-a-2d-matrixV2.dart diff --git a/search-in-rotated-array/search-in-roatated-array.dart b/lc/search-in-rotated-array/search-in-roatated-array.dart diff --git a/search-in-rotated-sorted-array/searchArray.py b/lc/search-in-rotated-sorted-array/searchArray.py diff --git a/search-insert-position/search-insert-position.cpp b/lc/search-insert-position/search-insert-position.cpp diff --git a/search-insert-position/search-insert-position.dart b/lc/search-insert-position/search-insert-position.dart diff --git a/second-highest-salary/second-highest-salary.sql b/lc/second-highest-salary/second-highest-salary.sql diff --git a/set-matrix-zeroes/set-matrix-zeroes.dart b/lc/set-matrix-zeroes/set-matrix-zeroes.dart diff --git a/shortest-and-lexicographically-smallest-beautiful-string/shortest-and-lexicographically-smallest-beautiful-string.cpp b/lc/shortest-and-lexicographically-smallest-beautiful-string/shortest-and-lexicographically-smallest-beautiful-string.cpp diff --git a/shortest-bridge/shortest-bridge.dart b/lc/shortest-bridge/shortest-bridge.dart diff --git a/shortest-path/shortest-path.dart b/lc/shortest-path/shortest-path.dart diff --git a/shortest-path/shortest-pathV2.dart b/lc/shortest-path/shortest-pathV2.dart diff --git a/shuffle-the-array/shuffle-the-array.js b/lc/shuffle-the-array/shuffle-the-array.js diff --git a/sign-of-product-of-array/sign-of-productV1.dart b/lc/sign-of-product-of-array/sign-of-productV1.dart diff --git a/sign-of-product-of-array/sign-of-productV2.dart b/lc/sign-of-product-of-array/sign-of-productV2.dart diff --git a/similar-string-groups/similar-string-groups.js b/lc/similar-string-groups/similar-string-groups.js diff --git a/single-number/single-number.cpp b/lc/single-number/single-number.cpp diff --git a/single-number/single-number.py b/lc/single-number/single-number.py diff --git a/single-number/single-numberV2.cpp b/lc/single-number/single-numberV2.cpp diff --git a/smallest-missing-multiple-of-k/smallest-missing-multiple-of-k-v2.py b/lc/smallest-missing-multiple-of-k/smallest-missing-multiple-of-k-v2.py diff --git a/smallest-missing-multiple-of-k/smallest-missing-multiple-of-k.py b/lc/smallest-missing-multiple-of-k/smallest-missing-multiple-of-k.py diff --git a/snapshot-array/snapshot-array.dart b/lc/snapshot-array/snapshot-array.dart diff --git a/solving-questions-with-brainpower/solving-questions-with-brainpower.dart b/lc/solving-questions-with-brainpower/solving-questions-with-brainpower.dart diff --git a/solving-questions-with-brainpower/solving-questions-with-brainpowerV2.dart b/lc/solving-questions-with-brainpower/solving-questions-with-brainpowerV2.dart diff --git a/solving-questions-with-brainpower/solving-questionsV3.dart b/lc/solving-questions-with-brainpower/solving-questionsV3.dart diff --git a/sort-an-array/sort-an-array.cpp b/lc/sort-an-array/sort-an-array.cpp diff --git a/sort-an-array/sort-an-array.dart b/lc/sort-an-array/sort-an-array.dart diff --git a/sort-array-by-increasing-frequency/sort-array-by-increasing-frequency.dart b/lc/sort-array-by-increasing-frequency/sort-array-by-increasing-frequency.dart diff --git a/sort-characters-by-frequency/sort-characters-by-freqency.dart b/lc/sort-characters-by-frequency/sort-characters-by-freqency.dart diff --git a/sort-colors/sort-colors.dart b/lc/sort-colors/sort-colors.dart diff --git a/sort-list/sort-list.cpp b/lc/sort-list/sort-list.cpp diff --git a/soup-serving/soup-serving.dart b/lc/soup-serving/soup-serving.dart diff --git a/spiral-matrix-ii/spiral-matrix-ii.dart b/lc/spiral-matrix-ii/spiral-matrix-ii.dart diff --git a/spiral-matrix-iv/spiral-matrix-iv.dart b/lc/spiral-matrix-iv/spiral-matrix-iv.dart diff --git a/spiral-matrix/spiral-matrix.dart b/lc/spiral-matrix/spiral-matrix.dart diff --git a/sqrtx/sqrtx.dart b/lc/sqrtx/sqrtx.dart diff --git a/squares-of-a-sorted-array/squares-of-a-sorted-array.py b/lc/squares-of-a-sorted-array/squares-of-a-sorted-array.py diff --git a/students-and-examinations/students-and-examintions.sql b/lc/students-and-examinations/students-and-examintions.sql diff --git a/subsets-ii/subsets-ii.dart b/lc/subsets-ii/subsets-ii.dart diff --git a/subsets-ii/subsets-iiV1.py b/lc/subsets-ii/subsets-iiV1.py diff --git a/subsets-ii/subsets-iiV2.py b/lc/subsets-ii/subsets-iiV2.py diff --git a/subsets/subsets.cpp b/lc/subsets/subsets.cpp diff --git a/subsets/subsets.dart b/lc/subsets/subsets.dart diff --git a/sudoku-solver/sudoku-solver.dart b/lc/sudoku-solver/sudoku-solver.dart diff --git a/sum-of-left-leaves/sum-of-left-leaves.dart b/lc/sum-of-left-leaves/sum-of-left-leaves.dart diff --git a/swap-nodes-in-pairs/swap.cpp b/lc/swap-nodes-in-pairs/swap.cpp diff --git a/swap-nodes-in-pairs/swap.py b/lc/swap-nodes-in-pairs/swap.py diff --git a/swap-nodes/swap-nodes.dart b/lc/swap-nodes/swap-nodes.dart diff --git a/swap-nodes/swap-nodes.js b/lc/swap-nodes/swap-nodes.js diff --git a/swap-salary/swap-salary.sql b/lc/swap-salary/swap-salary.sql diff --git a/swapping-nodes-in-a-linked-list/swapping-nodes-in-a-linked-list.dart b/lc/swapping-nodes-in-a-linked-list/swapping-nodes-in-a-linked-list.dart diff --git a/symetric-tree/symetric-tree.js b/lc/symetric-tree/symetric-tree.js diff --git a/target-sum/target-sum.dart b/lc/target-sum/target-sum.dart diff --git a/target-sum/target-sumV2.dart b/lc/target-sum/target-sumV2.dart diff --git a/task-scheduler/task-schedulerV1.py b/lc/task-scheduler/task-schedulerV1.py diff --git a/task-scheduler/task-schedulerV2.py b/lc/task-scheduler/task-schedulerV2.py diff --git a/the-k-weakest-rows-in-a-matrix/the-k-weakest-rows-in-a-matrix.dart b/lc/the-k-weakest-rows-in-a-matrix/the-k-weakest-rows-in-a-matrix.dart diff --git a/the-kth-factor-of-n/the-kth-factor-of-n.dart b/lc/the-kth-factor-of-n/the-kth-factor-of-n.dart diff --git a/time-based-key-value-store/time-based.py b/lc/time-based-key-value-store/time-based.py diff --git a/top-k-frequent-elements/top-k-frequent-elements-v1.dart b/lc/top-k-frequent-elements/top-k-frequent-elements-v1.dart diff --git a/top-k-frequent-words/top-k-frequent-words-v2.py b/lc/top-k-frequent-words/top-k-frequent-words-v2.py diff --git a/top-k-frequent-words/top-k-frequent-words.dart b/lc/top-k-frequent-words/top-k-frequent-words.dart diff --git a/top-k-frequent-words/top-k-frequent-words.py b/lc/top-k-frequent-words/top-k-frequent-words.py diff --git a/transpose/transpose.py b/lc/transpose/transpose.py diff --git a/triangle-judgement/triangle-judgement.sql b/lc/triangle-judgement/triangle-judgement.sql diff --git a/triangle/triangle.dart b/lc/triangle/triangle.dart diff --git a/two-best-non-overlapping-events/non-overlapping-v2.cpp b/lc/two-best-non-overlapping-events/non-overlapping-v2.cpp diff --git a/two-best-non-overlapping-events/non-overlapping.cpp b/lc/two-best-non-overlapping-events/non-overlapping.cpp diff --git a/two-sums/two-sum.dart b/lc/two-sums/two-sum.dart diff --git a/two-sums/two-sum.js b/lc/two-sums/two-sum.js diff --git a/two-sums/two-sumV2.dart b/lc/two-sums/two-sumV2.dart diff --git a/two-sums/two-sums.cpp b/lc/two-sums/two-sums.cpp diff --git a/two-sums/two-sums.py b/lc/two-sums/two-sums.py diff --git a/two-sums/two-sumsV2.cpp b/lc/two-sums/two-sumsV2.cpp diff --git a/two-sums/two-sumsV2.py b/lc/two-sums/two-sumsV2.py diff --git a/two-sums/two-sumsV3-hashtable.cpp b/lc/two-sums/two-sumsV3-hashtable.cpp diff --git a/unique-binary-search-trees/unique-binary-search-trees.dart b/lc/unique-binary-search-trees/unique-binary-search-trees.dart diff --git a/unique-binary-search-trees/unique-binary-search-treesV2.dart b/lc/unique-binary-search-trees/unique-binary-search-treesV2.dart diff --git a/unique-paths-ii/unique-paths-ii.dart b/lc/unique-paths-ii/unique-paths-ii.dart diff --git a/unique-paths-iii/unique-paths-iii.dart b/lc/unique-paths-iii/unique-paths-iii.dart diff --git a/unique-paths/unique-paths.dart b/lc/unique-paths/unique-paths.dart diff --git a/unique-paths/unique-pathsV2.dart b/lc/unique-paths/unique-pathsV2.dart diff --git a/unique-three-digit-even-number/unique-three-digit-even-number.py b/lc/unique-three-digit-even-number/unique-three-digit-even-number.py diff --git a/valid-palindrome-ii/valid-palindrome-ii.dart b/lc/valid-palindrome-ii/valid-palindrome-ii.dart diff --git a/valid-palindrome/valid-palindrome.dart b/lc/valid-palindrome/valid-palindrome.dart diff --git a/valid-palindrome/valid-palindromeV2.dart b/lc/valid-palindrome/valid-palindromeV2.dart diff --git a/valid-parenthesis/valid-parenthesis-v3.cpp b/lc/valid-parenthesis/valid-parenthesis-v3.cpp diff --git a/valid-parenthesis/valid-parenthesis.cpp b/lc/valid-parenthesis/valid-parenthesis.cpp diff --git a/valid-parenthesis/valid-parenthesisV2.cpp b/lc/valid-parenthesis/valid-parenthesisV2.cpp diff --git a/valid-square/valid-square.py b/lc/valid-square/valid-square.py diff --git a/valid-sudoku/valid-sudoku.dart b/lc/valid-sudoku/valid-sudoku.dart diff --git a/valid-word/valid-wordV1.py b/lc/valid-word/valid-wordV1.py diff --git a/validate-binary-search-tree/validate-binary-search-tree.dart b/lc/validate-binary-search-tree/validate-binary-search-tree.dart diff --git a/validate-binary-search-tree/validate-binary-search-tree.py b/lc/validate-binary-search-tree/validate-binary-search-tree.py diff --git a/water-bottles/water-bottles.cpp b/lc/water-bottles/water-bottles.cpp diff --git a/word-break/word-break.dart b/lc/word-break/word-break.dart diff --git a/word-search/word-search.dart b/lc/word-search/word-search.dart diff --git a/word-search/word-searchV1.py b/lc/word-search/word-searchV1.py diff --git a/zig-zag-conversion/zig-zag-conversion.dart b/lc/zig-zag-conversion/zig-zag-conversion.dart diff --git a/plan.txt b/plan.txt @@ -6,3 +6,4 @@ these are the things I want to learn, ordered x permutation problem (similar to interview where print all permutations of a string where only certain chars may be moved) x union find x segment tree + - successor paths