Pregunta de entrevista de Vanguard

How would you implement a stack from scratch?