1.

What is the average case complexity of a quick hull algorithm?(a) O(N)(b) O(N log N)(c) O(N^2)(d) O(log N)This question was posed to me in unit test.The doubt is from Computational Geometry in portion Computational Geometry of Data Structures & Algorithms II

Answer»

Correct choice is (b) O(N log N)

For EXPLANATION: The average case complexity of quickhull ALGORITHM USING DIVIDE and conquer approach is mathematically FOUND to be O(N log N).



Discussion

No Comment Found

Related InterviewSolutions