Removing an element
- Politechnika Śląska
- Fundamentals of Computer Programming
Removing an element The element x is to be removed If x is a leaf, simply remove x If x has only one subtree, replace x with the subtree If x has both subtrees, find the successor of x and move it to the place of x ...