data-structures-algorithms-python
data-structures-algorithms-python copied to clipboard
Deletion from tree not happening when there is only one node.
Deletion not happening when there is only one node. The code should go like this: tree = tree.delete(17)
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!?