https://ide.codingblocks.com/s/62875
getting wrong answer in 2 test cases.
Create tree ( Using preorder and inorder)
Hi Vishesh , you have forgot to put an endl
if the right child of tree exist . Line no. 49.
cout<right->data<<endl;
yeah right!!! Thanks!!!