How many different trees are possible with 10 nodes ?
Answer / phool chand
1014
For example, consider a tree with 3 nodes(n=3), it will have the maximum combination of 5 different (ie, 23 - 3 = 5) trees.
In general: If there are n nodes, there exist 2n-n different trees.
| Is This Answer Correct ? | 0 Yes | 0 No |
What is a b+ tree? Explain its uses.
What is different between array and list?
Why sorting is used?
In what order the elements of a hashset are retrieved?
Mention one advantage and disadvantage of using quadratic probing?
Who invented data structure?
What is the order of selection sort?
How can we delete the first node from the singly linked list?
State the demerit of linear representation of binary trees?
Why hashmap is faster than hashtable?
What is reduction to sorting method?
Why quicksort is faster than merge sort?