ExamVeda
Login
Home
51
What is the priority of a null node?
Discuss
Answer & Solution
Answer: Option D
No explanation is given for this question. Let's Discuss on Board
52
Why to prefer red-black trees over AVL trees?
Discuss
Answer & Solution
Answer: Option B
No explanation is given for this question. Let's Discuss on Board
53
A self - balancing binary search tree can be used to implement . . . . . . . .
Discuss
Answer & Solution
Answer: Option A
No explanation is given for this question. Let's Discuss on Board
54
What output does the below pseudo code produces?
Tree_node function(Tree_node x)
{
    Tree_node y = x.left;
    x.left = y.right;
    y.right = x;
    return y;
}
Discuss
Answer & Solution
Answer: Option A
No explanation is given for this question. Let's Discuss on Board
55
What is a Cartesian tree?
Discuss
Answer & Solution
Answer: Option C
No explanation is given for this question. Let's Discuss on Board
56
To obtain a prefix expression, which of the tree traversals is used?
Discuss
Answer & Solution
Answer: Option B
No explanation is given for this question. Let's Discuss on Board
57
What is the special property of red-black trees and what root should always be?
Discuss
Answer & Solution
Answer: Option A
No explanation is given for this question. Let's Discuss on Board
58
Find the postorder traversal of the binary tree shown below.
Binary Search Trees(B Tree) mcq question image
Discuss
Answer & Solution
Answer: Option C
No explanation is given for this question. Let's Discuss on Board
59
In a full binary tree if number of internal nodes is I, then number of leaves L are?
Discuss
Answer & Solution
Answer: Option B
No explanation is given for this question. Let's Discuss on Board
60
Several other operations like union set difference and intersection can be done in treaps.
Discuss
Answer & Solution
Answer: Option A
No explanation is given for this question. Let's Discuss on Board