Topic: Queue Problem / Level: advanced

Problem: Write a program to track the last n elements added to a queue.

Run the code to see the output here...