InterviewSolution
Saved Bookmarks
| 1. |
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 algorithmThis question was posed to me during an internship interview.This key question is from Sorting topic in chapter Sorting of Data Structures & Algorithms II |
|
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. |
|