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. Recursive problems are implemented by

  • queues
  • stacks
  • linked lists
  • strings

2. Which is having highest precedence in C

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

3. Which is ALGOL based simulation language

  • FORTRAN
  • SIMSCRIPT
  • GASP IV
  • none of above

4. Which is problem oriented language

  • BASIC
  • PL/I
  • FORTRAN
  • none of above

5. The complexity of Bubble sort algorithm is

  • O(n)
  • O(log n)
  • O(n2)
  • O(n log n)
Read more from - Data Structure Questions Answers - Chapter 1
Post a comment