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 difference between rb tree and avl tree?
What is the types of data structure?
Can we store a string and integer together in an array?
Why is waste sorting important?
Are linked lists useful?
Mention the steps to insert data at the starting of a singly linked list?
We know that Arrays are objects so why cannot we write strArray.length()?
How do you find the number of comparisons in bubble sort?
What is the difference between hashmap and linkedhashmap?
What is linked hash set?
Why is hashing used?
How do you declare An array of three pointers to chars
Describe the complexity of Binary search
Explain what are the major data structures used in the rdbms?
Explain how is linked list implemented?