+1 vote
in Data Structures & Algorithms II by (110k points)
Choose the incorrect statement about merge sort from the following?

(a) it is a comparison based sort

(b) it is an adaptive algorithm

(c) it is not an in place algorithm

(d) it is stable algorithm

This question was posed to me during an internship interview.

This key question is from Sorting topic in chapter Sorting of Data Structures & Algorithms II

1 Answer

+1 vote
by (614k points)
selected by
Best answer
Right option is (b) it is an adaptive algorithm

Explanation: Merge sort is not an adaptive sorting algorithm. This is because it takes O(n log n) time complexity irrespective of any case.

Related questions

Welcome to TalkJarvis QnA, a question-answer community website for the people by the people. On TalkJarvis QnA you can ask your doubts, curiosity, questions and whatever going in your mind either related to studies or others. Experts and people from different fields will answer.