+1 vote
in Data Structures & Algorithms II by (110k points)
What is the other name for a shell sort algorithm?

(a) Diminishing increment sort

(b) Diminishing decrement sort

(c) Insertion sort

(d) Selection sort

The question was asked in an interview.

Enquiry is from Shell sort in portion Sorting of Data Structures & Algorithms II

1 Answer

+1 vote
by (614k points)
selected by
 
Best 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.

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.

Categories

...