Week 7

Lectures

Lecture 1 and 2

The first lecture describes how to create a stack.

The second lecture describes how stacks are used to implement function callls, and parenthesis matching. The slide set is the combined for the two.

Lecture 3

The third lecture shows how stacks can be implemented using linked lists.

Tutorial and Lab

Tutorial

The tutorial contains questions on implementation and use of stacks.

Lab

In this lab you will be working on circular and double linked lists. You will demonstrate the operations on simple linked lists.

Backlogs

Linked List Backlog

This is the backlog you will be working from this week. It uses material covered in prevous classes. You will be demoing material from the Arrays Backlog this week and next. Download the project with wget ds.nathanielgmartin.com/LinkedList.zip.

Stack Backlog

This is the backlog for the material covered in lecture this week. You will not be demoning the material in this backlog until Week 9, but it is a good idea to look over the backlog and to download the project files using wget ds.nathanielgmartin.com/Stack.zip.