Aug2016 cs Q24

0. Consider the following statements: S1: A queue can be implemented using two stacks. S2: A stack can be implemented using two queues. Which of the following is correct?

  • Option : C
  • Explanation :
    A queue can be implemented using minimum two stacks. A stack can be implemented using minimum two queues. Both staement are true. So, option (C) is correct.
Cancel reply

Your email address will not be published. Required fields are marked *


Cancel reply

Your email address will not be published. Required fields are marked *