double-ended queue
RU: двухконечная очередь
A queue where insertion and deletion occur at both ends (front and rear). Same as a deque. Requires careful bookkeeping with two pointers or a doubly linked list.
RU: двухконечная очередь
A queue where insertion and deletion occur at both ends (front and rear). Same as a deque. Requires careful bookkeeping with two pointers or a doubly linked list.