Pregunta de entrevista de Tesla

How would you unwind a stack?