Question: Write a single source code file MyLinkedList.java that supports linked list of integers (class node is declared in the same source code file) that
Write a single source code file MyLinkedList.java that supports linked list of integers (class node is declared in the same source code file) that have methods for (a) making summation of node values of a linked list, (b) finding the max value of the node values of a linked list, and (c) recursively reversing the nodes of a linked list (not reversing iteratively). Use the main() method to show how your methods work. Submit both source code and sample run screen capture. Assignment 5 (old due on 10/30): Implement iterator for Doubly Linked List. The iterator created from any node of a doubly linked list should traverse all reachable nodes of the doubly linked list from left to right.
Step by Step Solution
There are 3 Steps involved in it
Heres an implementation of the MyLinkedList class that supports a linked list of integers and provid... View full answer
Get step-by-step solutions from verified subject matter experts
