Question: I already created a doubly linked list class. I need help doing this and adding the doubly linked list class to this. I need this
Step 2 Stack and Queue Using the linked list class you created in Step 1 create stack and queue classes. Iwill leave it up to you as to whether to use composition or inheritance but whatever way you choose to go you should be able to explain why you chose the relationship type you did. The stack class should have the following interface push pop The queue should have the following interface enqueue de queue peek Again I will leave it up to you as to the parameters to the functions and the return type. As usual please have good reasoning for why you have been doing things
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
