problem is not well explained
Structurally balanced tree
The question is to check if the two trees are structurally identical.
Two trees are structurally identical when they have the exact same structure but values of nodes may be same or different. If you draw the tree structure of the two trees given, if their shape is exactly same, then they are structurally identical. If the first tree has a root node and a right child but no left child, then the second tree must also have a root node with right child only.