Embercode
✕
Divide and ConquerQuick quiz

Closest pair

6 questions. Covers Closest pair of points.

Questions 1 to 5 of 6

  1. 1. What is the running time of the simple method that measures the distance between every pair of n points?
  2. 2. What is the running time of the divide and conquer closest pair method?
  3. 3. Why does each point in the strip need at most 7 comparisons with the points after it?
  4. 4. Why did the third example return 2.0 instead of 1.414?
  5. 5. True or False: if the strip check is left out, the method can return a distance that is too large.

5 question(s) left on this page.