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
What is sorted map?
How does max heap work?
For the following COBOL code, draw the Binary tree? 01 STUDENT_REC. 02 NAME. 03 FIRST_NAME PIC X(10). 03 LAST_NAME PIC X(10). 02 YEAR_OF_STUDY. 03 FIRST_SEM PIC XX. 03 SECOND_SEM PIC XX.
State the difference between arrays and linked lists?
What is treemap chart?
What is the use of bubble sort?
Which language is best to learn data structures?
How do I push an element into a stack?
How many parts are there in a declaration statement?
What is homogeneous array?
What are scalar values?
Why sorting is done?
What are hashmaps good for?
Write a code for dynamic allocation of array.
Which sorting is stable?