how to make tree for this question
Structurally Identical (Binary tree)
hello @vivekpatel
check this

procedure is simple.
read root node, read string if it is true that means left subtree exist ,call the same function on left ,
similarly read one more string if it is true that means left right subtree exist ,call the same function on right ,
I hope I’ve cleared your doubt. I ask you to please rate your experience here
Your feedback is very important. It helps us improve our platform and hence provide you
the learning experience you deserve.
On the off chance, you still have some questions or not find the answers satisfactory, you may reopen
the doubt.