Topic: Queue Problem / Level: beginner

Problem: Write a program to implement a queue that supports enqueue and dequeue in O(1).

Run the code to see the output here...