One test case is not passing

Code https://ide.codingblocks.com/s/155723
Hackerblock https://hack.codingblocks.com/app/contests/987/p/475

Harsh, your code is failing for only one condition i.e.
If only left sub-tree exists or just right sub-tree exist, then the condition of (left sub-tree == right sub-tree) fails,
It should give correct output i.e. FALSE.
.
but, Your code is showing output :- TRUE which is failing the test case condition.
If your doubt is not resolved, please feel free to ask.