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
How to cut or remove an element from the array?
Is there any difference between int[] a and int a[]?
What is a map in programming?
What are basic algorithms?
Can treemap key null?
What are the different types of hash functions?
What is Insertion sort, selection sort, bubble sort( basic differences among the functionality of the three sorts and not the exact algorithms)?
What is difference between array and string?
Can hashset contain duplicates?
What is sequential search? What is the average number of comparisons in a sequential search?
Does treemap preserve order?
Can we change the size of an array at run time?
What do you mean by recursive definition?
How do you find the complexity of a selection sort?
If you are using c language to implement the heterogeneous linked list, what pointer type should be used?