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 to find the number of possible tree in the given tree.

Answer Posted / sudip

If there are 3 nodes A,B and C. In which A is root and B and
C are it's left and right child...
Then if we want to count the no. of tree..then..

A A A A-alone, B -alone and
/ \ / \ C-alone and the last
B C B C one is null tree.


I think there will be 7 subtrees if we null is subtree then,..

no. of tree = 2^n - 1.

Is This Answer Correct ?    1 Yes 14 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Are hash tables ordered?

908


Describe the types of data structures?

975


What is the difference between ienumerable and list?

866


which notations are used in evaluation of arithmetic expressions using prefix and postfix forms?

1024


Is linkedlist thread safe?

876


Is collection a class or interface?

915


Why might quick sort might be better than merge sort?

1000


Mention the steps to insert data at the starting of a singly linked list?

977


What is complete binary tree in data structure?

983


Write program for Bubble Sort ?

996


What is application of data structure?

905


What are examples of data structures?

938


What is copyonwritearraylist?

1004


Where is binary tree used?

908


Why it is important to have aligned addresses? What is the exception generated when there is a misaligned address?

910