Binary Tree Deletion method removes extra values #1
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
With the current setup, the removal of 1 also takes away the node 3
Line 96 is the culprit - Way too tired to fix now
Needs to look at parent and take into account whether value is greater or not