Topic: Queue Problem / Level: beginner

Problem: Write a program to track the last accessed elements in a queue.

Run the code to see the output here...