1.

Which approach is based on computing the distance between each pair of distinct points and finding a pair with the smallest distance?(a) Brute force(b) Exhaustive search(c) Divide and conquer(d) Branch and boundThe question was asked in an online interview.My query is from Computational Geometry topic in portion Computational Geometry of Data Structures & Algorithms II

Answer»

The CORRECT answer is (a) Brute force

For explanation: Brute force is a STRAIGHT forward approach that SOLVES CLOSEST pair problem USING that algorithm.



Discussion

No Comment Found

Related InterviewSolutions