https://leetcode.com/problems/sum-root-to-leaf-numbers/description/
Sum root-leaf numbers in a Binary Tree #medium
Sum root-leaf numbers in a Binary Tree #medium
👍2
April 15, 2024
https://leetcode.com/problems/add-one-row-to-tree/description/
Insert nodes at the
Insert nodes at the
depth
of the Binary Tree #medium👍2
April 16, 2024
https://leetcode.com/problems/smallest-string-starting-from-leaf/description/
Smallest string from
Smallest string from
leaf
to root
in a Binary Tree #medium👍1
April 17, 2024
https://leetcode.com/problems/island-perimeter/description/
Perimeter of
Perimeter of
1
's islands in 01
-matrix #easy👍1
April 18, 2024
https://leetcode.com/problems/number-of-islands/description/
Count
Count
1
-islands in 0-1
a 2D matrix #medium👍1
April 19, 2024
https://leetcode.com/problems/find-all-groups-of-farmland/description/
Count
Count
1
-rectangles in 0-1
2D matrix #medium👍1
April 20, 2024
https://leetcode.com/problems/find-if-path-exists-in-graph/description/
Are
Are
source
and destination
connected in graph? #easy👍1
April 21, 2024
April 21, 2024
https://leetcode.com/problems/open-the-lock/description/
Steps to rotate 4-wheel
Steps to rotate 4-wheel
0000
-> target #medium #bfs #deque👍1
April 22, 2024
https://leetcode.com/problems/minimum-height-trees/description/
Center of an acyclic graph #medium #graph #toposort
Center of an acyclic graph #medium #graph #toposort
👍2
April 23, 2024
https://leetcode.com/problems/n-th-tribonacci-number/description/
`n`th Tribonacci number f(n + 3) = f(n) + f(n + 1) + f(n + 2) #easy
`n`th Tribonacci number f(n + 3) = f(n) + f(n + 1) + f(n + 2) #easy
👍2
April 24, 2024
https://leetcode.com/problems/longest-ideal-subsequence/description/
Max length of less than
Max length of less than
k
adjucent subsequence #medium #dynamic_programming👍1
April 25, 2024
https://leetcode.com/problems/minimum-falling-path-sum-ii/description/
Min non-direct path top down in a 2D matrix #hard #dynamic_programming
Min non-direct path top down in a 2D matrix #hard #dynamic_programming
👍1
April 26, 2024
https://leetcode.com/problems/freedom-trail/description/
Min steps to produce
Min steps to produce
key
by rotating ring
#hard #dynamic_programming #recursion #hash_map👍1
April 27, 2024
https://leetcode.com/problems/sum-of-distances-in-tree/description/
Sums of paths to each leafs in a tree #hard #dfs
Sums of paths to each leafs in a tree #hard #dfs
👍2
April 28, 2024
https://leetcode.com/problems/minimum-number-of-operations-to-make-array-xor-equal-to-k/description/
Bit diff between
Bit diff between
k
and nums
xor #medium #bit_manipulation👍2
April 29, 2024
https://leetcode.com/problems/number-of-wonderful-substrings/description/
Count substrings with at most one odd frequency #medium #bit_manipulation
Count substrings with at most one odd frequency #medium #bit_manipulation
👍1
April 30, 2024
https://leetcode.com/problems/reverse-prefix-of-word/description/
Reverse
Reverse
[..ch]
prefix in string #easy👍1
May 1, 2024
https://leetcode.com/problems/largest-positive-integer-that-exists-with-its-negative/description/
Max number that have its negative in array #easy #two_pointers
Max number that have its negative in array #easy #two_pointers
👍2
May 2, 2024