how to build binary search tree only from preorder, I know inorder will be sorted preorder but applying code for making bst by using these preorder and inorder (code which used in making normal binary tree) gives segmentation fault
How to create tree
@devsinghindra
hello devendra,
check this article -> https://www.geeksforgeeks.org/construct-bst-from-given-preorder-traversa/