Изменения
→remove
'''return'''
x = merge(t.aux.min, t.children[t.aux.min].min)
'''if''' t.max == x
'''if''' empty(t.aux)
t.max = t.min
'''return'''
x = merge(t.aux.max, t.children[t.aux.max].max)
t.max = x