1.

The worst case complexity of quick sort is _________(a) O(n)(b) O(log n)(c) O(n^2)(d) O(n log n)The question was asked in class test.This is a very interesting question from Algorithms topic in chapter Algorithms of Discrete Mathematics

Answer» RIGHT choice is (c) O(n^2)

For EXPLANATION: The worst CASE COMPLEXITY of QUICK sort is O(n^2).


Discussion

No Comment Found

Related InterviewSolutions