GeeksforGeeks » Interview Questions
student Interview Question for Other (0 - 2 Years) about Data Structure
(2 posts)-
Merge two BST into One.
BST t2 is merged into BST t1. -
Please explain the question with an example.
Otherwise the solution could be :
Traverse one BST inorder and call the insert function of the other tree with the element.
Reply
You must log in to post.