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 do you mean by complexity of search algorithm?
Is int a data structure?
Is hashmap an object?
What is dequeue in data structure?
Define tree edge?
What are the difference between a stack and a queue?
Define right-in threaded tree?
What are the advantages and disadvantages of linked list?
Why entry interface is used in map?
Is json a data structure?
What do you mean by external sorting?
What is placement new in data structures?
Which interfaces are implemented by printerstatereasons?
What is comparator interface used for?
Are data structures important?