188
правок
Изменения
м
Нет описания правки
root.left = remove(root.left, z)
'''else if''' z > root.key
root.right = removedelete(root.right, z)
'''else if''' root.left != ''null'' '''and''' root.right != ''null''
root.key = minimum(root.right).key
root.right = removedelete(root, root.right)
'''else'''
'''if''' root.left != ''null''
root = troot.left
'''else'''
root = troot.right
'''return''' root