Please explain the detail commented code for how to input tree in the question, structurally identical tress

please provide commented and explain code

@as159925 please see this code you’ll get an idea on how to take the input https://ide.codingblocks.com/s/252341 firstly you have to take value of node, then 2 strings telling whether left child exists or not, if it exists then build left subtree, and similarly for right child.

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.