UCR CS141
Lab 1 Take Home Assignment
Spring Quarter 2003
Prof. Sitanshu Kumar
Due: One hour before your scheduled lab section of
next week.
Assignment:
Write a program for doubly connected lists: add, remove, search elements
- Create a doubly connected list
- Add elements with the value of 1 ~ 100 to the doubly connected
list
- Remove elements with the value of 20,40,60,80
- Find the position of elements with the value of 25, 65 and 20,
80
- If it can find, print out the position P of that value,
and also print out the value of the elements in the position of P-1
and P+1
- If it can't find, print out message "Can't find value ##"
Attention:
- Please use the Turn-in System
- Put all the files you want to turn-in in one folder
- Goto: https://www.cs.ucr.edu/
- Click "student", login using your account name and password
- Click "WWWTurnin"
- Choose the class section: "cs141"
- Specify you turn-in folder name
- Turn in
- Write a ReadMe plain text file to explain the design of your program
and how your program works
- Include your name, ID, lab section number, email address in every
files you want to turn in.