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


    Question

    Which of the following is true about

    MergeSort?
    A It is an in-place sort Correct Answer Incorrect Answer
    B It uses divide-and-conquer Correct Answer Incorrect Answer
    C It has O(n²) time complexity Correct Answer Incorrect Answer
    D It cannot be used for linked lists Correct Answer Incorrect Answer
    E It is unstable Correct Answer Incorrect Answer

    Solution

    MergeSort splits the array recursively and merges sorted subarrays; it is stable and not in-place.

    Practice Next
    ask-question