ExamVeda
Login
Home
11
What is the condition for priority of a node in a treap?
Discuss
Answer & Solution
Answer: Option B
No explanation is given for this question. Let's Discuss on Board
12
What is the longest length path for a node x in random binary search tree for the insertion process?
Discuss
Answer & Solution
Answer: Option D
No explanation is given for this question. Let's Discuss on Board
13
Which of the following options is an application of splay trees?
Discuss
Answer & Solution
Answer: Option A
No explanation is given for this question. Let's Discuss on Board
14
What is the condition for a tree to be weight balanced. where a is factor and n is a node?
Discuss
Answer & Solution
Answer: Option A
No explanation is given for this question. Let's Discuss on Board
15
Given an empty AVL tree, how would you construct AVL tree when a set of numbers are given without performing any rotations?
Discuss
Answer & Solution
Answer: Option B
No explanation is given for this question. Let's Discuss on Board
16
A binary tree is a rooted tree but not an ordered tree.
Discuss
Answer & Solution
Answer: Option B
No explanation is given for this question. Let's Discuss on Board
17
Select the code snippet which performs post-order traversal.
Discuss
Answer & Solution
Answer: Option B
No explanation is given for this question. Let's Discuss on Board
18
How many children does a binary tree have?
Discuss
Answer & Solution
Answer: Option C
No explanation is given for this question. Let's Discuss on Board
19
Cartesian trees solve range minimum query problem in constant time.
Discuss
Answer & Solution
Answer: Option A
No explanation is given for this question. Let's Discuss on Board
20
What does the following piece of code do?
public void func(Tree root)
{
	func(root.left());
	func(root.right());
	System.out.println(root.data());
}
Discuss
Answer & Solution
Answer: Option C
No explanation is given for this question. Let's Discuss on Board