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