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
What are splay trees?
What is dynamic array how it is created?
What are the basic data structures?
Is arraylist a list?
Which process places data at the back of the queue?
What is the difference between arrays sort and collections sort?
How is bubble sort done?
What is mean by abstract data type?
Does arraylist have index?
Define a linear and non linear data structure.
How long does it take to master data structures and algorithms?
How does sort function work?
What are the disadvantages of linked list?
What are trees in data structures?
Is quicksort a stable algorithm?