Question DSA-SORT-0012
MediumWhat extra space does standard merge sort on an array need?
- A.
O(n²)
- B.
O(log n) only
- 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
What extra space does standard merge sort on an array need?
O(n²)
O(log n) only
Sign up free to see the answer and a step-by-step explanation.
O(1)
O(n)