Choose the correct alternatives (more than one may be correct) and write the corresponding letters only:
The following sequence of operations is performed on a stack:
PUSH (10), PUSH (20), POP, PUSH (10), PUSH (20), POP, POP, POP, PUSH (20), POP
The sequence of values popped out is
Let us try something different when you read the word pop then delete the last pushed element and print it. Now ,delete the push word which we have already executed. Now, go on from left to right and do the same.
So, output will be $20, 20, 10, 10, 20$.
20 20 10 10 20