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

Answer Posted / asharani k p

(2 pow n)-1,if root level is one and (2 pow n+1)-1, if root
level is zero.

Is This Answer Correct ?    26 Yes 11 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How many types of arrays are there?

512


State the demerit of linear representation of binary trees?

478


Can we store a string and integer together in an array?

458


What is red black tree in data structure?

505


How much time does it take to learn data structures?

503






Write a recursive c function to calculate the height of a binary tree.

489


Does linked list allow duplicates?

507


What do you mean by garbage collection?

516


What is stack algorithm?

463


Which is better stack or queue?

451


What is circular queue in data structure?

450


What are the complexity of binary search?

443


In depth questions regarding the data structures and the Databases used in the Projects developed.

543


What is array sort?

499


Explain the common uses of tree database.

508