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

Answer Posted / bipin from utkal university mc

if tree is binary tree then maximum no.of node is 2^(N+1)-1

Is This Answer Correct ?    5 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How do you do a selection sort?

493


Which is the best book for data structures and algorithms?

464


How to get the index of an array element?

537


What are the types of algorithms?

543


How does a treemap work?

559






Can we create a null as a key for a map collection?

509


Is data structure a data type?

499


What is an externalizable interface?

515


How many types of lists are there?

515


What is the default size of arraylist?

479


Define tree edge?

507


How to copy an array into another array?

493


How does arraylist store data?

463


What is a stable sort?

509


How to get a list of tables, views and columns in firebird database?

468