πŸ“’ Too many exams? Don’t know which one suits you best? Book Your Free Expert πŸ‘‰ call Now!

  • google app store apple app store
  • βœ–

      Question

      Which of the following sorting algorithms has a

      worst-case time complexity of O(n^2)?
      A Merge sort Correct Answer Incorrect Answer
      B Quick sort Correct Answer Incorrect Answer
      C Bubble sort Correct Answer Incorrect Answer
      D Insertion sort Correct Answer Incorrect Answer

      Solution

      Bubble sort

      Practice Next

      Relevant for Exams:

      ask-question