This preview shows pages 1–2. Sign up to view the full content.
This preview has intentionally blurred sections. Sign up to view the full version.View Full Document
Unformatted text preview: 15-121: Introduction to Data StructuresFall 2009Exercise10/22/2009LinkedList LabDue: Th, Oct 22end of lab YOU ARE ENCOURAGED TO WORK ON THIS LAB IN PAIRS. If you do, put both names in the comments of the StringNode file, and hand in only one copy.Assignment: (worth 5 exercise points) Get the file LinkedListLab.zipIn the given download are the classes:StringNode - allows us to wrap up a String with information on how to find the "next" one. LLString - a very basic list class to hold linked lists of Strings. Has ONLY the ability to insert and display all.Driver - the application class that lets us do things with the linked list class1) Run the Driver program and see what it does. Modify the Driver so that the call to the createLinkedListFromArraymethod calls the other sample arrays, so that you can see what the program does.2) Look at the other classes.StringNode . Ask any questions you have....
View Full Document
This document was uploaded on 12/19/2009.
- Spring '09
- Data Structures