1.

Which of the following is not an alternative name of bogosort?(a) stupid sort(b) permutation sort(c) donkey sort(d) monkey sortThe question was posed to me in an interview.This is a very interesting question from Sorting topic in division Sorting of Data Structures & Algorithms II

Answer»

The correct option is (c) donkey sort

For EXPLANATION: BOGOSORT is also known by names LIKE stupid sort, monkey sort, permutation sort, slow sort and SHOTGUN sort.These names are particularly chosen due to its INEFFICIENT algorithm.



Discussion

No Comment Found

Related InterviewSolutions