Question: Design and implement a class representing a circular sorted linked list . The class must have the following requirements: 1.The linked list and the nodes
Design and implement a class representing a circular sorted linked list. The class must have the following requirements:
1.The linked list and the nodes must be implemented as C++ templates
2.First must point to the largest value in the list
3. It must include a constructor, a destructor, a copy constructor and an operator=
4.It must include functions to insert a given item, delete a given item, search for a given item, check if the list is empty, return the length of the list and print the list (from smallest to largest)
Use the menu-driven program of the linked list to test all the functions in your class.
please do it in C++ language.
please make three file header file,.cpp file and main.cpp file
thank you
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
