I am unable to pass test case out of 4 plz check
link : https://ide.geeksforgeeks.org/5S3CWSOAfv
Getting 1 wrong answer
@ayushjain.aj300
In Line No. 66 , you are comparing the data of corresponding nodes. You shouldn’t do that. We are only required to check whether the structure of the two trees is same. The value in the corresponding nodes may or may not be equal.
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.