Topic: Queue Problem / Level: beginner

Problem: Write a program to find the total number of distinct elements in a queue.

Run the code to see the output here...