Answered step by step
Verified Expert Solution
Question
1 Approved Answer
HELP IN JAVA: Create a file of (unsorted) integers. Input them into a doubly linked list so the list is sorted . There are 13
HELP IN JAVA:
Create a file of (unsorted) integers. Input them into a doubly linked list so the list is sorted. There are 13 integers in your input file, but make your program work for any input file meaning dont use a for loop.
Print the contents of your list forwards and backwards.
Note: Use these integers
56 4 9 11 40 68 3 -3 55 40 30 100 90
You MUST use nodes, not a built in data structure.
Rubric:
* methid to build the list
* method to print fowards
* method to print backwards
* list correctly build sorted/ good code used throughout
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started