Vidyalelo
Data Structure · Q111

Binary Search Trees(B Tree)

Programming · Data Structure · question 111

Q111

What is the condition for priority of a node in a treap?

A.
a node's priority should be greater than its parent
B.
a node's priority should be at least as large as its parent
Answer
C.
the priority is randomly assigned and can have any value
D.
a node's priority is always given in decreasing order

Answer: Option B

Solution

Answer: Option B
No explanation is given for this question Let's Discuss on Board