Topic: Queue Problem / Level: advanced

Problem: Implement a queue that allows retrieval of both maximum and minimum elements efficiently.

Run the code to see the output here...