If the sequence of operations - push ( 1 ) , ( 1 ) , push
Fantastic news! We've Found the answer you've been seeking!
Question:
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.....
Your answer:
2,1,2,2,1
2,2,1,2,2
2,1,2,2,2
2,2,1,1,2
Related Book For
Posted Date: