In the given binary tree, using array you can store the node 4 at which location?
1 2 3 - - 4 - - 5
Answer / phool chand
Root LC1 RC1 LC2 RC2 LC3 RC3 LC4 RC4
where LCn means Left Child of node n and RCn means Right Child of node n
| Is This Answer Correct ? | 0 Yes | 0 No |
Does hashmap allow duplicate keys?
What are the parts of a linked list?
Define quadratic probing?
What is data structure and why we need them?
How many types of data structures are used?
What is a treemap used for?
Can hashmap be sorted?
Program to remove duplicate elements in an array.
What is heap and its types?
Differentiate between queue and deque.
Is quicksort a stable sorting algorithm?
Why is null not allowed in concurrenthashmap?