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

    1. Create a doubly connected list
    2. Add elements with the value of 1 ~ 100 to the doubly connected list
    3. Remove elements with the value of 20,40,60,80
    4. 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:
    1. Put all the files you want to turn-in in one folder
    2. Goto:  https://www.cs.ucr.edu/ 
    3. Click "student", login using your account name and password
    4. Click "WWWTurnin"
    5. Choose the class section: "cs141"
    6. Specify you turn-in folder name
    7. Turn in