https://leetcode.com/problems/flip-equivalent-binary-trees/description/
Are trees flip-equal #medium #recursion #dfs
Are trees flip-equal #medium #recursion #dfs
👍3
https://leetcode.com/problems/height-of-binary-tree-after-subtree-removal-queries/description/
n
new heights by cutting nodes in a Tree #hard #dfs👍3
https://leetcode.com/problems/reverse-odd-levels-of-binary-tree/description/
Odd-levels reversal in a perfect tree #medium #dfs #bfs #tree
Odd-levels reversal in a perfect tree #medium #dfs #bfs #tree
👍2
https://leetcode.com/problems/find-eventual-safe-states/description/
Nodes without cycles #medium #dfs #toposort
Nodes without cycles #medium #dfs #toposort
👍2
https://leetcode.com/problems/maximum-employees-to-be-invited-to-a-meeting/description/
Max connected siblings in graph #hard #dfs #toposort
Max connected siblings in graph #hard #dfs #toposort
👍4
https://leetcode.com/problems/course-schedule-iv/description/
All innodes for each query in graph #medium #dfs #toposort #floyd_warshall
All innodes for each query in graph #medium #dfs #toposort #floyd_warshall
👍2
https://leetcode.com/problems/maximum-number-of-fish-in-a-grid/description/
Largest region in 2D grid #medium #bfs #dfs
Largest region in 2D grid #medium #bfs #dfs
👍3
https://leetcode.com/problems/making-a-large-island/description/
Max area after filling one empty 2D grid cell #hard #dfs #union_find
Max area after filling one empty 2D grid cell #hard #dfs #union_find
👍2🔥1
https://leetcode.com/problems/find-elements-in-a-contaminated-binary-tree/description/
Is number in a tree 2*v+(1L, 2R)? #medium #bfs #dfs
Is number in a tree 2*v+(1L, 2R)? #medium #bfs #dfs
👍1🔥1
https://leetcode.com/problems/most-profitable-path-in-a-tree/description/
Max Alice path down, Bob up in tree #medium #dfs
Max Alice path down, Bob up in tree #medium #dfs
👍2🔥1
Valid recipes from supplies #medium #dfs #dp
https://leetcode.com/problems/find-all-possible-recipes-from-given-supplies/description/
https://leetcode.com/problems/find-all-possible-recipes-from-given-supplies/description/
👍1🔥1
https://leetcode.com/problems/maximize-the-number-of-target-nodes-after-connecting-trees-i/description/
Max k-reacheable nodes of merged trees #medium #dfs
Max k-reacheable nodes of merged trees #medium #dfs
👍2