Topic: Queue Problem / Level: advanced

Problem: Implement a function that tracks the maximum and minimum values in a queue efficiently.

Run the code to see the output here...