why is this failing 1 testcase
STRUCTURALLY IDENTICAL (BINARY TREE)-1 testcase failing
hi Anunay
your code is failing for the given below test case
10 true 20 true 40 false false true 50 false false true 30 true 60 false false true 73 false false
10 true 21 true 40 false false true 50 false false true 30 true 60 false false true 73 false false
expected outcome: true
your output: false
The data of the trees need not be equal.
Both the trees should be structurally identical. That is they must be of the same structure.