How many stacks are needed to implement a queue, considering the situation…

How many stacks are needed to implement a queue, considering the situation where no other data structures like arrays or linked lists are available to you?


  1. A.

    1

  2. B.

    2

  3. C.

    3

  4. D.

    4

Attempted by 1136 students.

Sign up free to check your answer

Sign up free

Explore the full course: Gate Guidance By Sanchit Sir

Loading lesson…