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 |
Minimum number of queues needed to implement the priority queue?
What is the difference between collection and collections?
Can a tree be empty?
What is the use of sorting?
Which sorting algorithm is used in collections sort?
Can we increase the size of statically allocated array?
What is the difference between hashset and hashtable?
What is selection sort with example?
How do I sort a hashmap key?
Which sorting is best in time complexity?
What are different techniques for making hash function?
Parenthesis are never needed in prefix or postfix expressions. Why?