Quick Index
Overview


This challenge is about doing Big-O algorithm time complexity analysis on a LinkedList.

Linked list algorithms are described in detail here....

Big-O time complexity is described here...

This challenge is similar to the Big-O challenge we did for dynamic arrays.

On this page, "BigO analysis" or "Big-O" will indicate "BigO time complexity analysis".

Part 1: Big-O For Instance Methods


This part of the challenge is about doing Big-O a LinkedList's instance methods.

A Java file has been provided for you (see below). You will need to update the file with your Big-O answers.

The file contains detailed notes on steps.

Work To Do:


Part 2: Report


In the "answers" working directory, create text file named LinkedListBigOSummary.txt (named exactly like this to help grader).

Add the following to the file (based on your Big-O analysis on linked list):


Example report:
Poorer Performers
	methodName1
	methodName2

Better Performers
	methodName3
	methodName4
Where "methodName1", .., "methodName4" are replaced with actual instance method names that you analyzed in Part 1 (e.g. "first", "addLast", "removeFirst", "removeIndex", etc).


Examples


See the similar Big-O challenge in the DynamicArray chapter for step-by-step examples. Except that this analysis is based on linked list.

Provided Files


Download the provided files here...

How to Submit


Instructions:


References