Consider the following binary search tree:        50      /…

Questions

Cоnsider the fоllоwing binаry seаrch tree:        50      /       30   70    /    20  40 After executing tree.delete(30) using the provided BST implementаtion, which element replaces 30?