Why I am not getting any output ?
Create Tree using preorder and inorder
hello @vaishnavtannu
increment this after line 31.
because in line 31. u will be needing previous value of pre_index only
also u are not reading n,m
Please review this code. Only one testcase is passing.
Sample testcase is passing, why I am getting wrong answer for two testcases on submission ?
wait i m checking. . . . . . . …
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.
