Question Detail

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

  • One
  • Two
  • Three
  • Four
Similar Questions :

1. Which is having highest precedence in C

  • relational operators
  • equality operator
  • logical operator
  • arithmetic operator

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

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

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

  • Trees
  • Graphs
  • Array
  • None of above

4. Merge sort uses

  • Divide and conquer strategy
  • Backtracking approach
  • Heuristic search
  • Greedy approach

5. Recursive problems are implemented by

  • queues
  • stacks
  • linked lists
  • strings
Read more from - Data Structure Questions Answers - Chapter 1