The five items: A, B, C, D, and E are pushed in a stack, one after other…
ISRO Scientist/Engineer SC · Computer Science · 2014ISRO Scientist/Engineer SC · Computer Science · 2009ISRO Scientist/Engineer SC · Computer Science · 2007
The five items: A, B, C, D, and E are pushed in a stack, one after other starting from A. The stack is popped four items and each element is inserted in a queue. The 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 58 students.
Sign up free to check your answer
Sign up freeLoading lesson…