You are given N points in a plane. Find the distance between the two closest points. Start with the straightforward answer, then optimise. In one report the candidate described brute force first, then divide and conquer; that interviewer required O(N log N). The other went straight to divide and conquer.…