- Computer Science Engineering (CSE)
- Data Structures (DS)
- Non Linear Data Structures - Trees
- If binary trees are represented in array...

Q. |
## If binary trees are represented in arrays, what formula can be used to locate a left child, if the node has an index i? |

A. | 2i+1 |

B. | 2i+2 |

C. | 2i |

D. | 4i |

Answer» A. 2i+1 |

View all MCQs in:
Data Structures (DS)

- An AVL tree is a self – balancing binary search tree, in which the heights of the two child sub trees of any node differ by
- trees are B-trees of order 4. They are an isometric of trees.
- If we implement heap as min-heap, deleting root node (value 1)from the heap. What would be the value of root node after second iteration if leaf node (value 100) is chosen to replace the root at start.
- Consider the following data. The pre order traversal of a binary tree is A, B, E, C, D. The in order traversal of the same binary tree is B, E, A, D, C. The level order sequence for the binary tree is
- When converting binary tree into extended binary tree, all the original nodes in binary tree are___________.
- Why to prefer red-black trees over AVL trees?
- What is the possible number of binary trees that can be created with 3 nodes, giving the sequence N, M, L when traversed in post-order.
- In a directed tree any node which has out degree 0 is called a terminal node or__________.
- Which of the following is incorrect with respect to binary trees?
- What is the maximum number of children that a binary tree node can have?

Login to Continue

It will take less than 2 minutes

Report MCQ