1. If you use an array to store the underlying elements in a queue, what private instance variables are needed for the Queue class?
2. What is a ring buffer? How does the ring-buffer concept apply to queues?
3. How can you tell whether an array-based queue is empty? How can you tell whether it has reached its capacity?
Already registered? Login
Not Account? Sign up
Enter your email address to reset your password
Back to Login? Click here