Question: Language: C++ Implement a generic list using templates using a doubly linked list instead of an array. Provide constructors, destructor and methods for returning (with
Language: C++ Implement a generic list using templates using a doubly linked list instead of an array. Provide constructors, destructor and methods for returning (with and without remove) the first and last element as well as adding a new element at the front and at the end of the list. Also implement a method which returns the amount of elements in the list. Name the files LinkedList.h and testLinkedList.cpp. You can assume that the input will be valid.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
