how to find the number of possible tree in the given tree.
Answer Posted / tauqueer
2^n-1
if n=3 then
answer= 2^3-1=7.
example..
1
2 2
3/ \3 3/ \3
| Is This Answer Correct ? | 4 Yes | 20 No |
Post New Answer View All Answers
How does linkedhashset work internally?
Tell me what should be done in the base case for this recursive problem?
How does dynamic memory allocation help in managing data?
Define terminal nodes in a tree?
Is treemap synchronized?
What is variable size arrays?and why we use it?
Why do we need searching algorithms?
Explain the Complete structure of hashmap along with the basic coding of the hashmap internal implementation.
Why it is said that searching a node in a binary search tree is efficient than that of a simple binary tree?
An array having 100 elements have numbers from 1 to 99 randomly out of which any number is repeated. Find the repeated number in minimum time and space complexity.
What are the types of queues?
What are the disadvantages of linear list?
Which sorting algorithms are in place?
How do you sort in ascending order in arraylist?
What is difference between linear and non linear data structure?