Advanced Programming I Lecture Notes

Advanced Programming I Lecture Notes

20 February 2007 • 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

Push And Pop

Stack Comparison

List Overkill

Dynamic-Array Stacks

Dynamic-Array Costs

Stack Comparison

Stacks Everywhere

Activation Records

Activation Stack

Points to Remember


This page last modified on 24 February 2006.

This work is covered by a
Creative Commons License.