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


    Question

    Given the array [38, 27, 43, 3, 9, 82, 10], what would

    be the two sorted subarrays immediately *before the final merge step* in a Merge Sort algorithm?
    A [3, 9, 10, 27] and [38, 43, 82] Correct Answer Incorrect Answer
    B [27, 38] and [3, 9, 10, 43, 82] Correct Answer Incorrect Answer
    C [3, 27, 38, 43] and [9, 10, 82] Correct Answer Incorrect Answer
    D [3, 9, 27, 38] and [10, 43, 82] Correct Answer Incorrect Answer
    E [3, 9, 10] and [27, 38, 43, 82] Correct Answer Incorrect Answer

    Solution

    The correct answer is D

    Practice Next
    ask-question