Not passing 1 test case
applied the concept that both preorder and inorders of two identical trees will be same
Structurally identical trees
this test case should return true
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
ur o/p shows false
please check and incase u are unable to do it ping back
Solved , my logic was wrong
Thanks 
1 Like