Date: Monday, October 12, 2009.
- Draw, step-by-step, how you can add the element "cs3331" to a linked list consisting
of elements "cs1401", "cs2401", "cs2302", and "cs3335". We want to add this element after "cs2302". Assume that we have a pointer p that points to "cs2302".
- Write a code that, given:
inserts the given object into the list, after the element to which the pointer currently points.
- a linked list,
- a pointer pointing to
one of the elements of this list, and
- a new object,