CS 302 - Data Structures & Algorithms II - Spring 2008
Homework 6


Loyola College > Department of Computer Science > CS 302 > Homework > Homework 6

Due

Friday, February 1 at the beginning of class

Assignment

  1. Write a function for the Dummy Head Linked List from Lecture 5 that takes a Link as an argument and returns a Link to a copy of the list (a new list that contains the same items, in the same order).
  2. Write a Formal Definition of a Queue that mirrors the one in Lecture 5 and define rules using the definition.