Vidyalelo
Data Structure · Q44

Binary Search Trees(B Tree)

Programming · Data Structure · question 44

Q44

How do you handle duplicate values in a Binary Search Tree (BST) if duplicates are allowed?

A.
Insert duplicates into the right subtree or use a counter at each node.
Answer
B.
Insert duplicates into the left subtree.
C.
Store duplicates in a separate data structure.
D.
Ignore duplicate values.

Answer: Option A

Solution

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