Question: 1. Assume a list has the following element: Write a series of C++ statements using the List ADT of Figure 4.1 in eBook to delete
1. Assume a list has the following element:
Write a series of C++ statements using the List ADT of Figure 4.1 in eBook to delete the element with value 15. 2. Using the list ADT of Figure 4.1, write a function to interchange the first two elements in the right partition of a list. Notes: To solve the assignment, you need to write two separated C++ programs to solve each question. In each program you need to copy the list implementation in Fig. 4.1 and add necessary statements/ function to solve the problem You need to submit each program with a picture of its output
Below is the figure 4.1
template
2,23,15,5,9
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
