Question: Please help me with a java program that will do the following: This program will use nodes with a LinkedList the program should fill up

Please help me with a java program that will do the following: This program will use nodes with a LinkedList the program should fill up the LinkedList with values between 25 and 1000. The program should search the LinkedList for the largest and smallest number in the list. If the minimum is greater 100 then swap it with the max value otherwise increment the min by 10 and move it one place to the next node. Also add the min and the max values and insert the new node with the calculated value in a random place between the min and max nodes.

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!