[leetcode] 814. Binary Tree Pruning

Description We are given the head node root of a binary tree, where additionally every node’s value is either a 0 or a 1. Return the same tree where every subtree (of the given tree) not containing a
相關文章
相關標籤/搜索