Department of Computer Science

Principles of Programming II

Spring Semester 2012

Dr. Maury Eggen

Homework Laboratory Assignment 2:

Homework laboratory assignment five involves singly linked lists. We shall write a general "nodes and references" unordered linked list class which should have the following functionality:

Once the unordered list is functional, write an ordered linked list class which maintains the elements of the list in sorted order. An ordered list is an unordered list, so ordered list will inherit from unordered list and overload functionality as appropriate. Note: list elements should be unique. In other words, if a value is already in the list we should not add it again.

Make a folder entitled
youruserid.linkedlists
and place everything you wish me to see in this folder. Copy the folder into my public directory on or before the due date using the commend

cp -r youruserid.linkedlists /users/meggen/Public