Question: The five items. A , B , C , D , and E are pushed in a stack, one after other starting from A .
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
Your answer:
D
C
B
A
Clear answer
Pause test
subwit
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
