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 are the goals of data structure?
Define static data structures?
What do you mean by union-by-weight?
Describe the height term in a tree.
What is heap and its types?
what is Linked lists?
What are the advantages of linked list over array (static data structure)?
Why do we use insertion sort?
What is meant by strongly connected in a graph?
What are hashmaps good for?
How does a treemap work?
How much time does it take to learn data structures?
What does the term sorting refer to?
Why do we use linked lists?
Why do we study data structures?