Lab 10

Linked List Lab

Objectives

The goal of this lab is to gain experience with the implementation of singly-linked lists.

Introduction

It is possible to implement a List ADT using either contiguous storage (an array) or a linked structure. The goal of this activity is to gain experience working with linked structures by implementing a subset of the methods from the List ADT using a singly-linked list as the underlying data structure.

Download the lab starter files here:

Don’t forget to download and customize your machine-specific makefile.

These files contain an incomplete implementation of a singly-linked list data structure. Take a moment to look over this code and experiment with the provided functions.

Exercises

(Optional) More Exercises

Challenge Problems