Affirm interview question

Phone screen: Implement a persistent stack