1.

Which of the following is called the “ultimate planar convex hull algorithm”?(a) Chan’s algorithm(b) Kirkpatrick-Seidel algorithm(c) Gift wrapping algorithm(d) Jarvis algorithmI had been asked this question in an interview for job.This is a very interesting question from Computational Geometry in chapter Computational Geometry of Data Structures & Algorithms II

Answer»

Correct choice is (b) Kirkpatrick-Seidel algorithm

Easy explanation - Kirkpatrick-Seidel algorithm is called as the ultimate PLANAR CONVEX hull algorithm. Its RUNNING time is the same as that of Chan’s algorithm (i.e.) O(n LOG h).



Discussion

No Comment Found

Related InterviewSolutions