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