cplusplus
.com
TUTORIALS
REFERENCE
ARTICLES
FORUM
C++
Tutorials
Reference
Articles
Forum
Forum
Beginners
Windows Programming
UNIX/Linux Programming
General C++ Programming
Lounge
Jobs
Forum
Beginners
Issue with deleting a specific node from
Issue with deleting a specific node from a BST properly
Nov 9, 2017 at 6:00am UTC
TeebqneX
(12)
I realized the way I was going about this was all wrong. Thanks for the help.
Last edited on
Nov 9, 2017 at 5:15pm UTC
Nov 9, 2017 at 9:33am UTC
coder777
(8443)
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.