|
ADS
Algorithms and Data Structures
|
The DEQUEUE (double ended queue) of exercise 4.9, a sequence changed at both ends, which is a STACK when used at one end and a QUEUE when used at both. More...
Files | |
| file | ADS/queue/Dequeue.h |
| The DEQUEUE (double ended queue) of exercise 4.9, a sequence changed at both ends, which is a STACK when used at one end and a QUEUE when used at both [see ADT.h]: realized with a LIST with pointers, every operation takes \( O( 1 ) \) time. | |
Classes | |
| class | ADS::Dequeue< T > |
| a DEQUEUE on a bidirectional list with pointers More... | |
The DEQUEUE (double ended queue) of exercise 4.9, a sequence changed at both ends, which is a STACK when used at one end and a QUEUE when used at both.
The definitions, the invariants and the costs of the area are in Theory of queues.