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

What is stable sorting method?

1011


Define splay tree?

964


When is a binary search algorithm best applied?

1116


Treemap orders the elements on which field?

907


Which data structures are used in bfs and dfs algorithm?

1038


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

940


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

978


You are given a singly linked list. How would you find out if it contains a loop or not without using temporary space?

1103


How do you get placements?

847


Write a program to reverse a single linked list.

937


What are the advantages of binary search over linear search?

1033


What is subtree?

901


What is the function of stack?

829


Devise a program to sort an array using bubble sort.

1034


What are the types of data structures?

1129