week8a

P1 Write a program to implementDouble Ended Queue Using Arrays

a)Insert elements into Queue

b)Display the elements of the Queue

 

P2 Write a Program to implement a Double Ended Queue as a linked list.

a)Add elementsinto the queue

b) Delete the elements from the queue

P3 Write a Program to implement a Double Ended Queueas a linked list.

a)Insert only even numbers at the end of queue

b) Display whole elements of the queue

P4 Write a program to implement Double Ended Queue

a)Insert elements into the queue

b)Delete the elements from the queue

c) Display the elements of the queue

 

P5 Write a Program to implement a Double Ended Queue as a linked list.

a)Add a new element at the end of queue

b)Remove an element from front of queue

c) Display whole of the queue