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
What do you mean by selection sort?
Can we use any class as map key?
What is heap and its types?
What is data and information explain with example?
What is doubly linked list in data structure?
Which is faster arraylist or hashmap?
Differentiate between queue and deque.
Does list maintain insertion order?
What are the advantages of linked list over array (static data structure)?
Reverse a linked list from the middle.
Is bubble sort adaptive?
Write a data structure for a queue.
What type of variable is age?
What are the differences between b tree and b+ tree?
What is scalar data type?