
Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!

COMP380 Section 71 - Data Structures I - Spring, 2007
Instructor: Bob Goldstein (617) 912- [email protected] http://home.comcast.net/~goldsteinr/Courses/index.html http://goldstein.eri.harvard.edu/courses/index.html http://myweb.wit.edu/goldsteinr/Courses/index.html Due Date: April 10, 2007 Hand In: Printout of program code and dialogue of how it runs. Purpose: Practice using Double Linked Nodes to implement linked lists
to the left by n items. Make sure you put error checks into your program so that it will do the proper thing if there are too few nodes. Test your method.
program and test. Extra Credit: Start with the ListCommand program we did in class. Add the โSโ command to the command line options that will Shift the list to t he left or right. S 2 //this will shift the list to the right by two nodes S -2 //this will shift the list to the left by two nodes /app/work/qkd8xx-463599-2765037-homework9-doc.doc 1 12/2/2020 12/2/