ADS
Algorithms and Data Structures
Loading...
Searching...
No Matches
Queues

The QUEUE and the deque. More...

Topics

 Theory of queues
 ArrayQueue.h
 The QUEUE of the book realized with a circular vector of \( m \) places, the place 0 following the place \( m - 1 \).
 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.
 LinkedQueue.h
 A QUEUE realized as a singly linked list with a pointer to the first cell, the front, and one to the last cell, the back (exercise 4.10 of the book).
 MinDeque.h
 The double ended queue with the minimum of exercise 3.16 of Morin's book, beyond the book.
 MinQueue.h
 The QUEUE with the minimum of exercise 3.15 of Morin's book, beyond the book.
 QueueAlgorithms.h
 Algorithms that use a QUEUE only through its operations, beyond the book.
 RandomQueue.h
 The random queue of exercise 2.2 of Morin's book, beyond the book.
 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.
 RealTimeMinQueue.h
 The QUEUE with the minimum of exercise 3.15 of Morin's book in \( O( 1 ) \) worst-case time per operation, beyond the book.
 RingDeque.h
 A double ended queue on a circular vector that grows, beyond the book.
 SlidingAggregate.h
 The aggregate of a sliding window, beyond the book.
 UniqueQueue.h
 A QUEUE with no duplicates, beyond the book, with one of two policies for an item that is already in the queue.

Detailed description

The QUEUE and the deque.

The definitions, the invariants and the costs of the area are in Theory of queues.