How many different trees are possible with 10 nodes ?
Answer Posted / 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 View All Answers
How would you reverse characters of an array without using indexing in the array.
What is difference between hashmap and map?
What are arrays give example?
What is a b+ tree? Explain its uses.
What are the non linear data structure?
What is difference between rb tree and avl tree?
Is hashtable fail fast?
Define a binary tree?
What is complete binary tree and almost complete binary tree?
How to use appendNode() in linkedlist()?
What is the difference between Array and Array List ? Explain in brief with example.
What are the applications of linked list?
What do you know about different sorting algorithms?
Explain what is the type of the algorithm used in solving the 8 queens problem?
What is difference between list and linked list?