K
Multiple choices 18/50
(Choose 1 answer)
A. 2 and 4
B. 4 and 5
C. 1 and 3
D. 2 and 5
push 1-push 2
pop
push 3
push 4-pop
push 5-pop
5
10 11 12 13 14 15 16 17
19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42
43 44 45 46 47 48 49 50
When the series of operations below is performed on an empty stack, which of the following is the data remaining on the stack? Here, "push x" is the operation to save data x to the stack, and "pop" is used to retrieve data from the stack.