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


Please Help Members By Posting Answers For Below Questions

What are the 3 types of measurement?

955


What's difference between stack and queue?

930


Which sort is best for linked list?

829


Define threaded binary tree.

977


What is the meaning of arraylist?

888


Why is quicksort not stable?

930


How do you clear a stack?

889


What type of memory allocation is referred for Linked lists?

1148


Define a stack?

1015


how to delete first node from singly linked list?

1143


What is binary tree example?

908


What is linked hash set?

796


What is the use of prototype?

870


When ArrayIndexOutOfBoundsException occurs?

1091


What is sequential mapping in data structure?

900