22
Starting with an empty stack, these operations are performed: push(2), push(2), push(7), pop(), push(1), pop(), pop(). What is at the top of the stack now?
Easy
Starting with an empty stack, these operations are performed: push(2), push(2), push(7), pop(), push(1), pop(), pop(). What is at the top of the stack now?
Log in to join the discussion.