Pregunta de entrevista de Marsh

Asked the implementation of stack.