The Stack (Using 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.
Department of Computer Science
University of Canterbury
Private Bag 4800, Christchurch