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


    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

    Not sure which exam is best for you Talk to our expert

    Get My Free Call