Question: Linked list using either Java or C. 1. Write a program that creates a linked list and loads it with the numbers 0 to 9.

Linked list using either Java or C.

Linked list using either Java or C. 1. Write a program that

1. Write a program that creates a linked list and loads it with the numbers 0 to 9. Create the functions, init, makeNode, and findTail. In order to make sure everything is working, the contents of the list will have to be displayed. Make a showList function and call it after the list has been loaded by the for loop 3. Add the capability to add a node between two nodes. Make sure and ask the user which node they want to place the new node after, and the value of the node to be created. You will need to make a function that finds the node the user requested. This node will be sent to insertAfter function. 4. Add the capability to delete a node. Fashion your solution in a manner similar to what was done in exercise 3

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!