Abstract data type for which elements can be added to or removed from either the front or back
In computer science, a double-ended queue is an abstract data type that generalizes a queue, for which elements can be added to or removed from either the front or back. It is also often called a head-tail linked list, though properly this refers to a specific data structure implementation of a deque (see below). Wikipedia