The five items: A, B, C, D, and E are pushed in a stack, one after the other…
ISRO Scientist/Engineer SC · 2009 · Computer ScienceISRO Scientist/Engineer SC · 2007 · Computer ScienceISRO Scientist/Engineer SC · 2014 · Computer ScienceBEL · Computer Science · 2007
The five items: A, B, C, D, and E are pushed in a stack, one after the other starting from A. The stack is popped four times and each element is inserted in a queue. Then two elements are deleted from the queue and pushed back on the stack. Now one item is popped from the stack. The popped item is
- A.
A
- B.
B
- C.
C
- D.
D
Attempted by 509 students.
Show answer
Correct answer: D
Explore the full course: Iocl Engineers Officers Grade A Paper 2
Loading lesson…