Question: In this assignment, you are going to add Queue functionality to your Singly Linked List implementation that we worked on in class. Steps: Write the

In this assignment, you are going to add Queue functionality to your Singly Linked List implementation that we worked on in class. Steps: Write the enqueue method (which puts something at the back of the queue). Write tests that ensure that the enqueue method works. Write the dequeue method (which takes something out from the front of the queue). Write tests that ensure that the dequeue method works. Make sure that both enqueue and dequeue work in O(1) time. Turn in a zip file of your project Rubric

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!