What is the maximum total number of nodes in a tree that has
N levels? Note that the root is level (zero)

Answer Posted / deba

2^(N+1)-1

Is This Answer Correct ?    21 Yes 9 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is stack algorithm?

472


What is the difference between array and stack in data structures?

505


State the rules to be followed during infix to postfix conversions?

699


Which is faster arraylist or linked list?

489


Tell me how to find middle element of linked list in one pass?

522






Which sorting algorithm is best for large data?

470


Explain extended binary tree.

513


Can we add heterogeneous elements into treemap?

560


Define balanced trees?

529


What is huffman’s algorithm?

612


State the properties of a binary tree?

573


How does a hashmap work?

503


Can we add or delete an element after assigning an array?

666


Write an algorithm to find middle element in the linked list.

538


what is Linked lists?

608