Computer Science 409: Homework 6
The Skip List

 

Homework 6: Handed out: 3/13/2001; Due: 3/29/2001

Note:

This assignment involves programming, which will have to be done using J++ in the CSUGLab. Even if you originally use another variant of Java for your program, make sure it runs in the CSUGLab.

As usual, you can discuss this assignment with anyone you like, but you must write it up yourself.

Purpose

This is a simple homework. In this, you will

  1. Implement the ADT SkipList, and
  2. Do an analysis of the running time.

What you are given

You are given

  1. The interface for the Skip list that you have to implement - SkipListInterface.java
  2. The skeleton for the SkipList - SkipList.java
  3. The Output format class OutputList.java

What you have to do

You have to

More on these

Write-up

Your report (please limit it to a maximum of 3 pages) should contain...

What you need to turn in

Please turn in a hard copy of your code and your report in class and e-mail code to dwh6@cornell.edu . No electronic copy of the report is needed. Of the three given files, the only one you are asked to modify is SkipList.java, so you need to submit only this file, and any original code files you need to write.

Grading Scheme

Clarifications/Doubts etc...