Pregunta de entrevista de Affirm

How would you implement a persistent stack?