In the given binary tree, using array you can store the node 4 at which location?
1 2 3 - - 4 - - 5
Answer Posted / 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 |
Post New Answer View All Answers
Is collection a class or interface?
How treemap orders the elements if the key is a string?
What is the application of queue?
What is difference between tree and binary tree?
Advanced problems related to Data Structures were asked
Is int a data structure?
What is difference between capacity and size of arraylist?
How to get top two numbers from an array?
What is example of data?
What is inserting in data structure?
do records fall under linear or non linear data structures?
What is the difference between a hashmap and hashtable?
Write a program to sum values of given array.
Define the queue data structure.
What is map keyset?