What is the maximum total number of nodes in a tree that has
N levels? Note that the root is level (zero)
Answer Posted / salmiya thilsath.a
2^(N+1)-1..
if N=0; it is 2-1=1,1 is the max no of node in the tree
if N=1; it is 4-1=3, 3 is the max no of nodes in the tree
if N=2; it is 8-1=7, 7 is the max
and it goes like that...........
| Is This Answer Correct ? | 124 Yes | 8 No |
Post New Answer View All Answers
Describe tree database.
Is null a binary search tree?
Explain the common uses of tree database.
Difference between hashset and treeset?
What is difference between concurrenthashmap and hashtable?
Define articulation point?
List the limitations of linear probing?
What member function places a new node at the end of the linked list?
List the data structures which are used in rdbms.
Which is the parent class of printerstatereasons class?
What is unhashable type list?
What do you mean by external sorting?
Can we define the size of arraylist?
Does arraylist guarantee insertion order?
When would you use a tuple?