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

How do you define a set?

0 Answers  


What is data structure operations?

0 Answers  


What is the time complexity of selection sort?

0 Answers  


Which sorting is worst?

0 Answers  


What is hash data type?

0 Answers  


Which is better hashmap or hashtable?

0 Answers  


Why using cookie to store session info is a better idea than just using session info in the request?

0 Answers  


Define a set?

0 Answers  


For the following COBOL code, draw the Binary tree? 01 STUDENT_REC. 02 NAME. 03 FIRST_NAME PIC X(10). 03 LAST_NAME PIC X(10). 02 YEAR_OF_STUDY. 03 FIRST_SEM PIC XX. 03 SECOND_SEM PIC XX.

0 Answers  


What is the difference between linked list and array?

0 Answers  


What are different techniques for making hash function?

0 Answers  


What is meant by ordered and sorted in collections?

0 Answers  


Categories