Topic: Queue Problem / Level: intermediate

Problem: Write a program to implement a queue that retrieves the maximum element in O(1).

Run the code to see the output here...