96
правок
Изменения
м
Нет описания правки
head = '''FlattenTree'''(scapegoat, null)
'''BuildHeightBalancedTree'''(size, head)
'''while''' head.parent <tex>\ne nullvarnothing </tex> do
head = head.parent
'''return''' head