Given the root of a binary tree, remove exactly one edge so the tree splits into two subtrees, and make the product of the two subtree sums as large as possible.
Return that maximum product modulo 109+7. Maximize the product itself first and only then take the remainder.