Topic: Queue Problem / Level: beginner

Problem: Write a program to check if a queue can represent a valid operation sequence.

Run the code to see the output here...