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 / shweta
for binary tree ans is 5, the general formula is (2^n)-n
for binary search tree no. of tree possible is 3.
as root data can be either 1, 2 or 3
| Is This Answer Correct ? | 39 Yes | 38 No |
Post New Answer View All Answers
Is array static or dynamic?
Define probing?
Is arraylist better than array?
What is raid (redundant array of inexpensive disks)?
What is a b+ tree? Explain its uses.
What are the disadvantages of circular list?
Explain Array
What are linear and non linear data structures?
What do you mean by data and data structure?
List the two important key points of depth first search?
What are the tasks performed during inorder traversal?
How do we find duplicate elements in an array?
What are the different types of data structures?
How to do the intersection of two sorted arrays?
What are different techniques for making hash function?