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