how to find the number of possible tree in the given tree.
Answer Posted / mandeep
the formula is (2^n)-n.
where n=no.of nodes
Is This Answer Correct ? | 67 Yes | 15 No |
Post New Answer View All Answers
Will hashmap allow null keys?
what is the difference between singly and doubly linked lists?
What is meant by binary tree traversal?
Is arraylist heterogeneous?
How does hashset work internally in java?
What is modcount in hashmap?
What is the top of a stack?
What are the disadvantages of linked list over array?
Give a real time example of stack
What is data structure? Explain.
If we try to add duplicate key to the hashmap, what will happen?
Which is faster binary or linear search?
Differentiate between list and map.
What is a treemap used for?
Why it is said that searching a node in a binary search tree is efficient than that of a simple binary tree?