AlgoExpert Flashcards
1
Q
What is the approach to delete a node which has both left and right nodes?
A
Identify the smallest value in the right subtree. Then replace the value of node to be deleted with this value. Then delete this node (Identified node).
2
Q
A