215
правок
Изменения
→push
=== push ===
'''function''' push(x): element = tail tail = new list(x, NULL) '''if ''' size == 0 head = tail '''else ''' element.next = tail size++
=== pop ===