leetcode

Leetcode submissions
git clone git://git.laack.co/leetcode.git
Log | Files | Refs | README

ModeNameSize
-rw-r--r--.gitignore1L
-rw-r--r--01-matrix/01-matrix.dart73L
-rw-r--r--01-matrix/01-matrixV1.dart77L
-rw-r--r--01-matrix/01-matrixV2.dart88L
-rw-r--r--3sum-closest/3sum-closest.dart23L
-rw-r--r--3sum-closest/3sum-closestDP.dart35L
-rw-r--r--3sum-closest/3sum-closestV2.dart31L
-rw-r--r--3sum/3sum.dart42L
-rw-r--r--3sum/3sum.py65L
-rw-r--r--3sum/3sumV2.dart60L
-rw-r--r--3sum/3sumV2.py64L
-rw-r--r--3sum/3sumV3.dart54L
-rw-r--r--Design-Underground-System/design-underground-system.dart50L
-rw-r--r--README.md2L
-rw-r--r--add-binary/add-binary.dart64L
-rw-r--r--add-digits/add-digits.js24L
-rw-r--r--add-two-numbers/add-two-numbers.cpp109L
-rw-r--r--add-two-numbers/add-two-numbers.py44L
-rw-r--r--airplane-seat-assignment-probability/airplane-seat-assignment-probability.dart18L
-rw-r--r--all-paths-from-source-to-target/all-paths-from-source-to-target.dart41L
-rw-r--r--all-paths-from-source-to-target/all-paths-from-source-to-targetV2.dart37L
-rw-r--r--arranging-coins/arranging-coins.dart19L
-rw-r--r--article-views-i/article-views-i.sql9L
-rw-r--r--average-of-levels-in-binary-tree/average-of-levels-in-binary-tree.dart30L
-rw-r--r--average-salary-excluding-min-and-max/average-salary.dart18L
-rw-r--r--average-salary-excluding-min-and-max/average-salaryV2.dart25L
-rw-r--r--average-time-of-process-per-machine/average-time-per-machine.sql10L
-rw-r--r--balanced-binary-tree/balanced-binary-tree.py18L
-rw-r--r--best-time-to-buy-and-sell-stock-ii/best-time-to-buy-and-sell-stock-ii.dart29L
-rw-r--r--best-time-to-buy-and-sell-stock-ii/best-time-to-buy-and-sell-stock-iiV2.dart34L
-rw-r--r--best-time-to-buy-and-sell-stock/buy-and-sell.js37L
-rw-r--r--big-countries/big-countries.sql4L
-rw-r--r--biggest-single-number/biggest-single-number.sql13L
-rw-r--r--binary-search/binary-search.py26L
-rw-r--r--binary-search/binary-searchV2.py25L
-rw-r--r--binary-tree-inorder/binary-tree-traversal.dart28L
-rw-r--r--binary-tree-level-order-traversal-ii/binary-tree-level-order-traversal-ii.dart38L
-rw-r--r--binary-tree-level-order-traversal/trav.cpp51L
-rw-r--r--binary-tree-level-order-traversal/trav.py29L
-rw-r--r--binary-tree-level-order/binary-tree-level-order.js40L
-rw-r--r--binary-tree-paths/binary-tree-paths.dart33L
-rw-r--r--binary-tree-postorder-traversal/postorder-traversal.dart23L
-rw-r--r--binary-tree-preeorder-traversal/preorder-traversal.dart26L
-rw-r--r--binary-tree-right-side-view/binary-tree-right-side-view.dart42L
-rw-r--r--binary-tree-right-side-view/binary-tree-right-side-view.py33L
-rw-r--r--binary-tree-zigzag-level-order/zig-zag-level-order.dart53L
-rw-r--r--bulb-switcher/bulb-switcher.js26L
-rw-r--r--bulb-switcher/bulb-switcherV2.js24L
-rw-r--r--calculate-special-bonus/special-bonus.sql10L
-rw-r--r--can-make-arithmetic-progression-from-sequence/can-make-arithmetic-progression-from-sequence.dart23L
-rw-r--r--candy/candy.dart36L
-rw-r--r--classes-more-than-5-students/classes-more-than-5-students.sql6L
-rw-r--r--climbing-stairs/climbing-stairs.dart36L
-rw-r--r--clone-graph/clone-graphV1.py50L
-rw-r--r--combination-sum-ii/combination-sum-ii.dart41L
-rw-r--r--combination-sum-ii/combination-sum-ii.py30L
-rw-r--r--combination-sum-iii/combination-sum-iii.dart45L
-rw-r--r--combination-sum-iv/combination-sum-iv.dart40L
-rw-r--r--combination-sum/combination-sum.dart38L
-rw-r--r--combination-sum/combination-sum.py32L
-rw-r--r--combination-sum/combination-sumV2.py27L
-rw-r--r--combinations/combinations.dart36L
-rw-r--r--combine-two-tables/combine-twV1.sql5L
-rw-r--r--combine-two-tables/combine.sql10L
-rw-r--r--confirmation-rate/confirmation-rate.sql11L
-rw-r--r--consecutive-numbers/consecutive-numbers.sql10L
-rw-r--r--consecutive-numbers/consecutive-numbers1.sql8L
-rw-r--r--contains-duplicate-ii/contains-duplicate.dart16L
-rw-r--r--contains-duplicate-ii/contains-duplicateV2.dart27L
-rw-r--r--contains-duplicate/contains-duplicate.cpp34L
-rw-r--r--contains-duplicate/contains-duplicateV2.cpp50L
-rw-r--r--convert-binary-number-in-a-linked-list-to-integer/convert-binary-number-in-a-linked-list-to-integer.dart27L
-rw-r--r--convert-sorted-array-to-binary-search-tree/convert-sorted-array-to-binary-search-tree.dart19L
-rw-r--r--convert-sorted-list-to-binary-search/convert-sorted-list-to-binary-search-tree.dart49L
-rw-r--r--count-good-nodes-in-binary-tree/count-good.py31L
-rw-r--r--count-negative-numbers-in-a-matrix/count-negative-numbers-in-a-matrix.dart24L
-rw-r--r--count-number-of-texts/count-number-of-texts.dart44L
-rw-r--r--count-primes/count-primes.cpp51L
-rw-r--r--counting-bits/counting-bits.cpp36L
-rw-r--r--cousins-in-binary-tree/cousins-in-binary-tree.dart44L
-rw-r--r--customer-placing-the-largest/customer-placing-the-largest-number-of-orders.sql8L
-rw-r--r--customers-who-bought-all-products/customers-who-bought-all.sql15L
-rw-r--r--customers-who-never-order/customers-who-never-order.sql10L
-rw-r--r--daily-leads-and-parners/daily-leads.sql6L
-rw-r--r--decode-ways/decode-ways.dart39L
-rw-r--r--delete-characters-to-make-fancy-string/delete-characters-to-make-fancy-stringV1.py21L
-rw-r--r--delete-duplicate-emails/delete-duplicate-emails.sql5L
-rw-r--r--department-highest-salary/department-highest-salary.sql11L
-rw-r--r--design-add-and-search-words-data-structure/design-add.py55L
-rw-r--r--design-hashset/design-hashset.dart41L
-rw-r--r--design-parking-system/design-parking-system.dart42L
-rw-r--r--design-twitter/design-twitterV1.py89L
-rw-r--r--diameter-of-binary-tree/diameter-binary-tree.py48L
-rw-r--r--divide-two-integers/divide-two-integers-V2.dart56L
-rw-r--r--divide-two-integers/divide-two-integers.dart18L
-rw-r--r--duplicate-emails/duplicate-emails.sql9L
-rw-r--r--elimination-game/elimination-game.dart27L
-rw-r--r--employee-bonus/employee-bonus.sql8L
-rw-r--r--employees-earning-more-than-managers/employees-earning.sql8L
-rw-r--r--employees-reporting-to-managers/employees-reporting-to-managers.sql13L
-rw-r--r--employees-whose-manager-left-the-company/managers-who-left-the-company.sql11L
-rw-r--r--employees-with-missing-information/with-missing-info.sql19L
-rw-r--r--equal-row-and-column-pairs/equal-row-and-column-pairs.dart30L
-rw-r--r--even-odd-tree/even-odd-tree.py44L
-rw-r--r--fibonacci-number/fibonacci-number.cpp13L
-rw-r--r--fibonacci-number/fibonacci-number.dart20L
-rw-r--r--find-center-of-star-graph/find-center-of-star-graph.dart16L
-rw-r--r--find-customer-referee/find-customer-referee.sql6L
-rw-r--r--find-first-and-last-position-of-elements-in-sorted-array/first-and-last.dart100L
-rw-r--r--find-followers-count/find-followers-count.sql6L
-rw-r--r--find-longest-harmonious-subsequence/find-longest.py25L
-rw-r--r--find-longest-harmonious-subsequence/find-longestV2.py25L
-rw-r--r--find-min-in-rotated-sorted-array/findMin.py32L
-rw-r--r--find-mode-in-binary-search-tree/mode-of-binary-tree.dart47L
-rw-r--r--find-original-typed-string-i/find-original-i.py44L
-rw-r--r--find-peak-element/find-peak-element.dart26L
-rw-r--r--find-smallest-letter-greater-than-target/find-smallest-letter-greater-than-target.dart33L
-rw-r--r--find-the-difference-of-two-array/difference-of-two-arrays.dart29L
-rw-r--r--find-the-difference-of-two-array/difference-of-two-arraysV2.dart25L
-rw-r--r--find-the-difference/find-the-difference.dart26L
-rw-r--r--find-the-duplicate-number/find-duplicate.py16L
-rw-r--r--find-the-index-of-the-first-occurence/find-index-of-first-occurence.dart51L
-rw-r--r--find-the-index-of-the-first-occurrence-in-a-string/find-the-iV1.py6L
-rw-r--r--find-the-index-of-the-first-occurrence-in-a-string/find-the-iV2.py13L
-rw-r--r--find-the-k-th-character-in-string-game-i/find-the-k-th-character-in-string-game-iV1.py13L
-rw-r--r--find-the-maximum-length-of-valid-subsequence-i/find-the-maximum-length-of-valid-subsequence-iV1.py54L
-rw-r--r--find-unique-binary-string/find-unique-binary-string.dart29L
-rw-r--r--first-missing-positive/first-missing-positive.dart24L
-rw-r--r--first-missing-positive/first-missing-positiveV1.py39L
-rw-r--r--first-non-repeating-character/first-non-repeating.dart20L
-rw-r--r--first-unique-character-in-a-string/first-unique-character.dart24L
-rw-r--r--flatten-binary-tree-to-linked-list/flatten-binary-tree-to-linked-list.dart30L
-rw-r--r--game-of-life/game-of-life.dart79L
-rw-r--r--game-play-analysis/game-play-analysis.sql6L
-rw-r--r--generate-parentheses/generate-parentheses.dart34L
-rw-r--r--group-sold-products-by-the-date/group-sold-products-by-the-date.sql9L
-rw-r--r--guess_number/guess-number-higher-or-lower.cpp55L
-rw-r--r--house-robber/house-robber-tle.dart51L
-rw-r--r--house-robber/house-robberV2.dart57L
-rw-r--r--implement-queue/implement-queue.cpp59L
-rw-r--r--implement-stack-using-queues/stack-using-queues.js32L
-rw-r--r--implement-trie/trie.py58L
-rw-r--r--increasing-order-search-tree/increasing-order-search-tree.dart42L
-rw-r--r--insert-interval/insert-intervalV1.py50L
-rw-r--r--insert-interval/insert-intervalV2.py33L
-rw-r--r--insertion-sort-list/insertion-sort-list.dart65L
-rw-r--r--integer-to-roman/integer-to-roman.cpp54L
-rw-r--r--integer-to-roman/integer-to-romanV2Hash.cpp64L
-rw-r--r--integer-to-roman/integer-to-romanV3Vector.cpp47L
-rw-r--r--intersection-of-two-arrays/interesection-of-two-arrays.dart27L
-rw-r--r--invalid-tweets/invalid-tweets.sql4L
-rw-r--r--invert-binary-tree/invert-binary-tree.js52L
-rw-r--r--invert-binary-tree/invert-binary-tree.py32L
-rw-r--r--jewels-and-stones/jewels-and-stones.dart20L
-rw-r--r--jump-game-ii/jump-game-ii.dart29L
-rw-r--r--jump-game/jump-game.dart38L
-rw-r--r--jump-game/jump-gameV2.dart30L
-rw-r--r--k-closest-points-to-origin/k-closest-points-to-originV1.py65L
-rw-r--r--koko-eating-bananas/eating.py50L
-rw-r--r--kth-largest-element-in-a-stream/kth-largest-element-in-a-streamV1.py28L
-rw-r--r--kth-largest-element-in-a-stream/kth-largest-element-in-a-streamV2.py21L
-rw-r--r--kth-largest-element-in-a-stream/kth-largest-element-in-a-streamV3.py90L
-rw-r--r--kth-largest-element-in-a-stream/kth-largest-element-in-a-streamV4.py98L
-rw-r--r--kth-largest-element-in-a-stream/kth-largest-element-in-a-streamV5.py101L
-rw-r--r--kth-largest-element-in-an-array/kth-largest-element-in-an-arrayV1.py8L
-rw-r--r--kth-largest-element-in-an-array/kth-largest-element-in-an-arrayV2.py70L
-rw-r--r--kth-largest-element/kth-largest-element.cpp24L
-rw-r--r--kth-largest-element/kth-largest-elementV2.cpp49L
-rw-r--r--kth-smallest-element-in-a-bst/kth-smallest.py40L
-rw-r--r--largest-odd-number-in-string/largest-odd-number-in-string.dart21L
-rw-r--r--last-stone-weight/last-stone-weightV1.py32L
-rw-r--r--length-of-last-word/length-of-last-word.cpp42L
-rw-r--r--length-of-last-word/length-of-last-word.dart32L
-rw-r--r--letter-combinations-of-a-phone-number/letter-combinations-of-a-phone-number.dart43L
-rw-r--r--letter-combinations-of-a-phone-number/letter-combinations-of-a-phone-numberV1.py37L
-rw-r--r--linked-list-cycle/linked-list-cycle.js35L
-rw-r--r--linked-list-cycle/linked-list-cycle.py24L
-rw-r--r--linked-list-cycle/linked-list-cycleV2.py32L
-rw-r--r--list-the-products-ordered-in-period/list-the-products.sql15L
-rw-r--r--longest-common-prefix/longest-common-prefix.cpp34L
-rw-r--r--longest-increasing-subsequence/longest-increasing-subsequence.dart32L
-rw-r--r--longest-palindromic-substring/longest-palindromic-substring.dart54L
-rw-r--r--longest-repeating-character-replacement/longest-repeating.py58L
-rw-r--r--longest-substring-without-repeating-characters/longest-substring.py25L
-rw-r--r--longest-valid-parentheses/longest-valid-parentheses.js53L
-rw-r--r--longest-zigzag-path/longest-zigzag-path.dart51L
-rw-r--r--lowest-common-ancestor-of-a-binary-search-tree/lowest.py31L
-rw-r--r--lru-cache/lru-cacheV1.py56L
-rw-r--r--majority-element-ii/majority-element-ii.dart25L
-rw-r--r--majority-element/majority.cpp50L
-rw-r--r--matrix-diagonal-sum/diagonal-sum.dart32L
-rw-r--r--max-area-of-island/max-area-of-islandV1.py34L
-rw-r--r--max-dotproduct-of-subsequences/MaxDotProductOfTwoSubsequences.py13L
-rw-r--r--maximum-depth/maximum-depth.dart35L
-rw-r--r--maximum-depth/maximum-depth.py20L
-rw-r--r--maximum-difference-between-adjacent-elements-in-a-circular-array/max-diff.py10L
-rw-r--r--maximum-difference-by-remapping-a-digit/max-diff.py45L
-rw-r--r--maximum-gap/maximum-gap.dart49L
-rw-r--r--maximum-level-sum-of-a-binary-tree/max-level-sum-of-binary-tree.dart44L
-rw-r--r--maximum-number-of-moves-in-a-grid/maximum-number-of-moves-in-a-grid.dart79L
-rw-r--r--maximum-number-of-vowels-in-a-substring/max-vowels-in-substring.dart42L
-rw-r--r--maximum-odd-binary-number/maximum-odd-binary-number.py39L
-rw-r--r--maximum-odd-binary-number/maximum-odd-binary-numberV2.py18L
-rw-r--r--maximum-product-subarray/maximum-product-subarray.dart30L
-rw-r--r--maximum-subarray/maximum-subarray.cpp46L
-rw-r--r--maximum-subarray/maximum-subarray.dart28L
-rw-r--r--maximum-subarray/maximum-subarrayV2.cpp54L
-rw-r--r--maximum-subsequence-score/maximum-subsequence-score.dart52L
-rw-r--r--maximum-twin-sum-of-a-linked-list/maximum-twin-sum-of-a-linked-list.dart23L
-rw-r--r--median-of-sorted-arrays/median-of-sorted-array.cpp43L
-rw-r--r--merge-intervals/merge-intervalsV1.py36L
-rw-r--r--merge-k-sorted-lists/merge-k-sorted-lists.dart83L
-rw-r--r--merge-nodes-in-between-zeroes/merge-nodes-between-zeroes.dart48L
-rw-r--r--merge-sorted-array/merge-sorted-arrays.dart38L
-rw-r--r--merge-two-sorted-lists/merge-two-sorted-lists.dart64L
-rw-r--r--merge-two-sorted-lists/merge-two-sorted-lists.js77L
-rw-r--r--merge-two-sorted-lists/merge-two-sorted-lists.py46L
-rw-r--r--merge-two-sorted-lists/merge-two-sorted-listsV2.dart81L
-rw-r--r--middle-of-linked-list/middle-of-linked-list.dart17L
-rw-r--r--min-cost-climbing-stairs/min-cost-climbing-stairs.dart40L
-rw-r--r--minimum-absolute-difference-in-bst/min-diff-in-bst.dart34L
-rw-r--r--minimum-cost-for-tickets/minimum-cost-for-tickets.dart67L
-rw-r--r--minimum-depth-of-binary-tree/minimum-depth.js54L
-rw-r--r--minimum-number-of-work-sessions-to-finish-the-tasks/minimum-number-of-work-sessions.dart44L
-rw-r--r--minimum-path-sum/minimum-path-sum.dart45L
-rw-r--r--minimum-sum-of-four-digit-number-after-splitting-digits/minimum-sum.dart31L
-rw-r--r--minimum-time-to-visit-a-cell-in-a-grid/minimum-time-to-visit.dart56L
-rw-r--r--missing-number/missing-number.cpp41L
-rw-r--r--missing-number/missing-numberV1.py9L
-rw-r--r--missing-number/missing-numberV2.cpp38L
-rw-r--r--most-water/most-water.cpp47L
-rw-r--r--n-queens/n-queens.dart65L
-rw-r--r--non-overlapping-intervals/non-overlapping-intervalsV1.py62L
-rw-r--r--non-overlapping-intervals/non-overlapping-intervalsV2.py60L
-rw-r--r--not-boring-movies/not-boring-movies.sql6L
-rw-r--r--number-of-1-bits/number-of-1-bitsV1.py15L
-rw-r--r--number-of-1-bits/number-of-1-bitsV2.py14L
-rw-r--r--number-of-good-pairs/number-of-good-pairs.dart40L
-rw-r--r--number-of-islands/number-of-islands.dart52L
-rw-r--r--number-of-islands/number-of-islandsV1.py44L
-rw-r--r--number-of-islands/number-of-islandsV2.dart55L
-rw-r--r--number-of-provinces/number-of-provinces.dart50L
-rw-r--r--number-of-unique-subjects-taught-by-each-teacher/number-of-subjects-by-teacher.sql6L
-rw-r--r--odd-even-linked-list/odd-even-linked-list.dart42L
-rw-r--r--palindrome-linked-list/palindrome-linked-list.dart45L
-rw-r--r--palindrome-number/palindrome-number.cpp36L
-rw-r--r--palindrome-number/palindrome-number.py10L
-rw-r--r--palindrome-number/palindrome-numberV2.cpp42L
-rw-r--r--palindrome-partitioning/palindrome-partitioningV1.py32L
-rw-r--r--pascals-triangle-ii/pascals-triangle-ii.dart22L
-rw-r--r--pascals-triangle/pascals-triangle.dart27L
-rw-r--r--path-sum-ii/path-sum-ii.dart23L
-rw-r--r--path-sum-iii/path-sum-iii.dart55L
-rw-r--r--path-sum/path-sum.dart31L
-rw-r--r--path-with-maximum-gold/path-with-maximum-gold.dart50L
-rw-r--r--patients-with-a-condition/patients-with-a-condition.sql10L
-rw-r--r--percentage-of-users-attended-a-contest/percent-attended.sql13L
-rw-r--r--permutation-in-string/perm-in-string.py70L
-rw-r--r--permutations-ii/permutations-ii.dart65L
-rw-r--r--permutations/permutations.dart28L
-rw-r--r--permutations/permutationsV1.py40L
-rw-r--r--plus-one/plus-one.dart36L
-rw-r--r--power-of-two/power-of-two.dart17L
-rw-r--r--powx-n/powx-n.dart17L
-rw-r--r--primary-department-for-each-employee/primary-department.sql12L
-rw-r--r--product-sales-analysis-iii/product-sales-analysis-iii.sql11L
-rw-r--r--project-employees-i/project-employees.sql8L
-rw-r--r--range-sum-of-bst/range-sum-of-bst.dart21L
-rw-r--r--rank-scores/rank-scores.sql9L
-rw-r--r--recyclable-and-low-fat/recyclable-and-low-fat.sql8L
-rw-r--r--regular-expression-matching/regular-expression-matching.dart12L
-rw-r--r--remove-all-occurences-of-a-substring/remove-all-lazy.dart11L
-rw-r--r--remove-all-occurences-of-a-substring/remove-all.dart32L
-rw-r--r--remove-duplicates-from-sorted-array/remove-duplicates.dart37L
-rw-r--r--remove-duplicates-from-sorted-array/remove-duplicates.js24L
-rw-r--r--remove-duplicates-from-sorted-array/remove-duplicates.py16L
-rw-r--r--remove-duplicates-from-sorted-array/remove-duplicatesV2.js31L
-rw-r--r--remove-duplicates-from-sorted-list/remove-duplicates.dart50L
-rw-r--r--remove-element/remove-element.cpp40L
-rw-r--r--remove-linked-list-elements/remove-elements.js50L
-rw-r--r--remove-nodes-from-linked-list/remove-nodes-from-linked-list.dart44L
-rw-r--r--remove-nth-node-from-end/remove-nth.py38L
-rw-r--r--remove-nth-node/remove-nth-node-from-end.cpp61L
-rw-r--r--reorder-list/reorder-list.dart36L
-rw-r--r--reorder-list/reorder-list.py77L
-rw-r--r--replace-employee-id-with-the-unique-identifier/replace-employee-id.sql6L
-rw-r--r--reverse-integer/reverse-integer.cpp45L
-rw-r--r--reverse-linked-list-ii/reverse-linked-list-ii.dart52L
-rw-r--r--reverse-linked-list/reverse-list.dart40L
-rw-r--r--reverse-linked-list/reverse-list.py26L
-rw-r--r--reverse-words-in-a-string/reverse-words-in-a-string.dart26L
-rw-r--r--rising-temperature/rising-temp.sql8L
-rw-r--r--roman-to-integer/roman-to-integer.cpp48L
-rw-r--r--rotate-array/rotate-array.dart19L
-rw-r--r--rotate-image/rotate-image.dart21L
-rw-r--r--rotate-list/rotate-list.dart57L
-rw-r--r--sales-person/sales-person.sql20L
-rw-r--r--same-tree/same-tree.dart54L
-rw-r--r--same-tree/same-tree.py31L
-rw-r--r--search-a-2d-matrix/search-a-2d-matrix.dart44L
-rw-r--r--search-a-2d-matrix/search-a-2d-matrix.py25L
-rw-r--r--search-a-2d-matrix/search-a-2d-matrixV2.dart55L
-rw-r--r--search-in-rotated-array/search-in-roatated-array.dart15L
-rw-r--r--search-in-rotated-sorted-array/searchArray.py32L
-rw-r--r--search-insert-position/search-insert-position.cpp43L
-rw-r--r--search-insert-position/search-insert-position.dart42L
-rw-r--r--second-highest-salary/second-highest-salary.sql12L
-rw-r--r--set-matrix-zeroes/set-matrix-zeroes.dart42L
-rw-r--r--shortest-bridge/shortest-bridge.dart112L
-rw-r--r--shortest-path/shortest-path.dart47L
-rw-r--r--shortest-path/shortest-pathV2.dart57L
-rw-r--r--shuffle-the-array/shuffle-the-array.js31L
-rw-r--r--sign-of-product-of-array/sign-of-productV1.dart19L
-rw-r--r--sign-of-product-of-array/sign-of-productV2.dart26L
-rw-r--r--similar-string-groups/similar-string-groups.js32L
-rw-r--r--single-number/single-number.cpp45L
-rw-r--r--single-number/single-number.py6L
-rw-r--r--single-number/single-numberV2.cpp33L
-rw-r--r--snapshot-array/snapshot-array.dart26L
-rw-r--r--solving-questions-with-brainpower/solving-questions-with-brainpower.dart30L
-rw-r--r--solving-questions-with-brainpower/solving-questions-with-brainpowerV2.dart38L
-rw-r--r--solving-questions-with-brainpower/solving-questionsV3.dart35L
-rw-r--r--sort-an-array/sort-an-array.cpp56L
-rw-r--r--sort-an-array/sort-an-array.dart40L
-rw-r--r--sort-array-by-increasing-frequency/sort-array-by-increasing-frequency.dart47L
-rw-r--r--sort-characters-by-frequency/sort-characters-by-freqency.dart37L
-rw-r--r--sort-colors/sort-colors.dart44L
-rw-r--r--sort-list/sort-list.cpp54L
-rw-r--r--soup-serving/soup-serving.dart52L
-rw-r--r--spiral-matrix-ii/spiral-matrix-ii.dart59L
-rw-r--r--spiral-matrix-iv/spiral-matrix-iv.dart56L
-rw-r--r--spiral-matrix/spiral-matrix.dart49L
-rw-r--r--sqrtx/sqrtx.dart25L
-rw-r--r--squares-of-a-sorted-array/squares-of-a-sorted-array.py44L
-rw-r--r--students-and-examinations/students-and-examintions.sql12L
-rw-r--r--subsets-ii/subsets-ii.dart35L
-rw-r--r--subsets-ii/subsets-iiV1.py39L
-rw-r--r--subsets-ii/subsets-iiV2.py30L
-rw-r--r--subsets/subsets.dart30L
-rw-r--r--sudoku-solver/sudoku-solver.dart73L
-rw-r--r--sum-of-left-leaves/sum-of-left-leaves.dart38L
-rw-r--r--swap-nodes-in-pairs/swap.cpp49L
-rw-r--r--swap-nodes/swap-nodes.dart30L
-rw-r--r--swap-nodes/swap-nodes.js36L
-rw-r--r--swap-salary/swap-salary.sql7L
-rw-r--r--swapping-nodes-in-a-linked-list/swapping-nodes-in-a-linked-list.dart29L
-rw-r--r--symetric-tree/symetric-tree.js69L
-rw-r--r--target-sum/target-sum.dart22L
-rw-r--r--target-sum/target-sumV2.dart26L
-rw-r--r--task-scheduler/task-schedulerV1.py74L
-rw-r--r--task-scheduler/task-schedulerV2.py71L
-rw-r--r--the-k-weakest-rows-in-a-matrix/the-k-weakest-rows-in-a-matrix.dart52L
-rw-r--r--the-kth-factor-of-n/the-kth-factor-of-n.dart21L
-rw-r--r--time-based-key-value-store/time-based.py45L
-rw-r--r--top-k-frequent-elements/top-k-frequent-elements-v1.dart30L
-rw-r--r--top-k-frequent-words/top-k-frequent-words.dart42L
-rw-r--r--triangle-judgement/triangle-judgement.sql9L
-rw-r--r--triangle/triangle.dart31L
-rw-r--r--two-best-non-overlapping-events/non-overlapping-v2.cpp22L
-rw-r--r--two-best-non-overlapping-events/non-overlapping.cpp49L
-rw-r--r--two-sums/two-sum.dart35L
-rw-r--r--two-sums/two-sum.js25L
-rw-r--r--two-sums/two-sumV2.dart32L
-rw-r--r--two-sums/two-sums.cpp57L
-rw-r--r--two-sums/two-sums.py26L
-rw-r--r--two-sums/two-sumsV2.cpp35L
-rw-r--r--two-sums/two-sumsV3-hashtable.cpp50L
-rw-r--r--unique-binary-search-trees/unique-binary-search-trees.dart36L
-rw-r--r--unique-binary-search-trees/unique-binary-search-treesV2.dart32L
-rw-r--r--unique-paths-ii/unique-paths-ii.dart33L
-rw-r--r--unique-paths-iii/unique-paths-iii.dart62L
-rw-r--r--unique-paths/unique-paths.dart27L
-rw-r--r--unique-paths/unique-pathsV2.dart37L
-rw-r--r--valid-palindrome-ii/valid-palindrome-ii.dart30L
-rw-r--r--valid-palindrome/valid-palindrome.dart25L
-rw-r--r--valid-palindrome/valid-palindromeV2.dart42L
-rw-r--r--valid-parenthesis/valid-parenthesis.cpp63L
-rw-r--r--valid-sudoku/valid-sudoku.dart52L
-rw-r--r--valid-word/valid-wordV1.py22L
-rw-r--r--validate-binary-search-tree/validate-binary-search-tree.dart35L
-rw-r--r--validate-binary-search-tree/validate-binary-search-tree.py38L
-rw-r--r--water-bottles/water-bottles.cpp35L
-rw-r--r--word-break/word-break.dart43L
-rw-r--r--word-search/word-search.dart84L
-rw-r--r--word-search/word-searchV1.py94L
-rw-r--r--zig-zag-conversion/zig-zag-conversion.dart56L