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
Did you find the solution?
i don't know the reason but i think this is something related to the fact we are returning None in the delete method. i don't understand how returning None is deleting the node in the first place!?
Deletion not happening when there is only one node. The code should go like this:
tree = tree.delete(17)
The text was updated successfully, but these errors were encountered: