Question Detail

Which of the following name does not relate to stacks

  • FIFO lists
  • LIFO list
  • Piles
  • Push-down lists
Similar Questions :

1. The complexity of linear search algorithm is

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

2. Which sorting method is slowest

  • Quick sort
  • Heap sort
  • Shell sort
  • Bubble sort

3. Sort which compares adjacent elements in a list and switches where necessary is

  • Insertion sort
  • Heap sort
  • Quick sort
  • Bubble sort

4. A linear list from which elements can be added or removed from either end is called

  • stack
  • queue
  • deque
  • tree

5. What are the minimum number of queues needed to implement the priority queue?

  • One
  • Two
  • Three
  • Four
Read more from - Data Structure Questions Answers - Chapter 1