What is the maximum total number of nodes in a tree that has
N levels? Note that the root is level (zero)
Answer Posted / gopala krishnan
2^N -1
| Is This Answer Correct ? | 15 Yes | 10 No |
Post New Answer View All Answers
Is linkedlist thread safe?
Why is merge sort faster?
What is the difference between static and dynamic data?
Define a right-skewed binary tree?
What is difference between list and array list?
Explain circular linked list?
Can sets contain duplicates?
Can we change the size of an array at run time?
What is selection sort with example?
an array of size N in which every number is between 1 and N, determine if there are any duplicates in it. You are allowed to destroy the array if you like. [ I ended up giving about 4 or 5 different solutions for this, each supposedly better than the others ].
Is arraylist synchronized?
Can we declare array size as a negative number?
Define path in a graph?
How does arraylist store data?
What do you mean by the term “percolate down”?