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 the Insertion Sort Code?.

625


What are the disadvantages of circular list?

494


Define depth and height of a tree?

555


What is faster array or arraylist?

459


Does stringutils isempty check for null?

421






Is bubble sort slow?

514


Why is data structure?

471


Explain about circular linked list?

532


What is shell sort in data structure?

472


Which is faster hashmap or treemap?

481


Explain linked list in short.

515


Which interfaces are implemented by concurrentskiplistset?

483


Are hash tables ordered?

468


What is list and types of list?

463


What are the classification of data structures?

494