Data Structure & Algorithm: Level-1 Problem #34. Merging Binary Trees
Given two binary trees, merge them together using the following guidelines: For overlapping nodes, sum the weight together as the weight of the new node.For non-overlapping nodes, add the not…