Topic: Queue Problem / Level: advanced

Problem: Implement a queue that allows retrieving the minimum and maximum elements in O(1) time.

Run the code to see the output here...