Question

    Which of the following sorting algorithms is best suited

    for external sorting where data is too large to fit in memory?
    A Quick Sort Correct Answer Incorrect Answer
    B Merge Sort Correct Answer Incorrect Answer
    C Heap Sort Correct Answer Incorrect Answer
    D Bubble Sort Correct Answer Incorrect Answer

    Solution

    Merge Sort is the best for external sorting, as it works well with sequential access storage like hard drives. It breaks data into smaller sorted runs and merges them efficiently.

    Practice Next

    Relevant for Exams: