CS 240: Algorithms and Data Structures
James Madison University, Spring 2024

Linked List Implementation

Instructions

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.

Going Further (Optional)

There are several obvious next steps for improving our List interface and the SinglyLinkedList class:

Submitting

Upload SinglyLinkedList.java through Gradescope.