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
Which is faster hashmap or hashtable?
Is heap sort stable?
What are examples of data structures?
What are the advantages of data structure?
Describe the complexity of Quick Sort
You are given a singly linked list. How would you find out if it contains a loop or not without using temporary space?
Define 2-3 tree?
Define hash function?
You want to insert a new item in a binary search tree. How would you do it?
What member function places a new node at the end of the linked list?
What is collision in data structure?
Is tuple immutable?
What is inplace sorting?
What are AVL trees?
What is heap with example?