Question 11
If the sequence of operations - push(1), push(2), pop, push(1), push(2), pop, pop, pop, push(2), pop are performed on a stack, the sequence of popped out values is
Step-by-Step Solution
Detailed Explanation:
Sequence of pops yields values 2, 2, 1, 1, 2 in order.