Linked List Basics

Stanford CS Education Library: a 26 page  introduction to linked lists in C/C++. Includes examples, drawings, and practice problems, and solution code. The more advanced article,  Linked List Problems, has 18 sample problems with solutions.

This article introduces the basic structures and techniques for building linked lists with a mixture of explanations, drawings, sample code, and exercises. The material is useful if you want to understand linked lists or if you want to see a realistic, applied example of pointer-intensive code. Even if you never really need a linked list, they are an excellent way to learn pointers and pointer algorithms.

Download LinkedListBasics.pdf

(revised 4/2001)

See also..

Downloading help

Up to the CS Education Library Home