📢 Too many exams? Don’t know which one suits you best? Book Your Free Expert 👉 call Now!

  • google app store apple app store
  • ✖

      Question

      What is the worst-case time complexity of the Bubble

      Sort algorithm?
      A O(n) Correct Answer Incorrect Answer
      B O(log n) Correct Answer Incorrect Answer
      C O(n log n) Correct Answer Incorrect Answer
      D O(n²) Correct Answer Incorrect Answer
      E O(1) Correct Answer Incorrect Answer

      Solution

      Answer: d) O(n²)

      Practice Next
      ask-question