Which of the following sorting algorithms has the worst time complexity of n…
2018
Which of the following sorting algorithms has the worst time complexity of n log(n)?
Answer: A. Heapsort
- A.
Heapsort
- B.
Quicksort
- C.
Insertion sort
- D.
Selection sort
Attempted by 554 students.
Show answer & explanation
Correct answer: A
Explore the full course: Mppsc Assistant Professor Computer Science Paper 2
Loading lesson…