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

Is treemap synchronized?

532


Define linear data structures?

578


Define general trees?

556


What is a b+ tree? Explain its uses.

527


How will you represent a linked list in a graphical view?

646






Is learning data structures necessary?

467


What are the disadvantages of sequential storage?

735


What do you mean by breadth first search (bfs)?

616


Explain how is linked list implemented?

529


What is meant by binary tree traversal?

566


How do you sort an arraylist?

491


What is difference between arraylist and list?

469


What does the dummy header in linked list contain?

696


What is the difference between hashset and hashmap?

538


When is a binary search algorithm best applied?

664