Topic: Queue Problem / Level: advanced

Problem: Implement a function that uses a queue to track the history of operations.

Run the code to see the output here...