Topic: Queue Problem / Level: beginner

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

Run the code to see the output here...