Topic: Queue Problem / Level: beginner

Problem: Write a program to find the first duplicate number in a queue.

Run the code to see the output here...