Data Structures, Algorithms
The Stack (Using a Linked List)

This applet demonstrates the basic operations on a stack implemented as a linked list.
Click the "Create" button to create an empty stack. Key in a value in the text field and click "Push" button to push the value into the stack. Repeat the process to add a few elements into the stack. The top-of-stack element is indicated by the arrow mark. Click the "Pop" button to remove the element from the top of stack. The peek operation reads the element at the top of stack without removing it.

R. Mukundan
Department of Computer Science
University of Canterbury
Private Bag 4800, Christchurch
New Zealand.