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

Name two algorithms two find minimum spanning tree?

706


What is data structures in computer science?

666


What actions are performed when a function is called?

728


What are the types of algorithms?

728


Define balancing condition for AVL Tree.

731


What is array and its types with example?

672


Write is a binary search tree? Write an algorithm and tell complexity?

710


What is the time complexity of arraylist and linked list?

665


How do you declare An array of three pointers to chars

652


Mention some drawbacks of the linked list.

764


How hashmap increases its size?

763


Explain the term run-time stack?

777


What is adt in data structure?

675


Define static data structures?

709


How is the front of the queue calculated in data structure?

593