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 is collision in data structure?
What is the difference between array and stack in data structures?
What is treemap chart?
What are linked lists good for?
Can you sort a hashset?
Can you please explain the difference between string and an array?
Explain what are the notations used in evaluation of arithmetic expressions using prefix and postfix forms?
What is difference between tree and forest?
How can a binary tree be represented using the rotation?
How would you sort words in a large file?
State the difference between queues and linked lists?
How do treesets work internally?
What does adt stands for?
What is the use of sorting?
Is merge sort better than quick?