In the given binary tree, using array you can store the node 4 at which location?

1 2 3 - - 4 - - 5



In the given binary tree, using array you can store the node 4 at which location? 1 2 3 - - 4 ..

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

Post New Answer

More Data Structures Interview Questions

What is heap tree?

1 Answers  


Differentiate linear from non linear data structure?

1 Answers  


What is meant by linked list?

1 Answers  


What is the use of sorting the data?

1 Answers  


What happens if we try to insert duplicate key in hashmap?

1 Answers  


Define non linear data structure.

1 Answers  


What is the prerequisite for binary searching?

1 Answers   Expedia,


Explain Linked List

1 Answers   Tech Mahindra,


What are the types of map?

1 Answers  


A lot of data structures related programs related to only trees and graphs, like the diameter of a tree, removing the loops in a graph etc.

1 Answers   Motorola,


What are the types of bulleted list?

1 Answers  


Which type of memory allocation is referred for linked list?

1 Answers  


Categories