Topic: Queue Problem / Level: beginner

Problem: Write a program to check if a queue is balanced based on its operations.

Run the code to see the output here...