When we delete root node, tree will be
but this tree is not balance, so we will find inorder predecessor or inorder successor and replace it with root node now. In this problem we will use inorder predecessor-Root node will be 16.
So, option (D) is correct.
but this tree is not balance, so we will find inorder predecessor or inorder successor and replace it with root node now. In this problem we will use inorder predecessor-Root node will be 16.
So, option (D) is correct.


All Stack operations are performed smoothly. So, option (B) is correct.