Update hash_set_bst.py

This commit is contained in:
marina 2023-08-07 16:47:56 -07:00 committed by GitHub
parent 240d008647
commit 2861501448
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -82,7 +82,7 @@ class BSTree():
root = root.right
return root.value
def delete(self, root, key) -> TreeNode:
def delete(self, root, key) -> Node:
if not root:
return None