Stacks Practice Assignments

Overview

Linear structures (for example, lists, stacks and queues) are common in everyday life and prevelant through programs, including operating systems.

Submission Instructions

Submit each of the following practice assignments at codePost.io.
To register for a free codePost account, please follow these instructions.
Watch this short video for a demonstration of submitting an assignment and reviewing the results:
YouTube video: codePost: Submission and Checking Results Thumbnail
Note, currently, feedback is not visible in Safari.

Practice Assignments

Array-Based Stacks

Write Java code in a new driver class that uses an array-based stack to complete the following:

Linked Stacks

Write Java code in a new driver class that uses an linked stack to complete the following: