deque
RU: дек
Double-ended queue: a data structure where insertion and deletion occur at both ends (front and rear), not just one. Often implemented as a doubly linked list or with two circular buffers, supporting O(1) operations at both ends.
RU: дек
Double-ended queue: a data structure where insertion and deletion occur at both ends (front and rear), not just one. Often implemented as a doubly linked list or with two circular buffers, supporting O(1) operations at both ends.