代码改变世界

[LeetCode] 663. Equal Tree Partition_Medium tag: DFS, divide and conquer

2021-08-21 22:18  Johnson_强生仔仔  阅读(27)  评论(0编辑  收藏  举报
Given the root of a binary tree, return true if you can partition the tree into two trees with equal sums of values after removing exactly one edge on