Given two trees check if they are structurally identically. Structurally identical trees are trees that have same structure. They may or may not have the same data though.
In input section what does true and false represent
hello @arjundkl
true/false is telling whether next node in preorder traversal exist or not.
if it is true then it means next node exist otherwise it is null .
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.