1.

What is the running time of Chan’s algorithm?(a) O(log n)(b) O(n log n)(c) O(n log h)(d) O(log h)I got this question in exam.My enquiry is from Computational Geometry topic in division Computational Geometry of Data Structures & Algorithms II

Answer»

Right choice is (c) O(n LOG h)

For explanation: The RUNNING TIME of Chan’s algorithm is calculated to be O(n log h) where h is the number of VERTICES of the convex hull.



Discussion

No Comment Found

Related InterviewSolutions