Encyclopedia > Deque

  Article Content

Deque

A deque, or double-ended queue is a data structure which unites the properties of a queue and a stack. Like the stack, items can be pushed into the deque; once inserted into the deque the last item pushed in may be extracted from one side (popped, as in a stack), and the first item pushed in may be pulled out of the other side (as in a queue).

See also



All Wikipedia text is available under the terms of the GNU Free Documentation License

 
  Search Encyclopedia

Search over one million articles, find something about almost anything!
 
 
  
  Featured Article
North Haven, New York

... and 18.1% have someone living alone who is 65 years of age or older. The average household size is 2.20 and the average family size is 2.77. In the village the ...

 
 
 
This page was created in 23.8 ms