You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
BST.delete() doesn't work properly for all test cases - it can't delete the root node. This is because the function is recursive and each node looks for the key in its children, and the root doesn't have a parent.
At this point, there is an else case which prints a warning message and stops the function. This should be fixed.
The text was updated successfully, but these errors were encountered:
BST.delete() doesn't work properly for all test cases - it can't delete the root node. This is because the function is recursive and each node looks for the key in its children, and the root doesn't have a parent.
At this point, there is an else case which prints a warning message and stops the function. This should be fixed.
The text was updated successfully, but these errors were encountered: