The queue data structure is to be realized by using stack. The number of…
ISRO Scientist/Engineer SC · 2015 · Computer Science
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
Attempted by 2045 students.
Show answer
Correct answer: B
The worked solution is available to enrolled students.
Video solution available to enrolled students.
Explore the full course: Iocl Engineers Officers Grade A Paper 2
Loading lesson…