Topic: Queue Problem / Level: intermediate

Problem: Write a program to implement a queue that allows retrieving the maximum element efficiently.

Run the code to see the output here...