deque.py: A double-ended queue (deque) with a circular array.
leaky_stack.py: A stack with a maximum size, and after the size limit is exceeded, items from the bottom of the stack are dropped.
deque.py: A double-ended queue (deque) with a circular array.
leaky_stack.py: A stack with a maximum size, and after the size limit is exceeded, items from the bottom of the stack are dropped.