Vidyalelo
Data Structure · all questions

Binary Search Trees(B Tree)
practice.

Practice every MCQ with options. Use Show answers when you want the correct option and solution.

275

Questions

11/14

Page

Pick an option on a question to see the right answer and solution.

Of the following rules that are followed by an AA-tree, which of the following is incorrect?
1. Only right children can be red
2. Procedures are coded recursively
3. Instead of storing colors, the level of a node is stored
4. There should not be any left children

Select an option to see the answer and solution.

Which process forms the randomized binary search tree?

Select an option to see the answer and solution.

Who is the inventor of AA-Tree?

Select an option to see the answer and solution.

Which data structure is used to maintain a dynamic forest using a link or cut operation?

Select an option to see the answer and solution.

How many common operations are performed in a binary tree?

Select an option to see the answer and solution.

What are the disadvantages of normal binary tree traversals?

Select an option to see the answer and solution.

What is the reason behind the simplicity of a treap?

Select an option to see the answer and solution.

Is Top tree used for maintaining Dynamic set of trees called forest.

Select an option to see the answer and solution.

When we have red-black trees and AVL trees that can perform most of operations in logarithmic times, then what is the need for splay trees?

Select an option to see the answer and solution.

What is the parent for a node 'w' of a complete binary tree in an array representation when w is not 0?

Select an option to see the answer and solution.

The average depth of a binary tree is given as?

Select an option to see the answer and solution.

What is the time complexity for deleting the string to form a new string in the rope data structure?

Select an option to see the answer and solution.

Associative arrays can be implemented using . . . . . . . .

Select an option to see the answer and solution.

What are the operations that can be performed on weight balanced tree?

Select an option to see the answer and solution.

Which of the following is false about a binary search tree?

Select an option to see the answer and solution.

What is the range of β in finding the length of the longest path in a randomized binary search tree?

Select an option to see the answer and solution.

Consider a weight balanced tree such that, the number of nodes in the left sub tree is at least half and at most twice the number of nodes in the right sub tree. The maximum possible height (number of nodes on the path from the root to the farthest leaf) of such a tree on k nodes can be described as

Select an option to see the answer and solution.

What is the time complexity for the initialization of top tree?

Select an option to see the answer and solution.

How many edges does a leaf cluster contain?

Select an option to see the answer and solution.

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

Select an option to see the answer and solution.