Vidyalelo
Data Structure · Q6

Binary Search Trees(B Tree)

Programming · Data Structure · question 6

Q6

What happens when you delete a node with two children from a BST?

A.
The node is replaced by its predecessor or successor, and then the predecessor or successor is removed.
Answer
B.
The node is simply removed.
C.
The node's right child replaces it.
D.
The node is moved to the root.

Answer: Option A

Solution

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