Pls explain where my logic is going wrong
Hello @Senjuti256 in structuraaly identicall tree you have to first form the tree you cant simply just check like this.
How will i form the trees from the given input as some of the values are int while others are strings or booleans
will i form the tree from its preorder traversal this way?
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.