Topic: Queue Problem / Level: advanced

Problem: Write a program to implement a queue that supports retrieval of the median in O(1) time.

Run the code to see the output here...