can anyone explain why my code is giving erre here is the link
Build from inorder ,preorder
Ayush, there was slight changes in your code, in the buildtree function, due to which it was showing runtime error, try to see the code now,
what are the changes needed in my code csn u explain plz
There is no need to use another variable index to store the values, also, the input format was, the size input, then array input, and then again size input and then array input, but you have taken size only once…