Remove (Tracing)
Consider this BST
Exercise Starting with the above binary search tree, draw it after deleting each of these in turn: $5$, $2$, $13$.
Solution
remove(5)
remove(2)
remove(13)
Consider this BST
Exercise Starting with the above binary search tree, draw it after deleting each of these in turn: $5$, $2$, $13$.
remove(5)
remove(2)
remove(13)