Push, pop and peek on a stack stored in a fixed-size array.
This interactive visualization needs JavaScript.