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
Why do we Use a Multidimensional Array?
What is raid (redundant array of inexpensive disks)?
What is the difference between the hash table and hash map?
What is the difference between dictionary and hashtable?
What is scalar data type?
How do you use the sort function?
What is red black tree in data structure?
Explain the applications of stack?
Can arraylist be empty?
What is stack and its operations?
How is a hashset implemented?
Which sorting does collections sort use?
Define an equivalence relation?
How can you add an item to the beginning of the list?
Give a good data structure for having n queues ( n not fixed) in a finite memory segment. You can have some data-structure separate for each queue. Try to use at least 90% of the memory space.