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


Please Help Members By Posting Answers For Below Questions

What are the advantages of modularity?

517


Why use a tuple instead of a list?

474


How do you create a tree diagram?

505


Which language is best for data structures?

530


How does threaded binary tree represented in data structure?

589






Can you override methods of arraylist?

504


What are the types of collection?

485


What is the best sorting technique?

504


How do hash tables work?

515


Can we define the size of arraylist?

487


What is array define its types?

473


How do you do a heap sort?

485


Can we increase the size of statically allocated array?

511


What do you mean by free pool?

528


What is frozenset?

494