1.

What is the average case time complexity of cube sort?(a) O(n^2)(b) O(n log n)(c) O(log n)(d) O(n)The question was asked in a national level competition.This question is from Sorting topic in division Sorting of Data Structures & Algorithms II

Answer»

Right option is (b) O(N log n)

The BEST EXPLANATION: The average case performance of cube sort is O(n log n). This is the fastest POSSIBLE complexity with a comparison based sort.



Discussion

No Comment Found

Related InterviewSolutions