Minimum Subtree

思路:
DC和traversal 结合。用全局变量记录临时的min sum和sub tree。

评论

此博客中的热门博文

663. Equal Tree Partition

776. Split BST

Sort Colors II