Structurally Identical (Binary Tree)

https://ide.codingblocks.com/s/62644
what is wrong in this??

You dont need to compare the values of the nodes inside the trees…only the structure should be same.

https://ide.codingblocks.com/s/62649
still not working.
having run errors

@i_m_vishesh hi vishesh you can also do this question by only counting nodes of both the tree and this will work suppose tree first having 6 nodes and another tree contains same node as the first one then tree is already in identical fashion