Draw the queue in Figure 4.3 as it will appear after the insertion of customer Harris and the removal of one customer from the queue. Which customer is removed? How many customers are left?
Assume that myQueue is an instance of a class that implements Queue and myQueue is an empty queue. Explain the effect of each of the following operations.
Already registered? Login
Not Account? Sign up
Enter your email address to reset your password
Back to Login? Click here