Question: Using C++, design and implement an ordered linked list class. This class should be a template.The class should have the following methods fully implemented. Constructor
Using C++, design and implement an ordered linked list class. This class should be a template.The class should have the following methods fully implemented.
Constructor
AddItem adds an item from the list
GetItem searches the list for the given item. If found, it removes it from the list and returns it. If not found, it returns a null pointer.
IsInlist returns a bool indicating if the given item is in the list.
IsEmpty returns a bool indicating if the list is empty.
Size returns an int indicating the number of items in the list.
Help Greatly Appreciated.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
