Topic: Queue Problem / Level: advanced

Problem: Implement a queue that allows retrieval of both maximum and minimum elements in O(1) time.

Run the code to see the output here...