Dequeue is a very useful Data Structure. Dequeue is also called a Double-ended queue for which elements can be added to or removed from either the front or back. In this program dequeue is implemented by using Linked List. The following types of dequeues are implemented in the program.
1. Input Restricted Dequeue.2. Output Restricted Dequeue.
Figure Below Shows a Sample Output