Question: 3 . 2 . Include the textbook s DoublyLinkedList.java file. You will not change the DoublyLinkedList.java file. 3 . 3 . Use this to create
Include the textbooks DoublyLinkedList.java file.
You will not change the DoublyLinkedList.java file.
Use this to create an Integer doublylinked list DLL:
One way to start this: DoublyLinkedList DLL new DoublyLinkedList;
Output all the values from the DLL to the console.
Using DLLremoveFirst move the values to a new doublylinked list, DLL
Its okay to destroy DLL in the process.
Output all the values from DLL to the console.
Using DLLremoveLast move the values to a new doublylinked list, DLL
Its okay to destroy DLL in the process.
While moving, change all nodes with value to value You should not insert any nodes with value into DLL While moving, change all nodes with value to value You should not insert any nodes with value into DLL
Output all the values from DLL to the console.
Sample program output:
DLL is:DLL is:
DLL is:
I am not picky about output formatting, but the values displayed must come from the nodes of the doublylinked list, and not from the main program.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
