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

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 Databases Questions!