ISRO 2015 · Arrays & Matrix Representation
MCQ · 1 mark · Problem PROG-DSTR-0132
The queue data structure is to be realized by using stack. The number of stacks needed would be
- A
It cannot be implemented
- B
2 stacks
- C
4 stacks
- D
1 stack
Solve it on GATE DA practice →More Basic Data Structures problems
Show the worked solution
Official GATE Answer Key: Option B.See full step-by-step discussion on GateOverflow:
https://gateoverflow.in/51086/isro2015-15
GATE DA practice: past exam problems by chapter, with worked solutions · gatedaprep.com