ISRO 2007 · Heap Sort & Non-Comparison Sorts
MCQ · 1 mark · Problem PROG-SORT-0049
The average case and worst case complexities for Merge sort algorithm are
- A
\(O (n^2), O (n^2)\)
- B
\(O (n^2), O (n \log_2 n)\)
- C
\(O (n \log_2 n), O (n^2)\)
- D
\(O(n \log_2 n), O (n \log_2 n)\)
Solve it on GATE DA practice →More Searching & Sorting Algorithms problems
Show the worked solution
Official GATE Answer Key: Option D.See full step-by-step discussion on GateOverflow:
https://gateoverflow.in/49624/isro2007-58
GATE DA practice: past exam problems by chapter, with worked solutions · gatedaprep.com