Chapter 3: Problem 3
Suppose three items, R, S, and T, are placed in a queue in that order. Then one item is removed from the queue before a fourth item, \(\mathrm{X}\), is placed in the queue. Then one item is removed from the queue, the items \(\mathrm{Y}\) and \(\mathrm{Z}\) are placed in the queue, and then the queue is emptied by removing one item at a time. List all the items in the order in which they were removed.
Short Answer
Step by step solution
Key Concepts
These are the key concepts you need to understand to accurately answer the question.