1.

Which of the following is not an alternative name of permutation sort?(a) stupid sort(b) bogo sort(c) donkey sort(d) monkey sortThis question was addressed to me in an interview for job.I would like to ask this question from Sorting topic in chapter Sorting of Data Structures & Algorithms II

Answer»

Correct option is (c) DONKEY SORT

The best I can explain: Permutation sort is also known by names like stupid sort, MONKEY sort, BOGO sort, SLOW sort and shotgun sort. These names are particularly chosen due to its inefficient algorithm.



Discussion

No Comment Found

Related InterviewSolutions