Pregunta de entrevista de Ubisoft

How would you implement a stack?