Дек (на двусвязном списке) Deque (on doubly linked list)
g
node0
Deque
front
undefined
back
undefined
size
undefined
Операции Deque
Init
→
Front
→
Back
→
Size
→
val:
PushFront
→
PopFront
→
val:
PushBack
→
PopBack
→