Topic: Queue Problem / Level: advanced

Problem: Implement a function that simulates a traffic management system using a queue.

Run the code to see the output here...