Topic: Queue Problem / Level: intermediate

Problem: Write a program to find the maximum element in a queue after a series of operations.

Run the code to see the output here...