download Mastguru Android App

Question Detail

The complexity of linear search algorithm is

  • O(n)
  • O(log n)
  • O(n2)
  • O(n log n)
Similar Questions :

1. How many divisions are there in COBOL language

  • Two
  • Three
  • Four
  • Five

2. The complexity of Bubble sort algorithm is

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

3. A graph with one or more edges is at least

  • 1-chromatic
  • 2-chromatic
  • 3-chromatic
  • 4-chromatic

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

  • stack
  • queue
  • deque
  • tree

5. Which sorting method is slowest

  • Quick sort
  • Heap sort
  • Shell sort
  • Bubble sort
Read more from - Data Structure Questions Answers - Chapter 1
Post a comment