1.

Auxiliary space used by comb sort is _______(a) O(1)(b) O(n)(c) O(log n)(d) O(n log n)I got this question in an interview for internship.This key question is from Sorting topic in division Sorting of Data Structures & Algorithms II

Answer»

Right answer is (a) O(1)

The explanation is: Auxiliary space used by comb SORT is O(1) as it does not USE any extra space for MANIPULATING the input.



Discussion

No Comment Found

Related InterviewSolutions