Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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

binary search tree = 5

1 1 2 3 3
\ \ / \ / /
2 3 1 3 1 2
\ / \ /
3 2 2 1

binary tees = (2^3)-3=5

Is This Answer Correct ?    4 Yes 6 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is pointer in data structure?

819


What is data structure what is need of it?

839


What is the relationship between a queue and its underlying array?

1202


What is difference between an Array and ArrayList?

948


What is binary tree example?

898


Which list does not allow duplicates?

826


What is sorting rule in shapes?

839


What is the difference between arraylist and linkedlist?

921


Can I provide array size dynamically?

872


What is data structure and its operations?

792


Explain the uses of b+ tree.

865


How many types of data structure are there?

834


What do you mean by data and data structure?

919


Why do we use hashset?

872


Is binary tree balanced?

787