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

Analyzing List Algorithms

Analyze each of the methods below according to the instructions in the Javadoc comments. In each case you will be comparing the performance of java.util.ArrayList with java.util.LinkedList. Recall that java.util.LinkedList is implemented using a doubly-linked list that maintains both a head and tail reference.