Subject: homework question correction

From: Kenneth Been <[email-masked]>
Date: Wed, 7 Oct 1998 12:33:10 -0400

Basic Algorithms class:

For problem C-3.4, you also can assume that you are given a reference
to the beginning of the list.

Also, you must swap the nodes, and not just the contents of the
nodes.  You might wonder, why bother swapping the nodes, instead of
just swapping the contents?  Wouldn't that be easier?  The answer is
that there might be other variables in the program that reference
these nodes, and swapping the contents would corrupt those other
variables.

Ken