Question: Write a program in c++. All functions must be included in sorted circular doubly linked list. Thanks Design and implement a class representing a sorted
Design and implement a class representing a sorted circular doubly linked list. T following requirements The class must ha've the 1. The class must be a template class 2. The class must have one private field member, called first, which has the address of the first node in the list. 3. The class must have no other field members. 4. The class must include the following methods: ar A default constructor bA copy constructor.e A destructord An overloaded operator e.A copy functionA makeEmpty function g An isEmpty function ik. An isFull function i. A function to delete a given item j A function to insert a given item k. A function to search a given item - returns true if found, false otherwise 1. A function to return the number of nodes in the list m. A function to prints all items in the list-print list is empty if there no items
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
