Tesla Interview Question

How would you unwind a stack?