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 trees are possible with 10 nodes ?



How many different trees are possible with 10 nodes ?..

Answer / phool chand

1014

For example, consider a tree with 3 nodes(n=3), it will have the maximum combination of 5 different (ie, 23 - 3 = 5) trees.

In general: If there are n nodes, there exist 2n-n different trees.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Data Structures Interview Questions

What is the difference between static and dynamic data?

0 Answers  


How would you dynamically allocate a one-dimensional and two-dimensional array of integers?

0 Answers  


Does hashmap allow duplicate keys?

0 Answers  


What are sorting algorithms used for?

0 Answers  


What is frozenset?

0 Answers  


Can you sort a string?

0 Answers  


Why is sorting necessary?

0 Answers  


What is the idea behind splaying?

0 Answers  


Define non-terminal nodes in a tree?

0 Answers  


what is the difference between dynamic as well as non - dynamic data structures.

0 Answers   Aricent,


How many types of linked list exist?

0 Answers  


Are lists mutable?

0 Answers  


Categories