Topic: Queue Problem / Level: beginner

Problem: Write a program to check if a queue is balanced in terms of enqueue and dequeue operations.

Run the code to see the output here...