Question: A double-ended queue is a generalization of the queue in which elements can be added or deleted from both the front and rear ends. Write

A double-ended queue is a generalization of the queue in which elements can be added or deleted from both the front and rear ends. Write java classes to implement the double-ended queue ADT with at least the following operations: constructor, IsEmpty, IsFull, AddFront, AddRear, DeleteFront, DeleteRear, CheckFront, CheckRear, and Reverse. Write the main program to test it. (7.5 marks)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
