Изменения
→Построение
Псевдокод:
<code>
'''void''' build(x1, x2, ..., xP, x1Left, x1Right, x2Left, x2Right, ..., xPLeft, xPRight, leftBorder, rightBorder, node)
'''if''' leftBorder != rightBorder
med = (leftBorder + rightBorder) / 2