What is the maximum total number of nodes in a tree that has
N levels? Note that the root is level (zero)
Answer Posted / asharani k p
(2 pow n)-1,if root level is one and (2 pow n+1)-1, if root
level is zero.
Is This Answer Correct ? | 26 Yes | 11 No |
Post New Answer View All Answers
How can you implement a stack?
“int a[] = new int[3]{1, 2, 3}” – This a legal way of defining the arrays?
Define double linked list?
Discuss how to implement queue using stack.
What is a graph?
Mention the advantages of representing stacks using linked lists than arrays?
How is heap sort implemented?
Why do we use binary search?
Define a stack?
An array having 100 elements have numbers from 1 to 99 randomly out of which any number is repeated. Find the repeated number in minimum time and space complexity.
List the basic operations carried out in a linked list?
What is a cycle or a circuit?
How do you empty an arraylist?
Why is sorting necessary?
How much time does it take to learn data structures?