download Mastguru Android App

Question Detail

The complexity of Binary search algorithm is

  • O(n)
  • O(log n)
  • O(n2)
  • O(n log n)
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. Recursive problems are implemented by

  • queues
  • stacks
  • linked lists
  • strings

4. Which of the following name does not relate to stacks

  • FIFO lists
  • LIFO list
  • Piles
  • Push-down lists

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
Post a comment