Question: Can you please answer this question, AND write a unittest for it? PYTHON PLEASE. ADT. py contains skeleton code for list and linked list versions

Can you please answer this question, AND write a unittest for it? PYTHON PLEASE.
ADT. py contains skeleton code for list and linked list versions of stacks and queues. Node.py file is also provided which contains the private Node class. Using the concepts learnt from lecture, implement the stack and queue ADT using list and singly linked list. - Use test driven development (red-green-refactor) to implement the core functionalities for each class: - and pop for stacks and for the queues - Use lists (_L ) or linked lists (_LL ) as denoted by the class names - Include tests for each method in the public interface of each class - You can use statements or - the choice is yours
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
