https://leetcode.com/problems/evaluate-boolean-binary-tree/description/
Evaluate tree where
Evaluate tree where
0/1 is false/true and 2/3 is or/and #easy #tree #dfs👍1🔥1
https://leetcode.com/problems/delete-leaves-with-a-given-value/description/
Recursively remove
Recursively remove
target leafs from the tree #easy #dfs #tree👍1🔥1
https://leetcode.com/problems/distribute-coins-in-binary-tree/description/
Min moves to spread the coins across the tree #medium #dfs #tree
Min moves to spread the coins across the tree #medium #dfs #tree
👍1🔥1