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 method is used to place a value onto the top of a stack? |
☺ | How do you assign an address to an element of a pointer array ? |
☺ | Run Time Memory Allocation is known as in data structure? |
☺ | Why do we Use a Multidimensional Array in data structure? |
☺ | What method removes the value from the top of a stack? |
Top Databases Programming Categories
☺ | RDBMS Interview Questions. |
☺ | SQL Interview Questions. |
☺ | SSRS Interview Questions. |
☺ | Sybase Interview Questions. |
☺ | Database Administrator (DBA) Interview Questions. |