What is the maximum total number of nodes in a tree that has
N levels? Note that the root is level (zero)
Answer Posted / m.eshwar
if the tree is binary tree [i.e two children max]then
2pow(N) is the answer
if it has 3 max children then
3pow(N)
...............................
if it has n max children then
npow(N)
| Is This Answer Correct ? | 4 Yes | 7 No |
Post New Answer View All Answers
What are the different types of data type?
How do you declare An array of three char pointers
Give the example of validating the parenthesis of expression using stack.
What is meant by linked list?
What sort does arrays sort use?
Define balance factor of a node in avl tree?
How can someone display singly linked list from first to last?
What do you mean by free pool?
Which language is best for data structures and algorithms?
How to compare Two Arrays?
Does concurrenthashmap allow null?
Define threaded binary tree.
Does hashmap allow duplicate keys?
What is different between array and list?
What is the default capacity of hashmap?