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


Please Help Members By Posting Answers For Below Questions

What is collision in data structure?

488


What is the difference between array and stack in data structures?

490


What is treemap chart?

479


What are linked lists good for?

451


Can you sort a hashset?

511






Can you please explain the difference between string and an array?

503


Explain what are the notations used in evaluation of arithmetic expressions using prefix and postfix forms?

513


What is difference between tree and forest?

498


How can a binary tree be represented using the rotation?

528


How would you sort words in a large file?

540


State the difference between queues and linked lists?

528


How do treesets work internally?

475


What does adt stands for?

470


What is the use of sorting?

498


Is merge sort better than quick?

477