1.

Which of the following sorting algorithm is not in place?(a) quick sort(b) bead sort(c) cycle sort(d) heap sortThe question was asked during an online exam.I'd like to ask this question from Sorting in division Sorting of Data Structures & Algorithms II

Answer»

Correct option is (b) bead sort

To EXPLAIN: Bead sort has an AUXILIARY space COMPLEXITY of O(n2). So it is not an in PLACE sorting ALGORITHM.



Discussion

No Comment Found

Related InterviewSolutions