Question: Submit a .cpp file in the assignment folder and .doc (you can also draw, take a picture, and paste in the word file) file as
Submit a .cpp file in the assignment folder and .doc (you can also draw, take a picture, and paste in the word file) file as appropriate. 1. Create 10 random numbers of value 100-150 as elements of a doubly linked list and circular linked list. Perform the following tasks (write functions and calling them in main() 2. Create both lists by insert begin and print each of them 3. Insert 1000 at the beginning of the circular list and print. Draw a picture as how will perform the task Print the list. 4. Insert 3000 at the 5th position of the doubly linked list. Draw a picture to show how insertion happened. Print the list. 5. Delete 4th element from the circular list. Draw a picture to show how deletion happened. Print the list. 6. Convert the doubly linked list to a doubly linked circular list. How will you confirm this list is circular? 7. Create a sorted doubly linked list by inserting the generated random numbers one by one in an ascending order. Submit a .cpp file in the assignment folder and .doc (you can also draw, take a picture, and paste in the word file) file as appropriate. 1. Create 10 random numbers of value 100-150 as elements of a doubly linked list and circular linked list. Perform the following tasks (write functions and calling them in main() 2. Create both lists by insert begin and print each of them 3. Insert 1000 at the beginning of the circular list and print. Draw a picture as how will perform the task Print the list. 4. Insert 3000 at the 5th position of the doubly linked list. Draw a picture to show how insertion happened. Print the list. 5. Delete 4th element from the circular list. Draw a picture to show how deletion happened. Print the list. 6. Convert the doubly linked list to a doubly linked circular list. How will you confirm this list is circular? 7. Create a sorted doubly linked list by inserting the generated random numbers one by one in an ascending order
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
