Robert Bosch interview question

Implement stack using arrays.