MCQ
Q.
Consider following Scenario -1. The five items : P,Q,R,S and T are inserted into stack A one after other starting from T in reverse order.2. The stack is popped three times and each element is inserted into another stack B.3. Then two elements are deleted from the stack B and pushed back onto the stack A.What are the topmost elements of stack A and Stack B respectively?
Correct Answer: D
None.