how to find the number of possible tree in the given tree.
Answer Posted / m.vinothkumar
no. of possible trees=(2^n)-n.
where n=no.of nodes
I FOUNDED THIS CORRECT FORMULA FROM GRAPHICS FROM
MATHEMATICS BOOK
| Is This Answer Correct ? | 26 Yes | 9 No |
Post New Answer View All Answers
What is basic data structure?
What is the need for path compression?
What is binary tree in computer science?
Does hashset allow duplicates?
Is pointer a variable?
How does a selection sort work for an array?
How do you find the depth of a binary tree?
Why do we need arrays if all the operations that are performed on arrays can be performed on arraylist?
Is map a data structure?
Can an arraylist be null?
How do hash tables work?
Explain the difference between hashset and hashmap?
What is the difference between set and unordered_set?
How to find the missing element in integer array of 1 to 7?
Why is tuple immutable?