GeeksforGeeks » Interview Questions

student Interview Question for Other (0 - 2 Years) about Data Structure

(2 posts)
  • Started 1 year ago by girish.khadke
  • Latest reply from itspankaj
  1. girish.khadke
    Member
    Posted 1 year ago #

    Merge two BST into One.
    BST t2 is merged into BST t1.

  2. itspankaj
    guest
    Posted 1 year ago #

    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.

RSS feed for this topic