Question: C++ 1. 2. Node class that can store integer data and the address of next and prev Node Introduce a DLL class with the following
1. 2. Node class that can store integer data and the address of next and prev Node Introduce a DLL class with the following functions. Please call each of them at least one time in main function a. Introduce insert to front function. b. Introduce insert to back function. c. Introduce delete from front function d. Introduce delete from back function. e. Introduce print function that traverses DLL node by node and print each Node's value f. Traverse DLL and delete any node that has target value Traverse DLL and insert a Node with target value to the middle of DLL. g. h. [Challenging question] Delete all nodes of SLL in an ascending order 3. Introduce a CLL class that has header Node. Please introduce the following functions. Please call each of them at least one time in main function a. Introduce insert to front function. b. Introduce insert to back function. c. Traverse CLL and delete any node that has target value d. Reverse the contents (i.e., node values) of a CLL so that it reads in counter-clock wise order
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
