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 / rohit
binary tree = n!(2^n - n).
for n =3 its 30.
for BST its 2n
C * [1/(n+1)]
n
for n=3 its 5.
| Is This Answer Correct ? | 1 Yes | 1 No |
Post New Answer View All Answers
What is the difference between one and two dimensional?
What is non linear data structure with example?
Differentiate between iterable and iterator.
Does list maintain insertion order?
What do you know about traversal in linked lists?
what are the applications of Linked Lists?
What do you mean by Syntax Error
What is difference between array and arraylist? When will you use array over arraylist?
Is treemap synchronized?
Can we put null key in hashmap?
What is time and space complexity of bubble sort?
What is frozenset?
What are hashmaps good for?
Define primary clustering?
What are the difference between malloc() and calloc()?