Question discussion

What is the minimum number of stacks of size n required to implement a queue of size n ?

2927Medium DSSSB TGT Computer Science 0 replies 1 views
0

What is the minimum number of stacks of size n required to implement a queue of size n ?

  • AOne
  • BTwo
  • CThree
  • DFour
Correct answer: B

Explanation

A queue can be implemented with two stacks.

Discussion 0

Nobody has replied yet. Start the discussion!