Lists, Stacks, and Queues - Harvard University

Lists, Stacks, and Queues Computer Science E-119 Harvard Extension School Fall 2011 David G. Sullivan, Ph.D. Representing a Sequence: Arrays vs. Linked Lists • Sequence –an ordered collection of items (position matters) • we will look at several types: lists, stacks, and queues • Can represent any sequence using an array or a linked list ................
................