how to find the number of possible tree in the given tree.
Answer Posted / vikram_tp
you all are going wrong...
the formula which u have given is only working when n=2 or 3..
bt when n=4 the ans should be 14 not 12
when n=5 ans is 42 and not what comes by the formula...
so there isnt any formula for this..u have to count then by generating the trees by urself...
| Is This Answer Correct ? | 18 Yes | 0 No |
Post New Answer View All Answers
What are the benefits of using arrays?
What are the major data structures used in the network data model?
What does abstract data type mean?
Write a program to reverse a link list.
What is an example of an algorithm?
What is hashing technique?
Is array immutable?
Is boolean a data type?
What are the complexity of binary search?
What do you mean by sorting data?
How do you determine if a binary tree is height balanced?
Write an algorithm through which the inserting and deleting of elements can take place in circular queue?
Define articulation point?
What is difference between tree and forest?
Is array faster than arraylist?