Download the following files:
The first file is a Java interface representing a minimalist List
ADT. The second file is an unfinished implementation of the List
interface using a singly-linked list. The third file contains the
Gradescope submission tests.
Complete the unfinished methods in SinglyLinkedList.java. Work on
the methods in the order they appear and test each method before
moving on to the next one.
There are several obvious next steps for improving our List
interface and the SinglyLinkedList class:
insert method that allows item insertion at an arbitrary index.remove method for the SinglyLinkedListIterator.toString and equals methods.Upload SinglyLinkedList.java through Gradescope.