Question: - five items: P , Q , R , S and T are pushed into stack A one after another starting from T in reverse
five items: PQRS and T are pushed into stack A one after another starting from T in reverse order, The stack is popped ee times and each element is inserted into another Queue B Then two elements are removed from Queue B and pushed back o stack A What are the top and front elements of stack A and Queue B respectively?
a None of the Other Options
b QR
c QP
d RP
e RQ
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
