|
ADS
Algorithms and Data Structures
|
The double ended queue with the minimum of exercise 3.16 of Morin's book in \( O( 1 ) \) worst-case time per operation, beyond the book. More...
Files | |
| file | ADS/queue/RealTimeMinDeque.h |
| The double ended queue with the minimum of exercise 3.16 of Morin's book in \( O( 1 ) \) worst-case time per operation, beyond the book [see MinDeque.h for the amortized one]: push_front(), push_back(), pop_front(), pop_back(), front(), back(), size() and min(), by the global rebuilding of Overmars applied to the two stacks of MinDeque, as Gajewska and Tarjan do for the deques with heap order. | |
Classes | |
| class | ADS::RealTimeMinDeque< T, C > |
| a double ended queue with its least item, every operation in \( O( 1 ) \) worst-case time More... | |
The double ended queue with the minimum of exercise 3.16 of Morin's book in \( O( 1 ) \) worst-case time per operation, beyond the book.
The definitions, the invariants and the costs of the area are in Theory of queues.