hey can you help me with the ques "build tree from inorder and preorder traversals. here is link to the ques https://practice.geeksforgeeks.org/problems/construct-tree-1/1
Build tree from inorder and preorder
I have made some changes in your buildtree function, Refer to this code
it is giving a segmentation fault
Plz refer to this code … I have made changes., and it is compiling succesfully
i am running the code on geeksforgeeks and it shows the same error of seg fault
This is the link to the ques https://practice.geeksforgeeks.org/problems/construct-tree-1/1
I let you know… since the code which i have changed was already submitted on coding blocks ide.