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 / babugct

All the above answers are wrong............
please post some correct answer...
as far as my concern,,,
no.of binary trees=n!*(2^(n)-n)
no.of bst's=2^(n)-n...
pls inform if wrong

Is This Answer Correct ?    7 Yes 6 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is binary search in programming?

494


What is the height of an empty tree?

537


Write code for reversing a linked list.

516


Write a code for dynamic allocation of array.

591


What type of data structure is used to perform recursion?

522






How do you use the sort function?

471


What is the height of binary tree?

499


State the rules to be followed during infix to prefix conversions?

635


What type of variable is age?

476


How does a dynamic array work?

447


How can I learn data structures?

520


Why do we use a multidimensional array in data structure?

590


What is circular linked list?

520


Is duplicate allowed in hashmap?

627


Why set will not allow duplicates?

489