How many stacks are needed to implement a queue? Consider the situation where…

TPSC Computer/IT Posts · 2025 · Senior Informatics Officer · Section D

How many stacks are needed to implement a queue? Consider the situation where no other data structure like arrays or linked lists is available to you.

  1. A.

    1

  2. B.

    2

  3. C.

    3

  4. D.

    4

Attempted by 896 students.

Sign up free to check your answer

Sign up free

Explore the full course: Gate Guidance By Sanchit Sir

Loading lesson…