If the sequence of operation - push(1), push(2), pop, push(1), push(2), pop, pop, pop, push(2), pop are performed on stack, the sequence of popped out values are:

1
2,2,1,1,2
2
2,2,2,1,1
3
2,2,1,2,2
4
2,2,1,2,1
5
Question Not Attempted

Sponsored

hivanix.in

Visit

This quiz is brought to you by hivanix.in

🌐 Web App Development

Quick Navigation