Quiz
Question 1 of 4. 0 correct, 0 incorrect.
A stack starts empty. Push 1, push 2, pop, push 3, push 4, pop, pop. What value does the last pop return?
Hint
Write the stack after every operation, top first, so that the next value to leave is always the first one written.