What is the error?

@shivansh.sm1 hey your logic for left view is not appropriate ,as we have to print left node at each level so take variable for maxlevel and if current level is more than maxlevel or this is first node for current level than print that node and recur for left and right with current level+1

@rishabhmahajan546
please correct the code.

@shivansh.sm1 hey,I have correctef the code here is link:

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.