In case 3,after replacing root data with “replace data” cant we now just delete replace instead of traversing root->right.
Plz answer to this
hello @garganshul151
no ,it will work only when replace is leaf node ,for all other case it will not.
consider this
we cannot delete orange node direclty.
if the node to be deleted is orange node then what will happen to the node below it,black one,will it also be deleted? or attached again to tree
it will attach again to the tree.
pls refer the deletion video again. all such cases are covered in detail