We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Deque (or double-ended queue) is a generalized queue where elements can be added to or removed from either the front (head) or back (tail).
Sample:
var deque = new Deque<int>(); // Adding and removing deque.AddLast(1); deque.AddFirst(2); int val = deque.RemoveLast(); int val2 = deque.RemoveFirst();