Question DSA-SORT-0073
HardWhy is merge sort used for external sorting of huge files?
- A.
It needs no comparisons
- B.
It sorts in place
- C.
Sign up free to see the answer and a step-by-step explanation.
Popular companies
Prepare company by company
Hiring pattern, syllabus, past questions and mocks for each company.
All companiesPractice by subject
Sorting question
Why is merge sort used for external sorting of huge files?
It needs no comparisons
It sorts in place
Sign up free to see the answer and a step-by-step explanation.
It merges sorted runs sequentially, which suits disks that are slow at random access
It uses recursion