![]() |
CiteULike | ![]() |
hgfernan's CiteULike | ![]() |
![]() |
|
![]() |
Register | ![]() |
Log in | ![]() |
The header <deque>: standard C/C++by: P. J. Plauger
|
Reviews
[Write a review of this article]
Find related articles from these CiteULike users
Find related articles with these CiteULike tags
Posting History
AbstractA deque is thus as good as a list for implementing a first-in first-out (FIFO) queue or a last-in first-out (LIFO) queue, also known as a stack. It is not as good as a list for implementing a priority queue, because it takes longer on average to insert a new item at an arbitrary place — linear time versus constant time. If you need random access to the elements of a controlled sequence, however, a deque beats a list any day.
BibTeX record
RIS record