what is wrong in the code?
Structurally Identical (Binary Tree)
@17manishms
You are comparing the data at the nodes. Structurally identical tree means that the structure of the two trees must be same. The data may or may not match in corresponding nodes.
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.