Vanguard interview question

How would you implement a stack from scratch?