1.

Which of the following sorting algorithms is closely related to shell sort?(a) Selection sort(b) Merge sort(c) Insertion sort(d) Bucket sortI have been asked this question during an interview for a job.I need to ask this question from Shell sort topic in chapter Sorting of Data Structures & Algorithms II

Answer»

The CORRECT CHOICE is (c) Insertion sort

To explain: Shell sort performs an insertion sort on hk independent ARRAYS. It is mainly a variation of insertion sort.



Discussion

No Comment Found

Related InterviewSolutions