ln the l:koppoutboxCS 222 01Program AssignmentsChapter0
ln the l:koppoutboxCS 222 01Program AssignmentsChapter03 folder are two files: node.py and llstack.py. Use these files for thefollowing assignment.Modify the llstack.py file into llqueue.py. The llqueue.pyfile should implement a queue using a linked list. Once you have this created,write a test program to fully test the methods of the llqueue.py file.Extra Credit: A priority queue is a queue that allows certain entities tobe moved to the front of the queue. For example, in an emergency room, ifsomeone comes in with a severe injury or illness, they are moved to the frontin order to be treated before the others already in the queue.Modify the llqueue.py file you created above that allowspriority entities to be moved to the front of the queue. Write a unique testprogram that regular nodes and priority nodes to be added to and removed fromthe queue.
Leave a Reply
Want to join the discussion?Feel free to contribute!