How many different trees are possible with 10 nodes ?
Submitted by: Administrator1014 - For example, consider a tree with 3 nodes(n=3), it will have the maximum combination of 5 different (ie, 23 - 3 =? 5) trees.
Submitted by: Administrator
Submitted by: Administrator
the basic formula is 2 power n-n. if the node in the tree is 3 means so 2power 3 - 3 = 5
Submitted by: Prasanna
Submitted by: Prasanna
2^n-n
so, n=10
Ans: 1014
Submitted by: Neha
so, n=10
Ans: 1014
Submitted by: Neha
Read Online Data Structures Job Interview Questions And Answers
Top Data Structures Questions
☺ | What is data structure? |
☺ | List out the areas in which data structures are applied extensively? |
☺ | If you are using C language to implement the heterogeneous linked list, what pointer type will you use? |
☺ | What is the data structures used to perform recursion? |
☺ | What are the methods available in storing sequential files ? |
Top Databases Programming Categories
☺ | RDBMS Interview Questions. |
☺ | SQL Interview Questions. |
☺ | SSRS Interview Questions. |
☺ | Database Administrator (DBA) Interview Questions. |
☺ | Sybase Interview Questions. |