LeetCode: 1339-Maximum Product of Splitted Binary Tree 解題紀錄
Last Updated on 2022-12-10 by Clay
題目
Given the root of a binary tree, split the binary tree into two subtrees by removing one edge such that the product of the sums of the subtrees is maximized.