CS 201: Data Structures

Linked Lists: implementing some interfaces

Partners: you will work with an assigned partner (sent via e-mail)

The idea of "nodes" that contain links pointing to other nodes is one of the most powerful techniques in data structure implementation, so it's time to practice. For this assignment, I have provided you with LinkedList.java, a partially implemented class using a singly-linked list to store a sequence of Strings. Your job will be to provide implementations for the un-implemented methods.

Constraints

You will notice that the methods in LinkedList.java are thoroughly documented using javadoc comments. It is VERY IMPORTANT that you adhere to those specifications. In particular:

On the other hand:

What to hand in

You just hand in your updated copy of LinkedList.java.

As always...

Start early, ask questions, and have fun!