Recursion and Iterator Lab solution


Original Work ?
Category: You will Instantly receive a download link for .ZIP solution file upon Payment


5/5 - (2 votes)

Write a recursive method to find the largest value in a singly linked list.  Create a MyLinkedList .java which inherits from the class LinkedList<String and add the recursive method public String findLargest().  You will need to use the iterator to access each node of the linkedlist.  You may need to add a helper method to start the recursion.  Use the driver class to populate your linked list and demonstrate that your method works. Add an additional test to

The largest in the driver class provided is Tom.

Upload your and the modified to Blackboard.