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 the best case for bubble sort?
List out the basic operations that can be performed on a stack?
What is the need of sorting?
What are basic algorithms?
What is arrays copyof?
Why using cookie to store session info is a better idea than just using session info in the request?
What is unhashable type list?
What is type structure?
What is the method to find the complexity of an algorithm?
What is the purpose of thread?
Does hashmap allow null keys?
In what order the elements of a hashset are retrieved?
What is an acyclic graph?
Tell me what is quick sort?
Is bubble sort faster than selection sort?