C++: Modify the singly linked list-based List in a way that thenew List satisfies the following requirements.
Requirements:
- Template class
- The modified List is a template class so that it can processany data type.
- The modified List contains the doubly linkedlist of nodes.
- In the doubly linked list, each node consistsof three elements, data, next, and prev.The prev is a pointer variable that points to a nodelocated before the current node in the doubly linkedlist.
- Interface
- The modified List still supports the existing operations asthey are supposed to function.
- In addition, the modified List must provide a copy constructorand operator=().
- Compilation & Testing
- Test your program
OR
PayPal Gateway not configured
ORPayPal Gateway not configured