Topic: Queue Problem / Level: intermediate

Problem: Write a program to check if two queues can represent the same sequence of operations.

Run the code to see the output here...