https://ide.codingblocks.com/s/200951 PLs tell the problem in the code
Tree left view problem
bro ur tree is being wrongly formed
refer the buildTree function so that the tree is atleast correctly built
still is problem persists then msg me
My method of forming the tree is similar to that of this one, but still it is not passing all the test cases
but the tree u are forming is wrong
i tried inorder traversal the tree is giving wrong inorder for the tree u have formed
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.