Topic: Queue Problem / Level: beginner

Problem: Write a program to implement a double-ended queue (deque).

Run the code to see the output here...