download Mastguru Android App

Question Detail

The complexity of Bubble sort 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 is having highest precedence in C

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

3. Merge sort uses

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

4. The complexity of merge sort algorithm is

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

5. How many divisions are there in COBOL language

  • Two
  • Three
  • Four
  • Five
Read more from - Data Structure Questions Answers - Chapter 1
Post a comment