Изменения
→Нерекурсивная реализация
successor.right.parent = successor.parent
'''else'''
successor.parent.right = successor.rightleft '''if''' successor.right left != ''null''
successor.right.parent = successor.parent