How many different binary trees and binary search trees can
be made from three nodes that contain the key values 1, 2 & 3?
Answer Posted / vipul
number of binary search tree= (2n)!/{n!*(n+1)!}
and number of binary tree=(2n)!/(n+1)!
| Is This Answer Correct ? | 3 Yes | 0 No |
Post New Answer View All Answers
What is a B tree?
How can we reverse the order in the treemap?
What is linked list in data structure?
Does arraylist shrink?
What are the types of data structures?
Why do we need searching algorithms?
Is an arraylist a vector?
What are common data structures?
What are the different data structures?
What is difference between hashtable and hashmap?
Explain about the different lists available in the collection?
What is data structure definition?
How does dynamic memory allocation help in managing data?
Do all declaration statements result in a fixed reservation in memory?
What are the disadvantages of sequential storage?