You are given the roots of two binary trees t1 and t2.
Imagine that when you overlay one tree on top of the other, some nodes of the two trees line up while others do not. Merge the two trees into a new binary tree: if two nodes overlap, the new node's value is the sum of both nodes' values; otherwise the non-null node becomes the new tree's node.
Return the merged tree's root.
Input / output
t1: TreeNode, t2: TreeNode (JSON test fixtures are LeetCode-style level-order arrays, e.g. [1,3,2,5], with null for a missing child)TreeNode (also a level-order array)Can you merge the trees in place, mutating t1 to become the merged result instead of allocating new nodes?