There are two ways of constructing a software design: One way is to make it so simple that there are obviously no deficiencies, and the other way is to make it so complicated that there are no obvious deficiencies. The first method is far more difficult. C.A.R. Hoare

Merge two BSTs with limited extra space

Language Java | Level Intermediate | Category Data structure | September 6, 2015 8:27 am


Data structure Description

Write a program to merge two Binary search Trees with limited extra space.


Output

   					 

Tree1 values:70  90  110  
Tree2 values:5  60  800  
Balanced Tree after merge two tree values:5  60  70  90  110  800  

				    

Comments


No comments available!

Please login to add comments.