Test by Bikram | Data Structures | Test 2 | Question: 24
The following sequence of operation is performed on stack : push(1),push(2),pop,push(1),push(2),pop,pop,pop,push(2),pop. The sequence of popped out values are? 2,1,2,2,1 2,1,2,2,2 2,2,1,1,2 2,2,1,2,2
The following sequence of operation is performed on stack : push(1),push(2),pop,push(1),push(2),pop,pop,pop,push(2),pop.The sequence of popped out values are?2,1,2,2,12,1...