[1] some changes .......

This commit is contained in:
KislyuninED 2026-05-14 01:03:25 +00:00
parent 20cf87fb40
commit b7a6bcc77f

View File

@ -160,7 +160,7 @@ def bst_delete(root, name):
else:
parent['r'] = child
else:
# два ребёнка ищем inorder-преемника
# два ребёнка - ищем inorder-преемника
succ_parent = cur
succ = cur['r']
while succ['l']: