Vidyalelo
Data Structure · Q24

Binary Search Trees(B Tree)

Programming · Data Structure · question 24

Q24

What property does a Binary Search Tree (BST) ensure for its left and right subtrees?

A.
The left subtree contains nodes with values less than the root, and the right subtree contains nodes with values greater than the root.
Answer
B.
The left subtree contains nodes with values greater than the root, and the right subtree contains nodes with values less than the root.
C.
Both subtrees have equal values.
D.
The left subtree is always empty.

Answer: Option A

Solution

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