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
Define b-tree of order m?
Difference between arraylist and linkedlist?
How to sort 1 million floating point numbers?
When is a binary search best applied?
What is a undirected graph?
Can we extend an array after initialization?
What is difference between array and arraylist?
Define a queue?
What are the scenarios in which an element can be inserted into the circular queue?
Can an arraylist be null?
Define a right-skewed binary tree?
How many sorting techniques are there?
What is binary tree give example?
Can you use Bubble Sort To sort the number of elements.
What is height balanced tree?