Data Structures, Algorithms, & Applications in C++
Chapter 9, Exercise 1
The queue configurations are (shown front to rear, left to right):
[]
[X]
[XY]
[X]
[XD]
[XDA]
[DA]
[DAT]
[DATA]