download Mastguru Android App

Question Detail

minimum number of stacks of size n required to implement a queue of size n

  • One
  • Two
  • Three
  • Four
Similar Questions :

1. Recursive problems are implemented by

  • queues
  • stacks
  • linked lists
  • strings

2. The complexity of Bubble sort algorithm is

  • O(n)
  • O(log n)
  • O(n2)
  • O(n log n)

3. Which of the following data structure is linear data structure

  • Trees
  • Graphs
  • Array
  • None of above

4. In C how many parameters can passed to a function

  • 2
  • 5
  • 10
  • as many as defined in function definition

5. Which of the languages is often translated to the pseudo code

  • PASCAL
  • FORTRAN
  • PL/I
  • BASIC
Read more from - Data Structure Questions Answers - Chapter 1
Post a comment

  • ak 10 years ago

    How? Please explain.

  • usman 10 years ago

    2 stacks

  • Manish K Verma 11 years ago

    Two Stack required