From: Randolph Wang <rywang@rywang.cs.princeton.edu>
Date: Mon, 26 Apr 2004 19:03:58 -0400
To: tbroderi@princeton.edu, yosemite@CS.Princeton.EDU
Subject: upload - Randy - pointer question
http://dsh.cs.washington.edu:8000/Projects/04s126/upload/040426-190358.cgi-lib.19070.1.ptrques.jpg
This is the pointer question you asked me earlier. fall02
midterm2 question 4 on linked list. The solution given
is correct. But I think it's a silly tedious question
(although as said in the solution, you don't need to work
out the whole thing: getting to 1 3 initially should be
sufficient). The attached picture works out the whole thing
and both pointers indeed point to 3 at the end.
Randy
upload - Randy - pointer question / Randolph Wang