List Anatomy
H1 is a pointer to the head of a linked list of two elements (also called nodes). L is a pointer to the last element of the list:
H2 is a pointer to a null list.
X1
X2
H1:
Info
Link
null link field
indicates end
of list
L:
H2: null
Previous slide
Next slide
Back to first slide
View graphic version