Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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


Please Help Members By Posting Answers For Below Questions

Describe full binary tree and complete binary tree.

889


What is linked hash set?

841


What is frozenset?

907


Does mentioning the array name gives the base address in all the contexts?

1388


How to show internal storage representation of data structure in RDBM?

982


Why is hashmap faster?

930


How are the elements of a 2d array are stored in the memory?

1027


Is pointer a variable in data structure?

1288


Is arraylist better than array?

950


What are three common types of traversals?

1011


What is entryset method in map?

907


What is a list in data structure?

955


How would you sort words in a large file?

904


What do you mean by data and data structure?

974


What is stack in data structure with the example?

850