Issue with deleting a specific node from a BST properly

I realized the way I was going about this was all wrong. Thanks for the help.
Last edited on
In order to remove a node you need also the parent node where the actual node has to be removed from. Otherwise you delete the node in question and this now invalid node remains in the tree.
Topic archived. No new replies allowed.