GATEverse
← GATE CSE 2023

Q49

MCQ2 marks, −0.67

Consider a sequence aa of elements a0=1,a1=5,a2=7,a3=8,a4=9a_{0}=1, a_{1}=5, a_{2}=7, a_{3}=8, a_{4}=9, and a5=2a_{5}=2. The following operations are performed on a stack SS and a queue Q,Q, both of which are initially empty. The top element of SS after executing the above operations is ______________.

Sign in to save attempts.

Loading…