215
правок
Изменения
Очередь
,Нет описания правки
=== push ===
'''function''' push(x: T):
elements[tail] = x
tail = (tail + 1) % elements.length
=== push ===
'''function''' push(x: T):
element = tail
tail = list(x, NULL)
=== push ===
'''function''' push(x: T):
pushLeft(x)
=== pop ===