Topic: Queue Problem / Level: beginner

Problem: Write a program to find the first repeated element after multiple operations in a queue.

Run the code to see the output here...