mirror of
https://github.com/TheAlgorithms/Python.git
synced 2025-04-24 22:53:36 +00:00
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
This commit is contained in:
parent
38ea09c586
commit
bb85f44341
@ -209,6 +209,7 @@ def get_min_value_node(node: MyNode) -> MyNode:
|
|||||||
current_node = current_node.get_left()
|
current_node = current_node.get_left()
|
||||||
return current_node
|
return current_node
|
||||||
|
|
||||||
|
|
||||||
def del_node(root: MyNode | None, data: Any) -> MyNode | None:
|
def del_node(root: MyNode | None, data: Any) -> MyNode | None:
|
||||||
if root is None:
|
if root is None:
|
||||||
print("Nothing to delete")
|
print("Nothing to delete")
|
||||||
|
Loading…
x
Reference in New Issue
Block a user