1.

Which of the following sorting algorithm was inspired by the natural phenomenon of falling objects?(a) bogo sort(b) heap sort(c) bead sort(d) strand sortThis question was posed to me during an interview for a job.I would like to ask this question from Sorting in division Sorting of Data Structures & Algorithms II

Answer»

The correct ANSWER is (c) bead sort

For explanation: The algorithm of bead sort was INSPIRED by the natural phenomenon of FALLING objects. THUS, it is also known by the name of gravity sort.



Discussion

No Comment Found

Related InterviewSolutions