- Computer Science Engineering (CSE)
- Data Structures (DS)
- Non Linear Data Structures - Trees
- What maximum difference in heights betwe...

Q. |
## What maximum difference in heights between the leafs of a AVL tree is possible? |

A. | log(n) where n is the number of nodes |

B. | n where n is the number of nodes |

C. | 0 or 1 |

D. | atmost 1 |

Answer» A. log(n) where n is the number of nodes |

View all MCQs in:
Data Structures (DS)

- Given an empty AVL tree, how would you construct AVL tree when a set of numbers are given without performing any rotations?
- 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
- What is the maximum height of an AVL tree with p nodes?
- What is an AVL tree?
- 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___________.
- In a directed tree if the ordering of the nodes at each level is prescribed then such a tree is called_______ tree.
- Why to prefer red-black trees over AVL trees?
- A binary search tree contains values 7, 8, 13, 26, 35, 40, 70, 75. Which one of the following is a valid post-order sequence of the tree provided the pre-order sequence as 35, 13, 7, 8, 26, 70, 40 and 75?
- Which of the following pair’s traversals on a binary tree can build the tree uniquely?

Login to Continue

It will take less than 2 minutes

Report MCQ