Question: In a c++ can you please create a double linked list. Part 1 Design and implement a class representing a doubly linked list . The
In a c++ can you please create a double linked list.
Part 1
Design and implement a class representing a doubly linked list. The class must have the following requirements:
The linked list and the nodes must be implemented as a C++ templates
The list must be generic it should not implement arithmetic/logic functions
It must include a destructor, a copy constructor and the overloaded operator=
It must include methods to insert at the front and at the back of the list
It must include a method to return the length of the list
It must provide an iterator-based interface for the user from front to back
It must include an iterator-based interface for the user from back to front
PART 2:
The implementation of the class LargeInt will use a dynamic physical structure to store the individual digits of an integer, and will provide some basic I/O and arithmetic operations that can be performed on integers.
In particular, the class should include:
A default constructor
An operator function to overload the operator +
An operator function to overload the operator ==
An operator function to overload the operator <<
An operator function to overload the operator >>
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
