Topic: Queue Problem / Level: beginner

Problem: Write a program to find the maximum element in a queue using O(n) time complexity.

Run the code to see the output here...