1.

What is the other name for a shell sort algorithm?(a) Diminishing increment sort(b) Diminishing decrement sort(c) Insertion sort(d) Selection sortThe question was asked in an interview.Enquiry is from Shell sort in portion Sorting of Data Structures & Algorithms II

Answer»

The correct choice is (a) Diminishing increment sort

Easy EXPLANATION - The other name for a shell sort algorithm is diminishing DECREMENT sort as the DISTANCE between COMPARISONS decreases as the algorithm runs until the LAST phase.



Discussion

No Comment Found

Related InterviewSolutions