Question: CIRCULAR SORTED LINKED LIST CLASS Design and implement a class representing a circular sorted linked list . The class, called CList, must have the following
CIRCULAR SORTED LINKED LIST CLASS
Design and implement a class representing a circular sorted linked list. The class, called CList, must have the following requirements:
- The linked list and the nodes must be implemented as C++ templates
- The class has only one private data member: a pointer to the last node.
- It must include a constructor, a destructor, a copy constructor and an operator=
- It must include functions to destroy a list, copy a list, insert a given item in the list, delete a given item from the list, search for a given item in the list, check if the list is empty, return the length of the list and print the list in ascending order.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
