1.

Which of the following options contain the correct feature of an insertion sort algorithm?(a) anti-adaptive(b) dependable(c) stable, not in-place(d) stable, adaptiveThe question was asked in examination.The question is from Insertion sort topic in section Sorting of Data Structures & Algorithms II

Answer»

Correct answer is (d) STABLE, adaptive

Best explanation: An insertion SORT is stable, adaptive, in-place and incremental in nature.



Discussion

No Comment Found

Related InterviewSolutions