Advanced Programming I Lecture Notes

Advanced Programming I Lecture Notes

21 February 2006 • Stacks


Outline

Lists

The Trade-Off

Properties

Element Ordering

The ADT

Adding and Removing Elements

Query Operations

Stack ADT Implementations

Array Representation

Stack Push and Pop

List-Stack Comparison

Dynamic Stacks

List Representation

Singly or doubly linked?

Push And Pop

Stack Comparison

List Overkill

Dynamic-Array Stacks

Dynamic-Array Costs

Stack Comparison

Stacks Everywhere

Activation Records

Activation Stack


This page last modified on 24 February 2006.

This work is covered by a
Creative Commons License.