LeetCode/problems
Matej Focko c5298dbc0a
problems(rs): add “785. Is Graph Bipartite?”
Signed-off-by: Matej Focko <me@mfocko.xyz>
2023-05-19 15:33:03 +02:00
..
add-digits.rs problems(rs): add “258. Add Digits” 2023-04-27 21:01:46 +02:00
allow-one-function-call.js problems(js): add “2666. Allow One Function Call” 2023-05-12 17:33:13 +02:00
apply-transform-over-each-element-in-array.js problems(js): add “2635. Apply Transform Over Each Element in Array” 2023-05-12 17:31:11 +02:00
array-reduce-transformation.js problems(js): add “2626. Array Reduce Transformation” 2023-05-12 17:32:21 +02:00
average-of-levels-in-binary-tree.cs problems(cs): add „637. Average of Levels in Binary Tree“ 2022-09-02 21:11:03 +02:00
best-time-to-buy-and-sell-stock-iv.rs problems(rs): add „188. Best Time to Buy and Sell Stock IV“ 2022-09-10 22:33:42 +02:00
binary-search-tree-iterator.java problems: add BST iterator 2022-08-04 23:11:25 +02:00
binary-search.rb chore: reorganize files 2022-07-23 12:53:31 +02:00
binary-tree-inorder-traversal.kt problems: add inorder bst traversal 2022-01-18 16:17:04 +01:00
binary-tree-inorder-traversal.rs problems(rs): add „94. Binary Tree Inorder Traversal“ 2022-09-08 13:59:46 +02:00
binary-tree-level-order-traversal.kt problems: add binary tree level-order traversal 2022-07-13 22:13:48 +00:00
binary-tree-pruning.cs problems(cs): add „814. Binary Tree Pruning“ 2022-09-06 18:35:48 +02:00
binary-trees-with-factors.rs problems: add „823. Binary Trees With Factors“ 2022-08-09 12:14:37 +02:00
boats-to-save-people.cpp problems(cpp): add “881. Boats to Save People” 2023-04-10 12:21:07 +02:00
cache-with-time-limit.js problems(js): add “2622. Cache With Time Limit” 2023-05-19 00:43:08 +02:00
can-place-flowers.cpp chore: format sources 2022-07-23 13:12:05 +02:00
check-if-every-row-and-column-contains-all-numbers.kt problems(kt): add „2133. Check if Every Row and Column Contains All Numbers“ 2022-09-09 18:58:35 +02:00
climbing-stairs.rb chore: reorganize files 2022-07-23 12:53:31 +02:00
combination-sum-iv.java problems: add combination sum IV 2022-08-05 11:06:37 +02:00
complex-number-multiplication.rs problems: add previously solved problems 2022-01-18 21:43:49 +01:00
construct-string-from-binary-tree.kt problems(kt): add „606. Construct String from Binary Tree“ 2022-09-07 13:24:41 +02:00
contains-duplicate.rb chore: reorganize files 2022-07-23 12:53:31 +02:00
contains-duplicate.swift chore: reorganize files 2022-07-23 12:53:31 +02:00
convert-sorted-array-to-binary-search-tree.java problems: add „108. Convert Sorted Array to Binary Search Tree“ 2022-08-10 20:58:57 +02:00
count-good-nodes-in-binary-tree.cpp problems(cpp): add „1448. Count Good Nodes in Binary Tree“ 2022-09-09 18:59:12 +02:00
count-vowels-permutation.rs problems: add count vowels permutation 2022-08-07 12:39:11 +02:00
count-ways-to-build-good-strings.cpp problems(cpp): add “2466. Count Ways To Build Good Strings” 2023-05-13 23:56:24 +02:00
counter-ii.js problems(js): add “2665. Counter II” 2023-05-12 17:30:40 +02:00
counter.js problems(js): add “2620. Counter” 2023-05-12 17:30:08 +02:00
create-hello-world-function.js problems(js): add “2667. Create Hello World Function” 2023-05-12 17:29:13 +02:00
curry.js problems(js): add “2632. Curry” 2023-05-14 11:00:17 +02:00
debounce.js problems(js): add “2627. Debounce” 2023-05-19 14:47:50 +02:00
determine-if-two-strings-are-close.cpp problems(cpp): add „1657. Determine if Two Strings Are Close“ 2022-12-02 20:13:07 +01:00
divide-a-string-into-groups-of-size-k.cpp chore: reorganize files 2022-07-23 12:53:31 +02:00
fibonacci-number.rb chore: reorganize files 2022-07-23 12:53:31 +02:00
filter-elements-from-array.js problems(js): add “2634. Filter Elements from Array” 2023-05-12 17:31:44 +02:00
find-pivot-index.rs chore: fix formatting 2022-09-09 18:56:13 +02:00
find-the-longest-valid-obstacle-course-at-each-position.rs problems(rs): add “1964. Find the Longest Valid Obstacle Course at Each Position” 2023-05-08 01:08:03 +02:00
first-bad-version.rb chore: reorganize files 2022-07-23 12:53:31 +02:00
first-unique-character-in-a-string.kt problems: add „387. First Unique Character in a String“ 2022-08-16 11:10:52 +02:00
flatten-nested-list-iterator.java fix: correct the comments and interface 2022-08-05 16:52:51 +02:00
function-composition.js problems(js): add “2629. Function Composition” 2023-05-12 17:32:50 +02:00
insert-into-a-binary-search-tree.rb problems: add insert-into-a-bst 2022-01-12 20:10:00 +01:00
is-graph-bipartite.rs problems(rs): add “785. Is Graph Bipartite?” 2023-05-19 15:33:03 +02:00
iterator-for-combination.kt problems: add „1286. Iterator for Combination“ 2022-08-09 15:14:12 +02:00
kids-with-the-greatest-number-of-candies.rs problems(rs): add “1431. Kids With the Greatest Number of Candies” 2023-04-17 18:51:10 +02:00
kth-smallest-element-in-a-sorted-matrix.cpp problems: add kth smallest element in a sorted matrix 2022-08-02 22:46:54 +02:00
linked-list-cycle-ii.rb problems: add daily problems 2022-01-19 12:19:22 +01:00
longest-increasing-subsequence.rs problems: add „Longest Increasing Subsequence“ 2022-08-08 21:58:30 +02:00
longest-palindromic-subsequence.rs problems(rs): add “516. Longest Palindromic Subsequence” 2023-04-14 22:40:09 +02:00
lowest-common-ancestor-of-a-binary-search-tree.kt problems: add „235. Lowest Common Ancestor of a Binary Search Tree“ 2022-08-12 22:10:33 +02:00
matrix-diagonal-sum.cpp problems(cpp): add “1572. Matrix Diagonal Sum” 2023-05-08 22:09:27 +02:00
max-area-of-island.kt chore: fix formatting 2022-09-09 18:56:13 +02:00
max-sum-of-rectangle-no-larger-than-k.cpp problems(cpp): add „363. Max Sum of Rectangle No Larger Than K“ 2022-08-28 23:31:42 +02:00
maximize-distance-to-closest-person.kt problems: add maximize distance to closest 2022-01-16 12:42:13 +01:00
maximum-number-of-coins-you-can-get.rs chore: fix formatting 2022-09-09 18:56:13 +02:00
maximum-running-time-of-n-computers.cpp chore: reorganize files 2022-07-23 12:53:31 +02:00
maximum-subarray.rb chore: reorganize files 2022-07-23 12:53:31 +02:00
maximum-units-on-a-truck.kt chore: fix formatting 2022-09-09 18:56:13 +02:00
maximum-value-of-k-coins-from-piles.rs problems(rs): add “2218. Maximum Value of K Coins From Piles” 2023-04-15 19:29:45 +02:00
memoize.js problems(js): add “2623. Memoize” 2023-05-14 00:05:44 +02:00
merge-sorted-array.rb chore: reorganize files 2022-07-23 12:53:31 +02:00
merge-strings-alternately.cpp problems(cpp): add “1768. Merge Strings Alternately” 2023-04-19 00:17:54 +02:00
middle-of-the-linked-list.cpp chore: format sources 2022-07-23 13:12:05 +02:00
min-cost-climbing-stairs.rb chore: reorganize files 2022-07-23 12:53:31 +02:00
minimum-moves-to-reach-target-score.cpp chore: reorganize files 2022-07-23 12:53:31 +02:00
minimum-number-of-refueling-stops.kt problems: add „871. Minimum Number of Refueling Stops“ 2022-08-20 18:30:43 +02:00
minimum-number-of-vertices-to-reach-all-nodes.rs problems(rs): add “1557. Minimum Number of Vertices to Reach All Nodes” 2023-05-19 00:39:55 +02:00
mirror-reflection.cpp problems: add mirror reflection 2022-08-04 21:35:42 +02:00
my-calendar-i.cpp problems: add my calendar I 2022-08-03 19:30:14 +02:00
n-ary-tree-level-order-traversal.cpp problems: add n-ary tree level-order traversal 2022-07-23 13:10:25 +02:00
n-ary-tree-level-order-traversal.java problems(java): add „429. N-ary Tree Level Order Traversal“ 2022-09-05 11:31:36 +02:00
n-ary-tree-preorder-traversal.cpp problems: add n-ary tree preorder traversal 2022-07-23 13:11:02 +02:00
number-complement.swift problems: add previously solved problems 2022-01-18 21:43:49 +01:00
number-of-islands.rs problems(rs): add „200. Number of Islands“ 2022-08-29 19:22:05 +02:00
number-of-matching-subsequences.cpp problems: add number of matching subsequences 2022-07-20 17:09:12 +02:00
numbers-with-same-consecutive-differences.cpp problems(cpp): add „967. Numbers With Same Consecutive Differences“ 2022-09-03 23:52:07 +02:00
out-of-boundary-paths.cpp problems: add out of boundary paths 2022-07-18 17:40:53 +00:00
pacific-atlantic-water-flow.rs chore: fix formatting 2022-09-09 18:56:13 +02:00
palindrome-linked-list.cpp problems(cpp): add „234. Palindrome Linked List“ 2022-08-24 00:04:31 +02:00
partition-list.cpp problems: add partition list 2022-07-22 23:45:16 +02:00
pascals-triangle-ii.cpp problems: add pascals triangle ii 2022-07-19 16:48:05 +02:00
pascals-triangle.cpp problems: add pascals triangle 2022-07-19 16:26:56 +02:00
peeking-iterator.java problems: add peeking iterator 2022-08-05 12:11:01 +02:00
poor-pigs.cs problems: add poor pigs 2022-08-06 20:59:39 +02:00
power-of-four.rs problems(rs): add „342. Power of Four“ 2022-08-22 11:33:45 +02:00
power-of-three.kt problems(kt): add „326. Power of Three“ 2022-08-24 12:35:09 +02:00
promise-pool.js problems(js): add “2636. Promise Pool” 2023-05-18 20:20:38 +02:00
promise-time-limit.js problems(js): add “2637. Promise Time Limit” 2023-05-18 20:10:57 +02:00
range-sum-query-immutable.rs problems(rs): add “303. Range Sum Query - Immutable” 2023-04-16 00:05:53 +02:00
ransom-note.cpp problems(cpp): add „383. Ransom Note“ 2022-08-25 14:06:33 +02:00
reduce-array-size-to-the-half.rs problems: add „1338. Reduce Array Size to The Half“ 2022-08-18 09:35:18 +02:00
removing-stars-from-a-string.cpp problems(cpp): add “2390. Removing Stars From a String” 2023-04-11 18:47:54 +02:00
reordered-power-of-2.cpp problems(cpp): add „869. Reordered Power of 2“ 2022-08-26 23:52:22 +02:00
rle-iterator.java problems: add an RLE Iterator 2022-08-06 17:34:50 +02:00
roman-to-integer.kt problems: add „13. Roman to Integer“ 2022-08-15 09:45:52 +02:00
rotate-array.rb chore: reorganize files 2022-07-23 12:53:31 +02:00
rotate-image.cpp problems(cpp): add „48. Rotate Image“ 2022-09-01 01:01:22 +02:00
running-sum-of-1d-array.rs problems: add running sum of 1D array 2022-07-12 11:32:59 +00:00
same-tree.cpp problems(cpp): add „100. Same Tree“ 2023-01-10 23:16:12 +01:00
search-insert-position.rb chore: reorganize files 2022-07-23 12:53:31 +02:00
simplify-path.rs problems(rs): add “71. Simplify Path” 2023-04-13 08:13:07 +02:00
sleep.js problems(js): add “2621. Sleep” 2023-05-18 19:42:47 +02:00
smallest-number-in-infinite-set.rs problems(rs): add “2336. Smallest Number in Infinite Set” 2023-04-25 14:17:31 +02:00
solving-questions-with-brainpower.cpp chore: reorganize files 2022-07-23 12:53:31 +02:00
solving-questions-with-brainpower.rs problems(rs): add “2140. Solving Questions With Brainpower” 2023-05-12 16:33:08 +02:00
sort-characters-by-frequency.rs problems(rs): add „451. Sort Characters By Frequency“ 2022-12-03 22:41:54 +01:00
sort-the-matrix-diagonally.cpp problems(cpp): add „1329. Sort the Matrix Diagonally“ 2022-08-28 23:32:10 +02:00
spiral-matrix-ii.cpp problems(cpp): add “59. Spiral Matrix II” 2023-05-10 10:36:07 +02:00
spiral-matrix.cpp problems(cpp): add “54. Spiral Matrix” 2023-05-09 23:47:07 +02:00
split-array-into-consecutive-subsequences.kt problems: add „659. Split Array into Consecutive Subsequences“ 2022-08-19 22:33:11 +02:00
squares-of-a-sorted-array.rb chore: reorganize files 2022-07-23 12:53:31 +02:00
stamping-the-sequence.rs problems(rs): add „936. Stamping The Sequence“ 2022-08-21 20:19:10 +02:00
substring-with-concatenation-of-all-words.kt problems: add „30. Substring with Concatenation of All Words“ 2022-08-13 22:50:35 +02:00
the-number-of-weak-characters-in-the-game.rs problems(rs): add „1996. The Number of Weak Characters in the Game“ 2022-09-09 14:02:07 +02:00
tribonacci.rb chore: reorganize files 2022-07-23 12:53:31 +02:00
two-sum.rb chore: reorganize files 2022-07-23 12:53:31 +02:00
two-sum.swift problems(cpp): add „1657. Determine if Two Strings Are Close“ 2022-12-02 20:13:07 +01:00
unique-morse-code-words.kt problems: add „804. Unique Morse Code Words“ 2022-08-17 11:48:21 +02:00
unique-paths.cpp problems: add unique paths 2022-08-02 11:40:31 +02:00
utf-8-validation.cpp problems(cpp): add „393. UTF-8 Validation“ 2022-09-14 10:31:37 +02:00
valid-parentheses.cpp problems(cpp): add “20. Valid Parentheses” 2023-04-10 20:03:58 +02:00
valid-parentheses.swift problems(cpp): add „1657. Determine if Two Strings Are Close“ 2022-12-02 20:13:07 +01:00
validate-binary-search-tree.kt problems: add „98. Validate Binary Search Tree“ 2022-08-11 10:02:47 +02:00
validate-stack-sequences.rs problems(rs): add “946. Validate Stack Sequences” 2023-04-13 19:24:05 +02:00
vertical-order-traversal-of-a-binary-tree.cpp problems(cpp): add „987. Vertical Order Traversal of a Binary Tree“ 2022-09-04 23:02:44 +02:00
word-ladder-ii.kt problems: add „126. Word Ladder II“ 2022-08-14 21:19:49 +02:00
word-pattern.rb problems: add daily problems 2022-01-19 12:19:22 +01:00