Answered step by step
Verified Expert Solution
Link Copied!

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

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Build It For The Real World A Database Workbook

Authors: Wilson, Susan, Hoferek, Mary J.

1st Edition

0073197599, 9780073197593

More Books

Students also viewed these Databases questions

Question

=+ 4. Why should policymakers think about incentives?

Answered: 1 week ago

Question

=+ 2. What is the opportunity cost of seeing a movie?

Answered: 1 week ago

Question

=+ what roles should government play in them ?

Answered: 1 week ago