1.

What is the worst case complexity of quick hull?(a) O(N)(b) O(N log N)(c) O(N^2)(d) O(log N)I have been asked this question in a job interview.The doubt is from Computational Geometry in section Computational Geometry of Data Structures & Algorithms II

Answer»

Right option is (c) O(N^2)

Best explanation: The WORST CASE complexity of quickhull algorithm using divide and conquer approach is MATHEMATICALLY FOUND to be O(N^2).



Discussion

No Comment Found

Related InterviewSolutions