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


    ⚡ Month End Offer- Few Hours Left Flat 55% Off On All Courses!! Coode - OCT55 Enroll Now ⚡
    00:00:00 AM Left

    Question

    Which sorting algorithm has a worst-case time complexity

    of O(n²)?
    A Merge Sort Correct Answer Incorrect Answer
    B Quick Sort Correct Answer Incorrect Answer
    C Bubble Sort Correct Answer Incorrect Answer
    D Heap Sort Correct Answer Incorrect Answer

    Solution

    Bubble Sort has a worst-case time complexity of O(n²), making it inefficient for large datasets.

    Practice Next
    More Computer Awarenes Questions
    ask-question